-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
767 lines (720 loc) · 28.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
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- 出現在搜尋引擎的描述 👇 -->
<meta name="description" content="Omnifood is an AI-powered food sbuscription that will make you eat healthy again, 365 days per year. It's tailored to your personal tastes and nutritional needs.">
<!-- RWD一定需要用到的設定 👇 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- 原始的favicon.png尺寸為512px * 512px,我在windows10使用小畫家3D調整成64px * 64px -->
<link rel="icon" href="./img/favicon.png">
<!-- apple -->
<link rel="apple-touch-icon" href="./img/apple-touch-icon.png">
<!-- 安卓 -->
<link rel="manifest" href="./manifest.webmanifest">
<link rel="stylesheet" href="./css/general.css" />
<link rel="stylesheet" href="./css/style.css" />
<link rel="stylesheet" href="./css/queries.css" />
<!-- 以下兩個script是因為使用ionicons的icon所引用 -->
<script
type="module"
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"
></script>
<script
nomodule
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"
></script>
<!-- 修復 -->
<script
defer
src="https://unpkg.com/smoothscroll-polyfill@0.4.4/dist/smoothscroll.min.js"
></script>
<!-- defer 可以讓html渲染的同時將js非同步載入,待渲染完成後執行。(也就是說不用像以前把js寫到body最下面了) -->
<script defer src="./js/script.js"></script>
<title>Omnifood — Never cook again!</title>
</head>
<body>
<header class="header">
<a href="#">
<img src="./img/omnifood-logo.png" alt="Omnifood logo" class="logo" />
</a>
<nav class="main-nav">
<ul class="main-nav-list">
<li><a class="main-nav-link" href="#how">How it works</a></li>
<li><a class="main-nav-link" href="#meals">Meals</a></li>
<li>
<a class="main-nav-link" href="#testimonials">Testimonials</a>
</li>
<li><a class="main-nav-link" href="#pricing">Pricing</a></li>
<li><a class="main-nav-link nav-cta" href="#cta">Try for free</a></li>
</ul>
</nav>
<!-- 手機才會出現的DOM -->
<button class="btn-mobile-nav">
<ion-icon class="icon-mobile-nav" name="menu-outline"></ion-icon>
<ion-icon class="icon-mobile-nav" name="close-outline"></ion-icon>
</button>
</header>
<main>
<section class="section-hero">
<!-- 使用hero container 是為了 fixed sized -->
<div class="hero">
<div class="hero-text-box">
<h1 class="heading-primary">
A healthy meal delivered to your door, every single day
</h1>
<p class="hero-description">
The smart 365-days-per-year food subscription that will make you
eat healthy again. Tailored to your personal tastes and
nutritional needs.
</p>
<!-- 連結到cta section -->
<a href="#cta" class="btn btn--full margin-right-sm"
>Start eating well</a
>
<a href="#how" class="btn btn--outline">Learn more ↓</a>
<div class="delivered-meals">
<div class="delivered-imgs">
<img
src="./img/customers/customer-1.jpg"
alt="Customer photo"
/>
<img
src="./img/customers/customer-2.jpg"
alt="Customer photo"
/>
<img
src="./img/customers/customer-3.jpg"
alt="Customer photo"
/>
<img
src="./img/customers/customer-4.jpg"
alt="Customer photo"
/>
<img
src="./img/customers/customer-5.jpg"
alt="Customer photo"
/>
<img
src="./img/customers/customer-6.jpg"
alt="Customer photo"
/>
</div>
<p class="delivered-text">
<span>250,000+</span> meals delivered last year!
</p>
</div>
</div>
<div class="hero-img-box">
<!-- 圖片壓縮的一個好方案是轉成webp,但是目前仍有瀏覽器支援問題
https://caniuse.com/?search=webp
-->
<!-- 瀏覽器會考慮每個 <source> 元素,並且在其中選出最適當的選項。如果沒有找到最適當的選項——或是瀏覽器不支援 <picture> 元素——則 <img> 屬性的 URL 會被選擇。被選擇的圖片將會在 <img> 元素存在的位置顯示。 -- MDN -->
<picture>
<source srcset="./img/hero.webp" type="image/webp">
<source srcset="./img/hero/hero-min.png" type="image/png">
<img
src="./img/hero.webp"
class="hero-img"
alt="Woman enjoying food, meals in storage container, and food bowls on a table"
/>
</picture>
</div>
</div>
</section>
<section class="section-featured">
<div class="container">
<h2 class="heading-featured-in">As featured in</h2>
<div class="logos">
<img src="./img/logos/techcrunch.png" alt="Techcrunch logo" />
<img
src="./img/logos/business-insider.png"
alt="Business Insider logo"
/>
<img
src="./img/logos/the-new-york-times.png"
alt="The New York Times logo"
/>
<img src="./img/logos/forbes.png" alt="Forbes logo" />
<img src="./img/logos/usa-today.png" alt="USA Today logo" />
</div>
</div>
</section>
<section class="section-how" id="how">
<div class="container">
<!-- h2 上方放上一段描述比較適合使用 p or span 而不是具有標題意義的 h3 -->
<span class="subheading">How it works</span>
<h2 class="heading-secondary">
Your daily dose of health in 3 simple steps
</h2>
</div>
<!-- Z Pattern -->
<div class="container grid grid--2-cols grid--center-v">
<!-- STEP 01 -->
<div class="step-text-box">
<p class="step-number">01</p>
<h3 class="heading-tertiary">
Tell us what you like (and what not)
</h3>
<p class="step-description">
Never again waste time thinking about what to eat! Omnifood AI
will create a 100% personalized weekly meal plan just for you. It
makes sure you get all the nutrients and vitamins you need, no
matter what diet you follow!
</p>
</div>
<div class="step-img-box">
<img
src="./img/app/app-screen-1.png"
class="step-img"
alt="iPone app preferences selection screen"
/>
</div>
<!-- STEP 02 -->
<div class="step-img-box">
<img
src="./img/app/app-screen-2.png"
class="step-img"
alt="iPone app meal approving plan screen"
/>
</div>
<div class="step-text-box">
<p class="step-number">02</p>
<h3 class="heading-tertiary">Approve your weekly meal plan</h3>
<p class="step-description">
Once per week, approve the meal plan generated for you by Omnifood
AI. You can change ingredients, swap entire meals, or even add
your own recipes.
</p>
</div>
<!-- STEP 03 -->
<div class="step-text-box">
<p class="step-number">03</p>
<h3 class="heading-tertiary">Receive meals at convenient time</h3>
<p class="step-description">
Best chefs in town will cook your selected meal every day, and we
will deliver it to your door whenever works best for you. You can
change delivery schedule and address daily!
</p>
</div>
<div class="step-img-box">
<img
src="./img/app/app-screen-3.png"
class="step-img"
alt="iPone app delivery screen"
/>
</div>
</div>
</section>
<section class="section-meals" id="meals">
<div class="container center-text">
<span class="subheading">Meals</span>
<h2 class="heading-secondary">
YOmnifood AI chooses from 5,000+ recipes
</h2>
</div>
<div class="container grid grid--3-cols margin-bottom-md">
<div class="meal">
<img
src="./img/meals/meal-1.jpg"
class="meal-img"
alt="Japanese Gyozas"
/>
<!-- 這邊用meal-content包起來是為了style padding (沒有包的話選取器用meal會影響到上面的img) -->
<div class="meal-content">
<div class="meal-tags">
<span class="tag tag--vegetarian">Vegetarian</span>
</div>
<p class="meal-title">Japanese Gyozas</p>
<ul class="meal-attributes">
<li class="meal-attribute">
<ion-icon class="meal-icon" name="flame-outline"></ion-icon>
<span><strong>650</strong> calories</span>
</li>
<li class="meal-attribute">
<ion-icon
class="meal-icon"
name="restaurant-outline"
></ion-icon>
<span>NutriScore ® <strong>74</strong></span>
</li>
<li class="meal-attribute">
<ion-icon class="meal-icon" name="star-outline"></ion-icon>
<span><strong>4.9</strong> rating (537)</span>
</li>
</ul>
</div>
</div>
<div class="meal">
<img
src="./img/meals/meal-2.jpg"
class="meal-img"
alt="Avocado Salad"
/>
<div class="meal-content">
<div class="meal-tags">
<span class="tag tag--vegan">Vegan</span>
<span class="tag tag--paleo">Paleo</span>
</div>
<p class="meal-title">Avocado Salad</p>
<ul class="meal-attributes">
<li class="meal-attribute">
<ion-icon class="meal-icon" name="flame-outline"></ion-icon>
<span><strong>400</strong> calories</span>
</li>
<li class="meal-attribute">
<ion-icon
class="meal-icon"
name="restaurant-outline"
></ion-icon>
<span>NutriScore ® <strong>92</strong></span>
</li>
<li class="meal-attribute">
<ion-icon class="meal-icon" name="star-outline"></ion-icon>
<span><strong>4.8</strong> rating (441)</span>
</li>
</ul>
</div>
</div>
<div class="diets">
<h3 class="heading-tertiary">Works with any diet:</h3>
<ul class="list">
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Vegetarian</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Vegan</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Pescatarian</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Gluten-free</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Lactose-free</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Keto</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Paleo</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Low FODMAP</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Kid-friendly</span>
</li>
</ul>
</div>
</div>
<div class="container all-recipes">
<a href="#" class="link">See all recipes →</a>
</div>
</section>
<!-- 顧客推薦部分 -->
<section class="section-testimonials" id="testimonials">
<!-- testimonials-container為了分testimonials, gallery兩區塊(沒有設置的話grid會破版) -->
<div class="testimonials-container">
<!-- 這個section不加container定固寬而是以100%寬度來設計 -->
<span class="subheading">Testimonials</span>
<h2 class="heading-secondary">Once you try it, you can't go back</h2>
<div class="testimonials">
<!-- 使用figure表示一些自成一體的內容 -->
<figure class="testimonial">
<img
class="testimonial-img"
src="./img/customers/dave.jpg"
alt="Photo of customer Dave Bryson"
/>
<!-- 使用blockquote表示引用別人所敘述的話 -->
<blockquote class="testimonial-text">
Inexpensive, healthy and great-tasting meals, without even
having to order manually! It feels truly magical.
</blockquote>
<p class="testimonial-name">— Dave Bryson</p>
</figure>
<figure class="testimonial">
<img
class="testimonial-img"
src="./img/customers/ben.jpg"
alt="Photo of customer Ben Hadley"
/>
<blockquote class="testimonial-text">
The AI algorithm is crazy good, it chooses the right meals for
me every time. It's amazing not to worry about food anymore!
</blockquote>
<p class="testimonial-name">— Ben Hadley</p>
</figure>
<figure class="testimonial">
<img
class="testimonial-img"
src="./img/customers/steve.jpg"
alt="Photo of customer Steve Miller"
/>
<blockquote class="testimonial-text">
Omnifood is a life saver! I just started a company, so there's
no time for cooking. I couldn't live without my daily meals now!
</blockquote>
<p class="testimonial-name">— Steve Miller</p>
</figure>
<figure class="testimonial">
<img
class="testimonial-img"
src="./img/customers/hannah.jpg"
alt="Photo of customer Hannah Smith"
/>
<blockquote class="testimonial-text">
I got Omnifood for the whole family, and it frees up so much
time! Plus, everything is organic and vegan and without plastic.
</blockquote>
<p class="testimonial-name">— Hannah Smith</p>
</figure>
</div>
</div>
<!-- 照片牆 -->
<div class="gallery">
<figure class="gallery-item">
<img
src="./img/gallery/gallery-1.jpg"
alt="Photo of beautifully arranged food"
/>
<!-- <figcaption>Caption</figcaption> -->
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-2.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-3.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-4.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-5.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-6.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-7.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-8.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-9.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-10.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-11.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
<figure class="gallery-item">
<img
src="./img/gallery/gallery-12.jpg"
alt="Photo of beautifully arranged food"
/>
</figure>
</div>
</section>
<!-- 價錢部分 -->
<section class="section-pricing" id="pricing">
<div class="container">
<span class="subheading">Pricing</span>
<h2 class="heading-secondary">
Eating well without breaking the bank
</h2>
</div>
<div class="container grid grid--2-cols margin-bottom-md">
<!-- 右靠仔 -->
<div class="pricing-plan pricing-plan--starter">
<header class="plan-header">
<p class="plan-name">Starter</p>
<p class="plan-price"><span>$</span>399</p>
<p class="plan-text">per month. That's just $13 per meal!</p>
</header>
<!-- list 第二次使用 -->
<ul class="list">
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>1 meal per day</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Order from 11am to 9pm</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Delivery is free</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="close-outline"></ion-icon>
</li>
</ul>
<div class="plan-sing-up">
<a href="#" class="btn btn--full">Start eating well</a>
</div>
</div>
<!-- 左靠仔 -->
<div class="pricing-plan pricing-plan--complete">
<header class="plan-header">
<p class="plan-name">Complete</p>
<p class="plan-price"><span>$</span>649</p>
<p class="plan-text">per month. That's just $11 per meal!</p>
</header>
<!-- list 第二次使用 -->
<ul class="list">
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span><strong>2 meal</strong> per day</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span><strong>Order 24/7</strong></span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Delivery is free</span>
</li>
<li class="list-item">
<ion-icon class="list-icon" name="checkmark-outline"></ion-icon>
<span>Get access to latest recipes</span>
</li>
</ul>
<div class="plan-sing-up">
<a href="#" class="btn btn--full">Start eating well</a>
</div>
</div>
</div>
<!-- 這邊加入class grid只是為了使用padding-bottom: 9.6rem -->
<div class="container grid">
<!-- aside適合放置側邊欄或一些額外的、不是關鍵的資訊 -->
<aside class="plan-details">
Prices include all applicable taxes. Users can cancel at any time.
Both plans include the following:
</aside>
</div>
<!-- 服務好處部分 -->
<div class="container grid grid--4-cols">
<div class="feature">
<ion-icon class="feature-icon" name="infinite-outline"></ion-icon>
<p class="feature-title">Never cook again!</p>
<p class="feature-text">
Our subscriptions cover 365 days per year, even including major
holidays.
</p>
</div>
<div class="feature">
<ion-icon class="feature-icon" name="nutrition-outline"></ion-icon>
<p class="feature-title">Local and organic</p>
<p class="feature-text">
Our cooks only use local, fresh, and organic products to prepare
your meals.
</p>
</div>
<div class="feature">
<ion-icon class="feature-icon" name="leaf-outline"></ion-icon>
<p class="feature-title">No waste</p>
<p class="feature-text">
All our partners only use reusable containers to package all your
meals.
</p>
</div>
<div class="feature">
<ion-icon class="feature-icon" name="pause-outline"></ion-icon>
<p class="feature-title">Pause anytime</p>
<p class="feature-text">
Going on vacation? Just pause your subscription, and we refund
unused days.
</p>
</div>
</div>
</section>
<!-- 行動喚起 (Call to action) -->
<section class="section-cta" id="cta">
<!-- 添加id是為了讓link找到茅點 -->
<div class="container">
<!-- 這個地方用.cta包住內容而不是在上一個div加入.cta是因為差在padding的影響,因為希望與上一個section寬度一致,因此選擇使用這個方法。 -->
<div class="cta">
<div class="cta-text-box">
<h2 class="heading-secondary">Get your first meal for free</h2>
<p class="cta-text">
Healthy, tasty and hassle-free meals are waiting for you. Start
eating well today. You can cancel or pause anytime. And the
first meal is on us!
</p>
<form action="#" class="cta-form">
<!-- label,input都是inline元素-->
<!-- label for 與 input id 設置一樣的 value 會產生連結-->
<!--
記憶法 :
form 就是一個監獄,所有的貼標籤(label)都來自這個人的編號(id),因為在監獄裡是沒有名子的,
而背後的處理這些人的高官(back-end)則是只會記得這個犯人的姓名(name)。
-->
<div>
<label for="full-name">Full Name</label>
<input
id="full-name"
type="text"
placeholder="John Smith"
required
/>
</div>
<div>
<label for="email">Email address</label>
<input
id="email"
type="email"
placeholder="me@example.com"
required
/>
</div>
<div>
<label for="select-where">Where did you hear from us?</label>
<select name="" id="select-where" required>
<option value="">Please choose one option:</option>
<option value="friends">Friends and family</option>
<option value="youtube">YouTube video</option>
<option value="podcast">Podcast</option>
<option value="ad">Facebook ad</option>
<option value="others">Others</option>
</select>
</div>
<button class="btn btn--form">Sign up now</button>
</form>
</div>
<!-- 下方div沒有裝內容,因此用role跟aria-label屬性進行說明 -->
<div
class="cta-img-box"
role="img"
aria-label="Woman enjoying food"
></div>
</div>
</div>
</section>
</main>
<footer class="footer">
<div class="container grid grid--footer">
<!-- Logo -->
<div class="logo-col">
<!-- sun : logo, sicial, copyright -->
<a href="#" class="footer-logo">
<img
src="./img/omnifood-logo.png"
alt="Omnifood logo"
class="logo"
/>
</a>
<ul class="social-links">
<li>
<a class="footer-link" href="#">
<ion-icon class="social-icon" name="logo-instagram"></ion-icon>
</a>
</li>
<li>
<a class="footer-link" href="#">
<ion-icon class="social-icon" name="logo-facebook"></ion-icon>
</a>
</li>
<li>
<a class="footer-link" href="#">
<ion-icon class="social-icon" name="logo-twitter"></ion-icon>
</a>
</li>
</ul>
<p class="copyright">
Copyright © 2021 by Omnifood, Inc. All rights reserverd.
</p>
</div>
<!-- 地址 -->
<div class="address-col">
<p class="footer-heading">Contact us</p>
<address class="contacts">
<p class="address">
623 Harrison St., 2nd Floor, San Francisco, CA 94107
</p>
<p>
<a class="footer-link" href="tel:0987-697-527">0987-697-527</a
><br />
<a class="footer-link" href="mailto:hello@omnifood.com"
>hello@omnifood.com</a
>
</p>
</address>
</div>
<!-- 帳號 -->
<nav class="nav-col">
<p class="footer-heading">Account</p>
<ul class="footer-nav">
<li><a class="footer-link" href="#">Create account</a></li>
<li><a class="footer-link" href="#">Sign in</a></li>
<li><a class="footer-link" href="#">iOS app</a></li>
<li><a class="footer-link" href="#">Android app</a></li>
</ul>
</nav>
<!-- 公司 -->
<nav class="nav-col">
<p class="footer-heading">Company</p>
<ul class="footer-nav">
<li><a class="footer-link" href="#">About Omnifood</a></li>
<li><a class="footer-link" href="#">For Business</a></li>
<li><a class="footer-link" href="#">Cooking partners</a></li>
<li><a class="footer-link" href="#">Careers</a></li>
</ul>
</nav>
<!-- 資源 -->
<nav class="nav-col">
<p class="footer-heading">Resources</p>
<ul class="footer-nav">
<li><a class="footer-link" href="#">Recipe directory</a></li>
<li><a class="footer-link" href="#">Help center</a></li>
<li><a class="footer-link" href="#">Privacy & terms</a></li>
</ul>
</nav>
</div>
</footer>
</body>
</html>