-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
453 lines (422 loc) · 14.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FindRecipe - Find your perfect dish!</title>
<meta name="description"
content="Dive into a global pantry of over 300+ recipes from a vast collection of recipes from around the world. Find your perfect dish!">
<link rel="shortcut icon" href="/svgs/logo.svg" type="image/x-icon">
<link rel="stylesheet" href="./style.css" type="text/css">
<!-- Google Fonts -->
<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=Pontano+Sans&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet">
</head>
<body>
<!-- Header -->
<header class="header" id="headerId">
<nav class="nav container">
<!-- Brand name -->
<div class="brand-name">
<img src="/svgs/logo.svg" alt="FindRecipe's Logo">
<a href="#">Find<span class="highlight">Recipe</span></a>
</div>
<!-- Hamburger -->
<img src="/svgs/menu.svg" alt="Menu" id="menu">
<!-- Close Menu -->
<!-- <img src="/svgs/close.svg" alt="Close Menu" id="close"> -->
<!-- Navbar Lists -->
<ul id="navbar-mobile">
<li>
<a href="#">
Home
</a>
</li>
<li>
<a id="dropdown">
Recipes
<img src="/svgs/Expand Arrow.svg" id="expand" class="expandImg" alt="Expand dropdown">
</a>
<div class="dropdown-list">
<div id="myDropdown" class="dropdown-content">
<a href="#featured">Featured Recipes</a>
<a href="#category">Category</a>
<a href="#latest">Latest Meals</a>
</div>
</div>
</li>
<li>
<a href="#newsletters">
Newsletter
</a>
</li>
</ul>
</nav>
</header>
<!-- Main -->
<main class="main container">
<div class="main-content">
<h1>Find<span class="highlight">Recipe</span></h1>
<p>Dive into a global pantry of over 300+ recipes from a vast collection of recipes from around the world. Find
your perfect dish!</p>
<div class="search-field">
<input type="text" name="searchResult" id="search" title="Find Recipe"
placeholder="Search by recipe names or first letter...">
<button type="button" title="Search Button" id="search-btn">
<img src="/svgs/Search.svg" alt="Search Icon">
</button>
</div>
</div>
<img src="/Hero Image.png" alt="Hero Image" class="hero-img">
</main>
<!-- Featured Recipes -->
<section class="featured-recipes" id="featured">
<h2 class="container">Featured Recipes</h2>
<!-- Slider main container -->
<div class="swiper container">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<a rel="noopener" href="/src/featured-page/rock-cakes.html" target="_blank" title="rock-cakes">
<div class="card">
<div>
<img class="food-img" src="/featured/Rock-Cakes.png" alt="Rock-Cakes">
</div>
<div class="card-content">
<h3>Rock Cakes</h3>
<span>
<img src="/country_icon/Great Britain.svg" alt="United Kingdowm"> United Kingdom
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/featured-page/MaPoTofu.html" target="_blank" title="ma-po-tofu">
<div class="card">
<div>
<img class="food-img" src="/featured/Ma-Po-Tofu.png" alt="Ma-Po-Tofu">
</div>
<div class="card-content">
<h3>Ma Po Tofu</h3>
<span>
<img src="/country_icon/China.svg" alt="China">China
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/featured-page/shrimp-chow-fun.html" target="_blank" title="shrimp-chow-fun">
<div class="card">
<div>
<img class="food-img" src="/featured/Shrimp-Chow-Fun.png" alt="Shrimp Chow Fun">
</div>
<div class="card-content">
<h3>Shrimp Chow Fun</h3>
<span>
<img src="/country_icon/China.svg" alt="China"> China
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/featured-page/Beef-stroganoff.html" target="_blank" title="beef-stroganoff">
<div class="card">
<div>
<img class="food-img" src="/featured/Beef-stroganoff.jpg" alt="Beef stroganoff">
</div>
<div class="card-content">
<h3>Beef stroganoff</h3>
<span>
<img src="/country_icon/Russian Federation.svg" alt="Russia"> Russia
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/featured-page/Steak-and-Kidney-Pie.html" target="_blank"
title="steak-and-kidney-pie">
<div class="card">
<div>
<img class="food-img" src="/featured/Steak and-Kidney-Pie.jpg" alt="Steak and Kidney Pie">
</div>
<div class="card-content">
<h3>Steak and Kidney Pie</h3>
<span>
<img src="/country_icon/Great Britain.svg" alt="United Kingdowm"> United
Kingdom
</span>
</div>
</div>
</div>
</a>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination">
</div>
<!-- If we need navigation buttons -->
<!-- <div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div> -->
<!-- If we need scrollbar -->
<!-- <div class="swiper-scrollbar"></div> -->
</div>
<div class="bg">
</div>
<!-- Lists of Categories -->
<section class="categories" id="category">
<h2>Find Recipes by Category</h2>
<div class="category-container">
<div class="row1">
<div class="category">
<img src="/category/pork.png" alt="Pork">
<h4>Pork</h4>
</div>
<div class="category">
<img src="/category/seafood.png" alt="Seafood">
<h4>Seafood</h4>
</div>
<div class="category">
<img src="/category/lamb.png" alt="Lamb">
<h4>Lamb</h4>
</div>
<div class="category">
<img src="/category/vegetarian.png" alt="Vegetarian">
<h4>Vegetarian</h4>
</div>
<div class="category">
<img src="/category/chicken.png" alt="Chicken">
<h4>Chicken</h4>
</div>
<div class="category">
<img src="/category/goat.png" alt="Goat">
<h4>Goat</h4>
</div>
</div>
<div class="row2">
<div class="category">
<img src="/category/breakfast.png" alt="Breakfast">
<h4>Breakfast</h4>
</div>
<div class="category">
<img src="/category/dessert.png" alt="Dessert">
<h4>Dessert</h4>
</div>
<div class="category">
<img src="/category/beef.png" alt="Beef">
<h4>Beef</h4>
</div>
<div class="category">
<img src="/category/pasta.png" alt="Pasta">
<h4>Pasta</h4>
</div>
<div class="category">
<img src="/category/vegan.png" alt="Vegan">
<h4>Vegan</h4>
</div>
</div>
</div>
</section>
</section>
<!-- Latest Meals -->
<section class="lastest-meals" id="latest">
<h2 class="container">Latest Meals</h2>
<!-- Slider main container -->
<div class="swiper container">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<a rel="noopener" href="/src/lastest-page/Blini-Pancakes.html" target="_blank" title="Blini-Pancakes">
<div class="card">
<div>
<img class="food-img" src="/lastest/Blini-Pancakes.png" alt="Blini-Pancakes" loading="lazy">
</div>
<div class="card-content">
<h3>Blini Pancakes</h3>
<span>
<img src="/country_icon/Russian Federation.svg" alt="Russia"> Russia
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/lastest-page/CabbageSoup.html" target="_blank" title="Cabbage-Soup-(Shchi)">
<div class="card">
<div>
<img class="food-img" src="/lastest/Cabbage-Soup-(Shchi).png" alt="Cabbage-Soup-(Shchi)" loading="lazy">
</div>
<div class="card-content">
<h3>Cabbage Soup (Shchi)</h3>
<span>
<img src="/country_icon/Russian Federation.svg" alt="Russia" loading="lazy">Russia
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/lastest-page/FishSoup.html" target="_blank" title="Fish-Soup-(Ukha)">
<div class="card">
<div>
<img class="food-img" src="/lastest/Fish-Soup-(Ukha).png" alt="Fish-Soup-(Ukha)" loading="lazy">
</div>
<div class="card-content">
<h3>Fish Soup (Ukha)</h3>
<span>
<img src="/country_icon/Russian Federation.svg" alt="Russia" loading="lazy">Russia
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/lastest-page/LambPilaf.html" target="_blank" title="Lamb-Pilaf-(Plov).png">
<div class="card">
<div>
<img class="food-img" src="/lastest/Lamb-Pilaf-(Plov).png" alt="Lamb-Pilaf-(Plov).png" loading="lazy">
</div>
<div class="card-content">
<h3>Lamb Pilaf (Plov).png</h3>
<span>
<img src="/country_icon/Russian Federation.svg" alt="Russia" loading="lazy"> Russia
</span>
</div>
</div>
</a>
</div>
<div class="swiper-slide">
<a rel="noopener" href="/src/lastest-page/Strawberries-Romanoff.html" target="_blank"
title="Strawberries-Romanoff.png">
<div class="card">
<div>
<img class="food-img" src="/lastest/Strawberries-Romanoff.png" alt="Strawberries-Romanoff.png" loading="lazy">
</div>
<div class="card-content">
<h3>Strawberries Romanoff</h3>
<span>
<img src="/country_icon/Russian Federation.svg" alt="Russia" loading="lazy">Russia
</span>
</div>
</div>
</div>
</a>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination">
</div>
</div>
</div>
<div class="bg2">
</section>
<!-- Newsletter -->
<section class="newsletter" id="newsletters">
<div class="newsletter-content">
<h2>Subscribe Our Newsletter</h2>
<p>Stay updated with our lastest news and recipes!</p>
<div class="newsletter-input">
<div>
<img src="/Mail.png" alt="Mail" class="mail" loading="lazy">
</div>
<input type="text" name="email" title="user-email" placeholder="Enter your email">
<div>
<img src="/Forward-Button.png" alt="" class="forward" loading="lazy">
</div>
</div>
</div>
</section>
<!-- Footer -->
<section class="footer">
<div class="container">
<div class="footer-header">
<!-- Brand name -->
<div class="brand-name">
<img src="/svgs/logo.svg" alt="FindRecipe's Logo" loading="lazy">
<a href="#">Find<span class="highlight">Recipe</span></a>
</div>
</div>
<div class="footer-grid">
<div class="col">
<h3>Explore</h3>
<ul>
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#blogPage">Blog</a>
</li>
<li>
<a href="#newsletters">Newsletter</a>
</li>
</ul>
</div>
<div class="col">
<div class="divider"></div>
<h3>Recipes</h3>
<ul>
<li>
<a href="#category">Category</a>
</li>
<li>
<a href="#latest">Latest Meals</a>
</li>
<li>
<a href="#featured">Featured Recipes</a>
</li>
</ul>
</div>
<div class="col">
<div class="divider"></div>
<h3>Contact</h3>
<ul>
<li>
<a href="#">
123 Main Street, Cityville
</a>
</li>
<li>
<a href="#">
+1 (555) 123-4567
</a>
</li>
<li>
<a href="#">
</a>
</li>
</ul>
</div>
<div class="col">
<h3>Social Media</h3>
<div class="social">
<div class="social-icons">
<img src="/svgs/Facebook.svg" alt="" srcset="" loading="lazy">
</div>
<div class="social-icons">
<img src="/svgs/Instagram.svg" alt="" srcset="" loading="lazy">
</div>
<div class="social-icons">
<img src="/svgs/TwitterX.svg" alt="" srcset="" loading="lazy">
</div>
</div>
</div>
</div>
<div class="footer-footer">
<div class="content">
<p>Powered by MealDB API</p>
<p>Copyright © 2023 jfmartinz. All rights reserved.</p>
</div>
</div>
</div>
</section>
<script type="module" src="./src/main.js">
</script>
</body>
</html>