3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6
+ < meta
7
+ name ="description "
8
+ content ="Omnifood is an AI-powered food subscription that will make you eat healthy again, 365 days per year. It's tailored to your personal tastes and nutritional needs. "
9
+ />
6
10
7
11
<!-- Always include this line of code!!! -->
8
12
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
9
13
14
+ < link rel ="shortcut icon " href ="img/favicon.png " type ="image/x-icon " />
15
+ < link rel ="apple-touch-icon " href ="img/apple-touch-icon.png " />
16
+ < link rel ="manifest " href ="manifest.webmanifest " />
10
17
< link rel ="preconnect " href ="https://fonts.gstatic.com " />
11
18
< link
12
19
href ="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap "
26
33
src ="https://unpkg.com/ionicons@5.4.0/dist/ionicons/ionicons.js "
27
34
> </ script >
28
35
29
- < title > Omnifood</ title >
36
+ < script
37
+ defer
38
+ src ="https://unpkg.com/smoothscroll-polyfill@0.4.4/dist/smoothscroll.min.js "
39
+ > </ script >
40
+ < script defer src ="js/script.js "> </ script >
41
+
42
+ < title > Omnifood — Never cook again!</ title >
30
43
</ head >
31
44
< body >
32
45
< header class ="header ">
36
49
37
50
< nav class ="main-nav ">
38
51
< ul class ="main-nav-list ">
39
- < li > < a class ="main-nav-link " href ="# "> How it works</ a > </ li >
40
- < li > < a class ="main-nav-link " href ="# "> Meals</ a > </ li >
41
- < li > < a class ="main-nav-link " href ="# "> Testimonials</ a > </ li >
42
- < li > < a class ="main-nav-link " href ="# "> Pricing</ a > </ li >
43
- < li > < a class ="main-nav-link nav-cta " href ="# "> Try for free</ a > </ li >
52
+ < li > < a class ="main-nav-link " href ="#how "> How it works</ a > </ li >
53
+ < li > < a class ="main-nav-link " href ="#meals "> Meals</ a > </ li >
54
+ < li >
55
+ < a class ="main-nav-link " href ="#testimonials "> Testimonials</ a >
56
+ </ li >
57
+ < li > < a class ="main-nav-link " href ="#pricing "> Pricing</ a > </ li >
58
+ < li > < a class ="main-nav-link nav-cta " href ="#cta "> Try for free</ a > </ li >
44
59
</ ul >
45
60
</ nav >
46
61
@@ -62,10 +77,11 @@ <h1 class="heading-primary">
62
77
eat healthy again. Tailored to your personal tastes and
63
78
nutritional needs.
64
79
</ p >
65
- < a href ="# " class ="btn btn--full margin-right-sm "
80
+ < a href ="#cta " class ="btn btn--full margin-right-sm "
66
81
> Start eating well</ a
67
82
>
68
- < a href ="# " class ="btn btn--outline "> Learn more ↓</ a >
83
+
84
+ < a href ="#how " class ="btn btn--outline "> Learn more ↓</ a >
69
85
< div class ="delivered-meals ">
70
86
< div class ="delivered-imgs ">
71
87
< img src ="img/customers/customer-1.jpg " alt ="Customer photo " />
@@ -81,11 +97,16 @@ <h1 class="heading-primary">
81
97
</ div >
82
98
</ div >
83
99
< div class ="hero-img-box ">
84
- < img
85
- src ="img/hero.png "
86
- class ="hero-img "
87
- alt ="Woman enjoying food, meals in storage container, and food bowls on a table "
88
- />
100
+ < picture >
101
+ < source srcset ="img/hero.webp " type ="image/webp " />
102
+ < source srcset ="img/hero-min.png " type ="image/png " />
103
+
104
+ < img
105
+ src ="img/hero-min.png "
106
+ class ="hero-img "
107
+ alt ="Woman enjoying food, meals in storage container, and food bowls on a table "
108
+ />
109
+ </ picture >
89
110
</ div >
90
111
</ div >
91
112
</ section >
@@ -109,7 +130,7 @@ <h2 class="heading-featured-in">As featured in</h2>
109
130
</ div >
110
131
</ section >
111
132
112
- < section class ="section-how ">
133
+ < section class ="section-how " id =" how " >
113
134
< div class ="container ">
114
135
< span class ="subheading "> How it works</ span >
115
136
< h2 class ="heading-secondary ">
@@ -181,7 +202,7 @@ <h3 class="heading-tertiary">Receive meals at convenient time</h3>
181
202
</ div >
182
203
</ section >
183
204
184
- < section class ="section-meals ">
205
+ < section class ="section-meals " id =" meals " >
185
206
< div class ="container center-text ">
186
207
< span class ="subheading "> Meals</ span >
187
208
< h2 class ="heading-secondary ">
@@ -301,7 +322,7 @@ <h3 class="heading-tertiary">Works with any diet:</h3>
301
322
</ div >
302
323
</ section >
303
324
304
- < section class ="section-testimonials ">
325
+ < section class ="section-testimonials " id =" testimonials " >
305
326
< div class ="testimonials-container ">
306
327
< span class ="subheading "> Testimonials</ span >
307
328
< h2 class ="heading-secondary "> Once you try it, you can't go back</ h2 >
@@ -450,7 +471,7 @@ <h2 class="heading-secondary">Once you try it, you can't go back</h2>
450
471
</ div >
451
472
</ section >
452
473
453
- < section class ="section-pricing ">
474
+ < section class ="section-pricing " id =" pricing " >
454
475
< div class ="container ">
455
476
< span class ="subheading "> Pricing</ span >
456
477
< h2 class ="heading-secondary ">
@@ -560,7 +581,7 @@ <h2 class="heading-secondary">
560
581
</ div >
561
582
</ section >
562
583
563
- < section class ="section-cta ">
584
+ < section class ="section-cta " id =" cta " >
564
585
< div class ="container ">
565
586
< div class ="cta ">
566
587
< div class ="cta-text-box ">
@@ -571,13 +592,14 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
571
592
first meal is on us!
572
593
</ p >
573
594
574
- < form class ="cta-form " action =" # " >
595
+ < form class ="cta-form " name =" sign-up " netlify >
575
596
< div >
576
597
< label for ="full-name "> Full Name</ label >
577
598
< input
578
599
id ="full-name "
579
600
type ="text "
580
601
placeholder ="John Smith "
602
+ name ="full-name "
581
603
required
582
604
/>
583
605
</ div >
@@ -588,13 +610,14 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
588
610
id ="email "
589
611
type ="email "
590
612
placeholder ="me@example.com "
613
+ name ="email "
591
614
required
592
615
/>
593
616
</ div >
594
617
595
618
< div >
596
619
< label for ="select-where "> Where did you hear from us?</ label >
597
- < select id ="select-where " required >
620
+ < select id ="select-where " name =" select-where " required >
598
621
< option value =""> Please choose one option:</ option >
599
622
< option value ="friends "> Friends and family</ option >
600
623
< option value ="youtube "> YouTube video</ option >
@@ -646,7 +669,8 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
646
669
</ ul >
647
670
648
671
< p class ="copyright ">
649
- Copyright © 2027 by Omnifood, Inc. All rights reserved.
672
+ Copyright © < span class ="year "> 2027</ span > by Omnifood, Inc.
673
+ All rights reserved.
650
674
</ p >
651
675
</ div >
652
676
0 commit comments