-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (83 loc) · 3.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yummy Recipes - Home</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>🍳 Yummy Recipes</h1>
<div class="controls">
<button id="themeToggle">🌓</button>
<nav>
<a href="/">Home</a>
<a href="meals.html">Recipes</a>
</nav>
</div>
</header>
<main class="home-main">
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h2>Discover the World's Finest Recipes</h2>
<p>Join our community of food lovers and explore thousands of delicious recipes from every cuisine!</p>
<a href="meals.html" class="cta">Start Cooking Now</a>
</div>
<div class="hero-image">
<img src="https://www.themealdb.com/images/media/meals/1548772327.jpg" alt="Delicious food collage">
</div>
</section>
<!-- Featured Categories -->
<section class="featured-categories">
<h3>Popular Categories</h3>
<div class="categories-grid">
<div class="category-card">
<img src="https://www.themealdb.com/images/category/beef.png" alt="Beef">
<h4>Beef Dishes</h4>
<p>Discover hearty beef recipes from around the world</p>
<a href="meals.html?category=Beef" class="cta-small">Explore</a>
</div>
<div class="category-card">
<img src="https://www.themealdb.com/images/category/dessert.png" alt="Dessert">
<h4>Sweet Treats</h4>
<p>Indulge in delicious desserts and pastries</p>
<a href="meals.html?category=Dessert" class="cta-small">Explore</a>
</div>
<div class="category-card">
<img src="https://www.themealdb.com/images/category/seafood.png" alt="Seafood">
<h4>Ocean Flavors</h4>
<p>Fresh seafood recipes from coastal cuisines</p>
<a href="meals.html?category=Seafood" class="cta-small">Explore</a>
</div>
</div>
</section>
<!-- Why Choose Us -->
<section class="why-choose">
<div class="why-content">
<h3>Why Choose Yummy Recipes?</h3>
<div class="features-grid">
<div class="feature">
<div class="feature-icon">📖</div>
<h4>1000+ Recipes</h4>
<p>From traditional dishes to modern creations</p>
</div>
<div class="feature">
<div class="feature-icon">🔍</div>
<h4>Smart Search</h4>
<p>Find recipes by ingredients, cuisine, or diet</p>
</div>
<div class="feature">
<div class="feature-icon">❤️</div>
<h4>Save Favorites</h4>
<p>Bookmark your favorite recipes for later</p>
</div>
</div>
</div>
</section>
<div class="user-greeting" id="userGreeting"></div>
</main>
<script type="module" src="app.js"></script>
</body>
</html>