-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
613 lines (612 loc) · 24.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Anemone | Home page</title>
<link
href="./images/favicon/favicon_light.ico"
rel="icon"
media="(prefers-color-scheme: light)"
/>
<link
href="./images/favicon/favicon_dark.ico"
rel="icon"
media="(prefers-color-scheme: dark)"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/1.1.0/modern-normalize.min.css"
integrity="sha512-wpPYUAdjBVSE4KJnH1VR1HeZfpl1ub8YT/NKx4PuQ5NmX2tKuGu6U/JRp5y+Y8XG2tV+wKQpNHVUX03MfMFn9Q=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/main.css" />
<script type="module" src="./js/index.js" defer></script>
</head>
<body class="body">
<header class="container header">
<a href="index.html" aria-label="Home">
<svg class="header__logo" role="presentation">
<use href="./images/icons/icons.svg#logo" alt="Anemone logo"></use>
</svg>
</a>
<div class="skip-links">
<a href="#about" class="skip-link">Go to About us</a>
<a href="#store" class="skip-link">Go to Store</a>
<a href="#delivery" class="skip-link">Go to Delivery</a>
<a href="#blog" class="skip-link">Go to Blog</a>
<a href="#footer" class="skip-link">Go to Footer</a>
</div>
<nav class="header__nav">
<ul class="header__nav-list">
<li><a href="#about" class="header__nav-link">About us</a></li>
<li><a href="#store" class="header__nav-link">Store</a></li>
<li><a href="#delivery" class="header__nav-link">Delivery</a></li>
<li><a href="#blog" class="header__nav-link">Blog</a></li>
</ul>
</nav>
<div class="header__icons">
<svg class="header__icon contactButton" width="24" height="24">
<use
href="./images/icons/icons.svg#icon_phone"
alt="Phone icon"
></use>
</svg>
<svg
class="header__icon header__icon-mobile mobileButton"
width="24"
height="24"
>
<use
href="./images/icons/icons.svg#icon_menu"
alt="Hamburger menu icon"
></use>
</svg>
</div>
<div class="header-modal mobileOverlay is-hidden">
<div class="header-modal__content mobileContent">
<svg
class="header-modal__icon mobileExitButton"
role="button"
aria-label="Close modal"
>
<use
href="./images/icons/icons.svg#icon_close"
alt="Cancel icon"
></use>
</svg>
<a href="#" class="mobileExitButton">
<svg class="header-modal__logo" role="presentation">
<use
href="./images/icons/icons.svg#logo"
alt="Anemone logo"
></use>
</svg>
</a>
<nav>
<ul class="header-modal__nav">
<li>
<a href="#about" class="header-modal__nav-link mobileExitButton"
>About us</a
>
</li>
<li>
<a href="#store" class="header-modal__nav-link mobileExitButton"
>Store</a
>
</li>
<li>
<a
href="#delivery"
class="header-modal__nav-link mobileExitButton"
>Delivery</a
>
</li>
<li>
<a href="#blog" class="header-modal__nav-link mobileExitButton"
>Blog</a
>
</li>
</ul>
</nav>
</div>
</div>
<div class="overlay-contact contactOverlay is-hidden">
<div class="modal-contact contactContent">
<svg class="modal-contact__icon contactExitButton">
<use href="./images/icons/icons.svg#cancel" alt="Cancel icon"></use>
</svg>
<h2 class="modal-contact__title">Contact us</h2>
<p class="modal-contact__text">
If you have any additional questions or you want to clarify
something before you make an order please fill in your contact
details. We will call you back.
</p>
<form action="" class="modal-contact__form">
<label for="name" class="modal-contact__form-label">Name</label>
<input type="text" class="modal-contact__form-input" />
<label for="email" class="modal-contact__form-label">Email</label>
<input type="email" class="modal-contact__form-input" />
<button
type="button"
class="button-rectangle modal-contact__form-button thanksButton"
>
Send
</button>
</form>
</div>
</div>
<div class="overlay-thanks thanksOverlay is-hidden">
<div class="modal-thanks thanksContent">
<svg class="modal-thanks__icon thanksExitButton">
<use href="./images/icons/icons.svg#cancel" alt="Cancel icon"></use>
</svg>
<img
alt="Minimalistic floral graphic"
src="./images/modals/thanks_mobile.png"
srcset="
./images/modals/thanks_mobile.png 188w,
./images/modals/[email protected] 376w,
./images/modals/thanks_tablet.png 266w,
./images/modals/[email protected] 532w
"
sizes="(min-width: 768px) 266w, 188w"
class="modal-thanks__image"
/>
<h2 class="modal-thanks__title">Thank you!</h2>
<p class="modal-thanks__text">
We have received your contact details and will reach you soon.
</p>
<button
type="button"
class="button-rectangle modal-thanks__button thanksExitButton"
>
Continue
</button>
</div>
</div>
</header>
<main class="main">
<section class="container banner">
<div class="banner__elements">
<h2 class="banner__text">flower<br />studio</h2>
<img
alt="Anemone flower"
src="./images/banner/banner_mobile.png"
srcset="
./images/banner/banner_mobile.png 145w,
./images/banner/[email protected] 290w,
./images/banner/banner_tablet.png 390w,
./images/banner/[email protected] 780w
"
sizes="(min-width: 768px) 390px, 145px"
class="banner__image"
/>
<svg class="banner__icon" role="presentation">
<use
href="./images/icons/icons.svg#shop_button"
alt="Shop now button"
></use>
</svg>
</div>
<h1 class="banner__title">Anemone</h1>
</section>
<section class="container about" id="about">
<h2 class="about__title title">About</h2>
<div class="about__elements">
<p class="about__text">
We are a minimalistic flower studio. We love people and flowers.
Therefore, every day we give people the beauty and joy creating
stylish and modern masterpieces. Every bouquet we create is unique
as you are.
</p>
<img
alt="Two pink flowers"
src="./images/about/about_mobile.png"
srcset="
./images/about/about_mobile.png 288w,
./images/about/[email protected] 576w,
./images/about/about_tablet.png 344w,
./images/about/[email protected] 688w,
./images/about/about_desktop.png 632w,
./images/about/[email protected] 1264w
"
sizes="(min-width: 991px) 632px, (min-width: 768px) and (max-width: 991px) 344px, 288px"
class="about__image"
/>
</div>
</section>
<section class="container store" id="store">
<h2 class="store__title title">Store</h2>
<div class="store__content">
<ul class="store__elements">
<li class="store__element">
<img
alt="Orange flowers bouquet"
src="./images/store/store1_mobile.png"
srcset="
./images/store/store1_mobile.png 136w,
./images/store/[email protected] 272w,
./images/store/store1_tablet.png 344w,
./images/store/[email protected] 688w,
./images/store/store1_desktop.png 1200w,
./images/store/[email protected] 1264w
"
sizes="(min-width: 991px) 1200px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="store__image"
/>
<h3 class="store__titles">compliments</h3>
<h4 class="store__prices">from $15</h4>
</li>
<li class="store__element">
<img
alt="Pink and white flowers bouquet"
src="./images/store/store2_mobile.png"
srcset="
./images/store/store2_mobile.png 136w,
./images/store/[email protected] 272w,
./images/store/store2_tablet.png 344w,
./images/store/[email protected] 688w,
./images/store/store2_desktop.png 1200w,
./images/store/[email protected] 1264w
"
sizes="(min-width: 991px) 1200px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="store__image"
/>
<h3 class="store__titles">bouquets size S</h3>
<h4 class="store__prices">from $25</h4>
</li>
<li class="store__element">
<img
alt="Blue flowers bouquet"
src="./images/store/store3_mobile.png"
srcset="
./images/store/store3_mobile.png 136w,
./images/store/[email protected] 272w,
./images/store/store3_tablet.png 344w,
./images/store/[email protected] 688w,
./images/store/store3_desktop.png 1200w,
./images/store/[email protected] 1264w
"
sizes="(min-width: 991px) 1200px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="store__image"
/>
<h3 class="store__titles">bouquets size M</h3>
<h4 class="store__prices">from $45</h4>
</li>
<li class="store__element">
<img
alt="Yellow flowers bouquet"
src="./images/store/store4_mobile.png"
srcset="
./images/store/store4_mobile.png 136w,
./images/store/[email protected] 272w,
./images/store/store4_tablet.png 344w,
./images/store/[email protected] 688w,
./images/store/store4_desktop.png 1200w,
./images/store/[email protected] 1264w
"
sizes="(min-width: 991px) 1200px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="store__image"
/>
<h3 class="store__titles">bouquets size L</h3>
<h4 class="store__prices">from $60</h4>
</li>
</ul>
<button type="button" class="store__button button contactButton">
Order flowers
</button>
</div>
</section>
<section class="delivery" id="delivery">
<div class="container">
<h2 class="delivery__title title">Delivery</h2>
<ol class="delivery__list">
<li class="delivery__step">
Choose your bouquet and make an order on website
</li>
<li class="delivery__step">
Wait for the call to clarify the details of the order. You can pay
online or to the courier
</li>
<li class="delivery__step">
Wait for the delivery at the selected time or pick up the order
from the store
</li>
<li class="delivery__step">Make someone happy or enjoy yourself</li>
</ol>
</div>
<img
alt="Poppies bouquet"
src="./images/delivery/delivery_mobile.png"
srcset="
./images/delivery/delivery_mobile.png 320w,
./images/delivery/[email protected] 640w,
./images/delivery/delivery_tablet.png 768w,
./images/delivery/[email protected] 1536w,
./images/delivery/delivery_desktop.png 1280w,
./images/delivery/[email protected] 2560w
"
sizes="(min-width: 991px) 1280px, (min-width: 768px) and (max-width: 991px) 768px, 320px"
class="delivery__image"
/>
</section>
<section class="container blog" id="blog">
<h2 class="blog__title title">Blog</h2>
<div class="blog__elements">
<div class="blog__slider">
<ul class="blog__posts">
<li class="blog__post">
<img
alt="Blog post"
src="./images/blog/blog1_mobile.png"
srcset="
./images/blog/blog1_mobile.png 136w,
./images/blog/[email protected] 272w,
./images/blog/blog1_tablet.png 344w,
./images/blog/[email protected] 688w,
./images/blog/blog1_desktop.png 390w,
./images/blog/[email protected] 780w
"
sizes="(min-width: 991px) 390px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="blog__image"
/>
</li>
<li class="blog__post">
<img
alt="Blog post"
src="./images/blog/blog2_mobile.png"
srcset="
./images/blog/blog2_mobile.png 136w,
./images/blog/[email protected] 272w,
./images/blog/blog2_tablet.png 344w,
./images/blog/[email protected] 688w,
./images/blog/blog2_desktop.png 390w,
./images/blog/[email protected] 780w
"
sizes="(min-width: 991px) 390px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="blog__image"
/>
</li>
<li class="blog__post">
<img
alt="Blog post"
src="./images/blog/blog3_mobile.png"
srcset="
./images/blog/blog3_mobile.png 136w,
./images/blog/[email protected] 272w,
./images/blog/blog3_tablet.png 344w,
./images/blog/[email protected] 688w,
./images/blog/blog3_desktop.png 390w,
./images/blog/[email protected] 780w
"
sizes="(min-width: 991px) 390px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="blog__image"
/>
</li>
<li class="blog__post">
<img
alt="Blog post"
src="./images/blog/blog4_mobile.png"
srcset="
./images/blog/blog4_mobile.png 136w,
./images/blog/[email protected] 272w,
./images/blog/blog4_tablet.png 344w,
./images/blog/[email protected] 688w,
./images/blog/blog4_desktop.png 390w,
./images/blog/[email protected] 780w
"
sizes="(min-width: 991px) 390px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="blog__image"
/>
</li>
<li class="blog__post">
<img
alt="Blog post"
src="./images/blog/blog5_mobile.png"
srcset="
./images/blog/blog5_mobile.png 136w,
./images/blog/[email protected] 272w,
./images/blog/blog5_tablet.png 344w,
./images/blog/[email protected] 688w,
./images/blog/blog5_desktop.png 390w,
./images/blog/[email protected] 780w
"
sizes="(min-width: 991px) 390px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="blog__image"
/>
</li>
<li class="blog__post">
<img
alt="Blog post"
src="./images/blog/blog6_mobile.png"
srcset="
./images/blog/blog6_mobile.png 136w,
./images/blog/[email protected] 272w,
./images/blog/blog6_tablet.png 344w,
./images/blog/[email protected] 688w,
./images/blog/blog6_desktop.png 390w,
./images/blog/[email protected] 780w
"
sizes="(min-width: 991px) 390px, (min-width: 768px) and (max-width: 991px) 344px, 136px"
class="blog__image"
/>
</li>
</ul>
</div>
<div class="blog__arrows">
<div type="button" class="blog__arrow blog__arrow-previous" aria-label="Previous photo" tabindex="0">
<svg class="blog__icon" role="presentation">
<use
href="./images/icons/icons.svg#arrow"
alt="Previous image button"
></use>
</svg>
</div>
<div type="button" class="blog__arrow blog__arrow-next" aria-label="Next photo" tabindex="0">
<svg class="blog__icon" role="presentation">
<use
href="./images/icons/icons.svg#arrow"
alt="Next image button"
></use>
</svg>
</div>
</div>
<div class="blog__newsletter">
<h3 class="blog__subtitle">Follow to our newsletter</h3>
<button type="button" class="button newsletterButton">
Subscribe
</button>
<div class="overlay-newsletter newsletterOverlay is-hidden">
<div class="modal-newsletter newsletterContent">
<svg class="modal-newsletter__icon newsletterExitButton">
<use
href="./images/icons/icons.svg#cancel"
alt="Cancel icon"
></use>
</svg>
<img
alt="Orange flowers bouquet"
src="./images/modals/newsletter_mobile.png"
srcset="
./images/modals/newsletter_mobile.png 272w,
./images/modals/[email protected] 544w,
./images/modals/newsletter_tablet.png 588w,
./images/modals/[email protected] 1176w,
./images/modals/newsletter_desktop.png 428w,
./images/modals/[email protected] 586w
"
sizes="(min-width: 991px) 428px, (min-width: 768px) and (max-width: 991px) 588px, 272px"
class="modal-newsletter__image"
/>
<div class="modal-newsletter__info">
<h3 class="modal-newsletter__title">
Follow to our newsletter
</h3>
<p class="modal-newsletter__text">
Be the first to get exclusive offers and the latest news on
our product directly in your box.
</p>
<form action="" class="modal-newsletter__form">
<label for="email" class="modal-newsletter__form-label"
>Email</label
>
<input
type="email"
id="email"
name="email"
required
placeholder="Your email"
class="modal-newsletter__form-input"
/>
<button type="submit" class="button-rectangle thanksButton">
Subscribe
</button>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="footer" id="footer">
<div class="container footer__content">
<a href="index.html" class="footer__logo" aria-label="Home">
<svg class="footer__icon" role="presentation">
<use href="./images/icons/icons.svg#logo" alt="Anemone logo"></use>
</svg>
</a>
<div class="footer__elements">
<div class="footer__navigation">
<h2 class="footer__subtitle">Navigation</h2>
<nav>
<ul>
<li class="footer__info"><a href="index.html">Anemone</a></li>
<li class="footer__info"><a href="#about">About us</a></li>
<li class="footer__info"><a href="#store">Store</a></li>
<li class="footer__info"><a href="#delivery">Delivery</a></li>
<li class="footer__info"><a href="#blog">Blog</a></li>
</ul>
</nav>
</div>
<div class="footer__hours">
<h2 class="footer__subtitle">Opening hours</h2>
<p class="footer__info">Every day<br />9:00 - 22:00</p>
</div>
<div class="footer__contact">
<h2 class="footer__subtitle">Contacts</h2>
<ul>
<li class="footer__info">
<a href="tel:+48123456789">+48 123 456 789</a>
</li>
<li class="footer__info">
<a href="mailto:[email protected]"
>
</li>
<li class="footer__info">
<address>Reitarska Street, 11<br />Kyiv, Ukraine</address>
</li>
</ul>
</div>
<ul class="footer__socials">
<li>
<a href="https://www.facebook.com" aria-label="Facebook">
<svg class="footer__social-icon" role="presentation">
<use
href="./images/icons/icons.svg#facebook"
alt="Facebook logo"
></use>
</svg>
</a>
</li>
<li>
<a href="https://www.instagram.com/" aria-label="Instagram">
<svg class="footer__social-icon" role="presentation">
<use
href="./images/icons/icons.svg#instagram"
alt="Instagram logo"
></use>
</svg>
</a>
</li>
</ul>
</div>
<ul class="footer__socials-alt">
<li>
<a href="https://www.facebook.com" aria-label="Facebook">
<svg class="footer__social-icon" role="presentation">
<use
href="./images/icons/icons.svg#facebook"
alt="Facebook logo"
></use>
</svg>
</a>
</li>
<li>
<a href="https://www.instagram.com/" aria-label="Instagram">
<svg class="footer__social-icon" role="presentation">
<use
href="./images/icons/icons.svg#instagram"
alt="Instagram logo"
></use>
</svg>
</a>
</li>
</ul>
</div>
</footer>
</body>
</html>