-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
722 lines (713 loc) · 38.9 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
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>
The Velvet Gourmet catering
</title>
<meta name="description"
content="Catering tailored to your needs and lifestyle. Save time and money with The Velvet Gourmet. Enjoy wholesome meals delivered right to your door. Order today!">
<link rel="icon"
type="image/x-icon"
href="icons/logo.svg">
<link rel="stylesheet"
type="text/css"
href="https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,200;0,300;0,400;0,500&display=swap">
<link rel="stylesheet"
href="styles.css">
</head>
<body>
<a href="#main"
class="skip__nav invisible">
Skip navigation
</a>
<header class="flex align-center justify-between">
<div class="header__left flex">
<div class="flex align-center">
<img src="icons/logo.svg"
alt="The Velvet Gourmet Logo. Flat coloured icons of food and cooking accessories arranged in a circle" />
<h1 class="relative c-default">
The Velvet Gourmet
</h1>
</div>
</div>
<nav class="flex align-center">
<a href="#"
class="relative">
Food Delivery
</a>
<a href="#"
class="relative">
Catering
</a>
</nav>
<div class="perspective flex align-center justify-center">
<button data-modal class="btn btn__white c-pointer flex align-center">
Contact Us
</button>
</div>
</header>
<main id="#main">
<article aria-label="Get to know our menu options"
id="tabmenu"
class="relative">
<div class="bg__beige"></div>
<div class="container">
<div id="tabmenu__wrapper"
class="flex">
<div id="tablist__wrapper">
<h2 id="tablist__label"
class="relative">
Choose your favourite
</h2>
<section role="tablist"
aria-labelledby="tablist__label"
class="tablist flex justify-center">
<button role="tab"
aria-selected="false"
aria-controls="tabpanel--1"
tabindex="0"
id="tab--1"
class="tab flex relative c-pointer js-active">
Premium menu
</button>
<button role="tab"
aria-selected="false"
aria-controls="tabpanel--2"
tabindex="0"
id="tab--2"
class="tab flex relative c-pointer">
Fitness menu
</button>
<button role="tab"
aria-selected="false"
aria-controls="tabpanel--3"
tabindex="0"
id="tab--3"
class="tab flex relative c-pointer">
Vegan menu
</button>
<button role="tab"
aria-selected="false"
aria-controls="tabpanel--4"
tabindex="0"
id="tab--4"
class="tab flex relative c-pointer">
Balanced menu
</button>
</section>
</div>
<section role="tabpanel"
aria-labelledby="tab--1"
id="tabpanel--1"
class="tabpanel relative">
<img src="img/tab/tab__1920--1.jpg"
alt="Assorted delicious grilled seafood, meat and fruits, served with multiple sauces and a bottle of wine on the wooden table"
srcset="img/tab/tab__428--1.jpg 351w,
img/tab/tab__810--1.jpg 513w,
img/tab/tab__1080--1.jpg 592w,
img/tab/tab__1366--1.jpg 812w,
img/tab/tab__1920--1.jpg 988w,
img/tab/tab__2550--1.jpg 1318w,
img/tab/tab__3800--1.jpg 1976w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 592px,
(max-width: 1367px) 812px,
(max-width: 1921px) 988px,
(max-width: 2551px) 1318px,
1976px" />
<p class="glass absolute">
In the premium menu, we use not only beautiful packaging design, but also 'haute cuisine' cooking techniques and ingredients. Red fish, seafood, fruits - a dinner at the restaurant without going out!
</p>
</section>
<section role="tabpanel"
aria-labelledby="tab--2"
id="tabpanel--2"
class="tabpanel relative">
<img src="img/tab/tab__1920--2.jpg"
alt="Assorted delicious cheese and nuts, bruschette with yogurt, pesto and bresaola, and a plate of spaghetti on the marble table"
srcset="img/tab/tab__428--2.jpg 351w,
img/tab/tab__810--2.jpg 513w,
img/tab/tab__1080--2.jpg 592w,
img/tab/tab__1366--2.jpg 812w,
img/tab/tab__1920--2.jpg 988w,
img/tab/tab__2550--2.jpg 1318w,
img/tab/tab__3800--2.jpg 1976w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 592px,
(max-width: 1367px) 812px,
(max-width: 1921px) 988px,
(max-width: 2551px) 1318px,
1976px" />
<p class="glass absolute">
The Fitness menu is for people who are into sports and being active. More steam-cooking! We ensure those essential vitamins and minerals in vegetables, meat and fruits are retained during the process.
</p>
</section>
<section role="tabpanel"
aria-labelledby="tab--3"
id="tabpanel--3"
class="tabpanel relative">
<img src="img/tab/tab__1920--3.jpg"
alt="Indonesian vegan plate of vegetables cut in small pieces with quinoa and komosa served with sauce"
srcset="img/tab/tab__428--3.jpg 351w,
img/tab/tab__810--3.jpg 513w,
img/tab/tab__1080--3.jpg 592w,
img/tab/tab__1366--3.jpg 812w,
img/tab/tab__1920--3.jpg 988w,
img/tab/tab__2550--3.jpg 1318w,
img/tab/tab__3800--3.jpg 1976w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 592px,
(max-width: 1367px) 812px,
(max-width: 1921px) 988px,
(max-width: 2551px) 1318px,
1976px" />
<p class="glass absolute">
Our special Vegan menu has a thorough selection of ingredients - a plant-based diet avoiding all animal foods such as meat, dairy, eggs and honey. Complete harmony with oneself and nature in every element!
</p>
</section>
<section role="tabpanel"
aria-labelledby="tab--4"
id="tabpanel--4"
class="tabpanel relative">
<img src="img/tab/tab__1920--4.jpg"
alt="Two dishes at the restaurant table. Grilled steak with sweet potato fries and sauces. Assorted vegetables, buckwheat and crouton, served with balsamic vinegar"
srcset="img/tab/tab__428--4.jpg 351w,
img/tab/tab__810--4.jpg 513w,
img/tab/tab__1080--4.jpg 592w,
img/tab/tab__1366--4.jpg 812w,
img/tab/tab__1920--4.jpg 988w,
img/tab/tab__2550--4.jpg 1318w,
img/tab/tab__3800--4.jpg 1976w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 592px,
(max-width: 1367px) 812px,
(max-width: 1921px) 988px,
(max-width: 2551px) 1318px,
1976px" />
<p class="glass absolute">
The "Balanced" menu is a great way to manage your diet. We balance the menu using your personal need for calories, protein, fat and carbohydrates and create a healthy and rich menu for you to enjoy.
</p>
</section>
</div>
<p class="slogan"
aria-description="Company slogan">
Live your life to the fullest!
</p>
</div>
</article>
<aside aria-label="Side panel"
id="sidepanel"
class="flex align-center justify-between">
<div class="relative c-default">
<span class="flex">
Social Media
</span>
</div>
<hr>
<a href="#"
aria-label="Instagram">
<img src="icons/instagram.svg"
alt="" />
</a>
<a href="#"
aria-label="Facebook">
<img src="icons/facebook.svg"
alt="" />
</a>
</aside>
<hr>
<article aria-label="Special Offers"
id="marketing"
class="relative">
<div class="container flex">
<section aria-label="Offer description"
id="offer">
<h2 class="title">
Limited Time Offer:
</h2>
<p>
Join a community of people free of their day-to-day routine, becoming more productive while enjoying The Velvet Gourmet couisine.
</p>
<p>
Get
<span> 20% </span>
off 1-week deliveries!
<br>
The offer is only available until 1st December.
</p>
</section>
<section aria-label="Offer timer"
id="timer">
<h2 class="title">
Time remaining:
</h2>
<div id="timer__wrapper"
class="perspective flex align-center justify-between">
<div class="flex align-center c-default">
<span id="days" class="c-default">
12
</span>
<p>days</p>
</div>
<div class="flex align-center c-default">
<span id="hours" class="c-default">
20
</span>
<p>hours</p>
</div>
<div class="flex align-center c-default">
<span id="minutes" class="c-default">
56
</span>
<p>minutes</p>
</div>
<div class=" flex align-center c-default">
<span id="seconds" class="c-default">
20
</span>
<p>seconds</p>
</div>
</div>
</section>
</div>
</article>
<hr>
<article aria-label="The Velvet Gourmet's concept"
id="concept"
class="relative">
<div id="concept__main--container"
class="container relative flex justify-between">
<article aria-labelledby="concept__main--label"
id="concept__main">
<h2 id="concept__main--label"
class="title">
Thoughtfull approach to catering
</h2>
<p>
Our main concept is proper nutrition. It can and should be simple and tasty. We are not just another food delivery, we are a service, that makes your life healthier and easier while also saving your time! We took on all the calculations of calorie content, portions and other important, but boring aspects, so that you get only nutritious, varied and fine cooked food that we bring right under the door.
</p>
<h3>
Quick and healthy
</h3>
<p>
Cooking at home takes a lot of effort, time and nerves. With our scheduled morning delivery you get meals for the whole day, so that you don't need to adjust and waste time that you could spend on creative work, meetings or training during the day. And be sure of the quality of the product!
</p>
<h3>
The right diet
</h3>
<p>
We have developed a formula to proper nutrition, taking into account the nutrient balance, correct ingredient preparation and finest taste in order to complement your physiology and lifestyle.
</p>
</article>
<section aria-label="Call request with a modal form">
<button data-modal class="btn btn__call absolute c-pointer flex align-center">
<img src="icons/call.png"
alt="Green circle with a phone icon" />
</button>
<span id="concept__call--label"
class="absolute">
Request a Call
</span>
<aside aria-label="Modal window with contact form"
id="modal"
class="hide">
<div class="modal__container">
<div class="modal__wrapper glass relative">
<form method="post"
action="/form"
autocomplete="off"
id="modal__form">
<p data-close class="modal__close absolute c-pointer">
✕
</p>
<fieldset class="flex">
<legend>
Provide your contact information and we will call as quickly as possible!
</legend>
<label>
Name
<input type="text"
name="name"
class="modal__input btn flex align-center"
required />
</label>
<label>
Phone number
<input type="tel"
name="phone"
class="modal__input btn flex align-center"
required />
</label>
<button class="btn btn__dark flex c-pointer align-center">
Submit
</button>
</fieldset>
</form>
</div>
</div>
</aside>
</section>
</div>
<div id="concept__gallery--container"
class="container flex justify-between">
<section aria-label="Image gallery"
id="concept__gallery"
class="flex">
<div id="concept__gallery--counter"
class="absolute">
<span id="slide__current"
class="relative c-default">
03
</span>
<span class="c-default">
/
</span>
<span id="slide__total"
class="c-default">
04
</span>
</div>
<div id="concept__gallery--nav"
class="flex align-center justify-between absolute">
<button id="concept__gallery--btn-left"
class="relative flex align-center c-pointer">
<img src="icons/back.png"
alt="Previous image"
class="relative" />
<div class="bg__gallery--nav absolute"></div>
</button>
<button id="concept__gallery--btn-right"
class="relative flex align-center c-pointer">
<img src="icons/forward.png"
alt="Next image"
class="relative" />
<div class="bg__gallery--nav absolute"></div>
</button>
</div>
<div id="concept__gallery--slider">
<div id="concept__gallery--wrapper">
<div class="concept__gallery--slide">
<img src="img/slider/slider__1920--1.jpg"
class="absolute"
alt="Dining hall with designer lamps and tables with salads, porridge, boiled eggs, baguettes and drinks"
srcset="img/slider/slider__428--1.jpg 351w,
img/slider/slider__810--1.jpg 513w,
img/slider/slider__1080--1.jpg 402w,
img/slider/slider__1366--1.jpg 480w,
img/slider/slider__1920--1.jpg 648w,
img/slider/slider__2550--1.jpg 1000w,
img/slider/slider__3800--1.jpg 1704w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 402px,
(max-width: 1367px) 480px,
(max-width: 1921px) 648px,
(max-width: 2551px) 1000px,
1704px" />
</div>
<div class="concept__gallery--slide">
<img src="img/slider/slider__1920--2.jpg"
class="absolute"
alt="Chef adding sauce to multiple plates with grilled lobster"
srcset="img/slider/slider__428--2.jpg 351w,
img/slider/slider__810--2.jpg 513w,
img/slider/slider__1080--2.jpg 402w,
img/slider/slider__1366--2.jpg 480w,
img/slider/slider__1920--2.jpg 648w,
img/slider/slider__2550--2.jpg 1000w,
img/slider/slider__3800--2.jpg 1704w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 402px,
(max-width: 1367px) 480px,
(max-width: 1921px) 648px,
(max-width: 2551px) 1000px,
1704px" />
</div>
<div class="concept__gallery--slide">
<img src="img/slider/slider__1920--3.jpg"
class="absolute"
alt="Top view of several healthy food dishes in plastic boxes for catering"
srcset="img/slider/slider__428--3.jpg 351w,
img/slider/slider__810--3.jpg 513w,
img/slider/slider__1080--3.jpg 402w,
img/slider/slider__1366--3.jpg 480w,
img/slider/slider__1920--3.jpg 648w,
img/slider/slider__2550--3.jpg 1000w,
img/slider/slider__3800--3.jpg 1704w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 402px,
(max-width: 1367px) 480px,
(max-width: 1921px) 648px,
(max-width: 2551px) 1000px,
1704px" />
</div>
<div class="concept__gallery--slide">
<img src="img/slider/slider__1920--4.jpg"
class="absolute"
alt="Top view of fruits around a catering plastic box with grilled chicken and vegetables, and saffron rice"
srcset="img/slider/slider__428--4.jpg 351w,
img/slider/slider__810--4.jpg 513w,
img/slider/slider__1080--4.jpg 402w,
img/slider/slider__1366--4.jpg 480w,
img/slider/slider__1920--4.jpg 648w,
img/slider/slider__2550--4.jpg 1000w,
img/slider/slider__3800--4.jpg 1704w"
sizes="(max-width: 429px) 351px,
(max-width: 811px) 513px,
(max-width: 1081px) 402px,
(max-width: 1367px) 480px,
(max-width: 1921px) 648px,
(max-width: 2551px) 1000px,
1704px" />
</div>
</div>
</div>
</section>
</div>
</article>
<hr>
<article id="calc"
aria-labelledby="calc__label">
<div class="container">
<h2 id="calc__label"
class="title">Calculate your personal need for calories</h2>
<img src="icons/logo.svg"
alt=""
class="bg__logo absolute">
<div id="calc__wrapper"
class="glass">
<form method="post"
action="/form"
autocomplete="off"
class="flex"
aria-label="User data for calculation"
aria-description="Select one of the options in case of radio buttons and provide your physical parameters to calculate daily calorie need">
<fieldset id="calc__small"
class="relative flex">
<legend class="subtitle">
Sex assigned at birth
</legend>
<label class="flex align-center">
Female
<input type="radio"
id="input__female"
name="input__calc--sex"
value="female"
class="relative c-pointer flex align-center" />
</label>
<label class="flex align-center">
Male
<input type="radio"
id="input__male"
name="input__calc--sex"
value="male"
class="relative c-pointer flex align-center" />
</label>
</fieldset>
<fieldset id="calc__big"
class="relative flex">
<legend class="subtitle">
Your constitution
</legend>
<label class="flex align-center">
Height (cm)
<input type="text"
id="input__height"
name="input__calc--const-height"
inputmode="numeric"
class="c-pointer flex align-center" />
</label>
<label class="flex align-center">
Weight (kg)
<input type="text"
id="input__weight"
name="input__calc--const-weight"
inputmode="numeric"
class="c-pointer flex align-center" />
</label>
<label class="flex align-center">
Age
<input type="text"
id="input__age"
name="input__calc--const-age"
inputmode="numeric"
class="c-pointer flex align-center" />
</label>
</fieldset>
<fieldset id="calc__medium"
class="relative flex">
<legend class="subtitle">
Choose your physical activity
</legend>
<input type="range"
id="input__activity"
name="input__datalist"
list="activity__options"
min="1.2"
max="1.9"
step="0.175" />
<datalist id="activity__datalist">
<option value="1.2"
label="Sedentary"
class="hide">
</option>
<option value="1.375"
label="Light Activity"
class="hide">
</option>
<option value="1.55"
label="Moderate Activity"
class="hide">
</option>
<option value="1.725"
label="High Activity"
class="hide">
</option>
<option value="1.9"
label="Vigorous"
class="hide">
</option>
</datalist>
</fieldset>
</form>
<hr>
<section aria-label="Calculation result"
id="calc__total"
class="flex align-center justify-between">
<p class="subtitle">
Your daily calorie rate:
</p>
<p class="calc__result flex align-center relative">
<span>2700</span>
kcal
</p>
</section>
</div>
</div>
</article>
<article aria-labelledby="menu__label"
id="menu"
class="flex relative">
<div class="bg__beige"></div>
<h2 id="menu__label"
class="title">
Our bestseller menus
</h2>
<div id="menu__wrapper">
<div class="container perspective flex">
<!--- dynamically generated menu cards -->
</div>
</div>
</article>
</main>
<footer class="footer">
<div class="container flex align-center">
<section aria-label="Copyright & reference"
class="copyright flex">
<p class="c-default">
<a href="#"
target="_blank"
class="reference relative">
The Velvet Gourmet
</a>
</p>
<p class="c-default">
Copyright
<span class="c-default">
©
</span>
2022
</p>
<p class="c-default">
All Rights Reserved
</p>
<p class="c-default">
Icons by
<a href="https://icons8.com"
target="_blank"
class="reference relative">
Icons8
</a>
</p>
</section>
<section aria-label="Contact information"
class="social flex">
<a href="tel:1-800-555-0701"
class="flex align-center relative">
<img src="icons/phone.svg"
alt="" />
<span class="relative">
1-800-555-0701
</span>
</a>
<a href="mailto:inof@thevelvetgourmet.com"
target="_blank"
class="flex align-center relative">
<img src="icons/mail.svg"
alt="" />
<span class="relative">
info@velvetgourmet.com
</span>
</a>
<a href="#"
class="flex align-center relative">
<img src="icons/instagram.svg"
alt="" />
<span class="relative">
instagram
</span>
</a>
<a href="#"
class="flex align-center relative">
<img src="icons/facebook.svg"
alt="" />
<span class="relative">
facebook
</span>
</a>
</section>
</div>
<section aria-label="Subscription form"
id="subscription">
<div class="container">
<form method="post"
action="/form"
autocomplete="off"
class="flex">
<fieldset class="flex">
<legend>
Get a free 1-day pass for a menu of your choice by subscribing to our newsletter
</legend>
<label class="flex align-center">
Name
<input type="text"
name="name"
required />
</label>
<label class="flex align-center">
E-mail
<input type="mail"
name="mail"
required />
</label>
<button class="btn btn__sub c-pointer flex align-center">
Subscribe
</button>
</fieldset>
</form>
</div>
</section>
</footer>
<script src="port.js"></script>
<script src="main.js"></script>
</body>
</html>