Spaces:
Running
Running
Update index.html
Browse files- index.html +46 -17
index.html
CHANGED
|
@@ -4,8 +4,13 @@
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>NourishNet</title>
|
| 6 |
|
|
|
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
|
| 10 |
|
| 11 |
<style>
|
|
@@ -25,7 +30,7 @@ body {
|
|
| 25 |
transform: translateY(0);
|
| 26 |
}
|
| 27 |
|
| 28 |
-
/* Card hover
|
| 29 |
.card {
|
| 30 |
transition: all 0.3s ease;
|
| 31 |
border: 1px solid transparent;
|
|
@@ -59,6 +64,7 @@ body {
|
|
| 59 |
|
| 60 |
<!-- HERO -->
|
| 61 |
<section id="home" class="text-center py-24 px-6 fade-up">
|
|
|
|
| 62 |
<h1 class="text-5xl md:text-6xl font-extrabold text-gray-900">
|
| 63 |
Turn food surplus into <span class="text-emerald-600">real impact</span>
|
| 64 |
</h1>
|
|
@@ -105,17 +111,20 @@ body {
|
|
| 105 |
|
| 106 |
<div class="grid md:grid-cols-3 gap-6 max-w-6xl mx-auto">
|
| 107 |
|
| 108 |
-
<div class="card bg-white p-6 rounded-xl fade-up">
|
|
|
|
| 109 |
<h3 class="font-bold text-lg">Log surplus</h3>
|
| 110 |
<p class="text-gray-600 mt-2">Restaurants enter leftover food.</p>
|
| 111 |
</div>
|
| 112 |
|
| 113 |
-
<div class="card bg-white p-6 rounded-xl fade-up">
|
|
|
|
| 114 |
<h3 class="font-bold text-lg">AI matching</h3>
|
| 115 |
<p class="text-gray-600 mt-2">Smart routing to communities.</p>
|
| 116 |
</div>
|
| 117 |
|
| 118 |
-
<div class="card bg-white p-6 rounded-xl fade-up">
|
|
|
|
| 119 |
<h3 class="font-bold text-lg">Delivery</h3>
|
| 120 |
<p class="text-gray-600 mt-2">Volunteers distribute food.</p>
|
| 121 |
</div>
|
|
@@ -123,7 +132,7 @@ body {
|
|
| 123 |
</div>
|
| 124 |
</section>
|
| 125 |
|
| 126 |
-
<!--
|
| 127 |
<section id="impact" class="py-20 px-6 text-center bg-white">
|
| 128 |
|
| 129 |
<h2 class="text-3xl font-bold mb-4 fade-up">Earn while you give</h2>
|
|
@@ -134,25 +143,22 @@ body {
|
|
| 134 |
|
| 135 |
<div class="grid md:grid-cols-3 gap-6 max-w-6xl mx-auto">
|
| 136 |
|
| 137 |
-
<div class="card p-6 rounded-xl fade-up">
|
|
|
|
| 138 |
<h3 class="font-bold text-lg">Leaderboard</h3>
|
| 139 |
-
<p class="text-gray-600 mt-2">
|
| 140 |
-
See how you rank against restaurants in your city.
|
| 141 |
-
</p>
|
| 142 |
</div>
|
| 143 |
|
| 144 |
-
<div class="card p-6 rounded-xl fade-up">
|
|
|
|
| 145 |
<h3 class="font-bold text-lg">Badge system</h3>
|
| 146 |
-
<p class="text-gray-600 mt-2">
|
| 147 |
-
Bronze → Silver → Gold → Platinum → Champion.
|
| 148 |
-
</p>
|
| 149 |
</div>
|
| 150 |
|
| 151 |
-
<div class="card p-6 rounded-xl fade-up">
|
|
|
|
| 152 |
<h3 class="font-bold text-lg">Streak tracker</h3>
|
| 153 |
-
<p class="text-gray-600 mt-2">
|
| 154 |
-
Donate daily for bonus points and exclusive badges.
|
| 155 |
-
</p>
|
| 156 |
</div>
|
| 157 |
|
| 158 |
</div>
|
|
@@ -182,6 +188,24 @@ body {
|
|
| 182 |
</div>
|
| 183 |
</section>
|
| 184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 185 |
<!-- FOOTER -->
|
| 186 |
<footer class="bg-emerald-600 text-white text-center py-8 mt-20">
|
| 187 |
<p class="font-semibold">NourishNet</p>
|
|
@@ -190,6 +214,7 @@ body {
|
|
| 190 |
|
| 191 |
<!-- MODAL -->
|
| 192 |
<div id="modal" class="fixed inset-0 bg-black/40 backdrop-blur-sm hidden items-center justify-center z-50">
|
|
|
|
| 193 |
<div class="bg-white w-full max-w-lg rounded-2xl p-8 relative">
|
| 194 |
|
| 195 |
<button onclick="closeModal()" class="absolute top-4 right-4 text-gray-400 text-xl">✕</button>
|
|
@@ -219,6 +244,7 @@ function closeModal() {
|
|
| 219 |
modal.classList.remove("flex");
|
| 220 |
}
|
| 221 |
|
|
|
|
| 222 |
const observer = new IntersectionObserver(entries => {
|
| 223 |
entries.forEach(entry => {
|
| 224 |
if (entry.isIntersecting) {
|
|
@@ -228,6 +254,9 @@ const observer = new IntersectionObserver(entries => {
|
|
| 228 |
});
|
| 229 |
|
| 230 |
document.querySelectorAll('.fade-up').forEach(el => observer.observe(el));
|
|
|
|
|
|
|
|
|
|
| 231 |
</script>
|
| 232 |
|
| 233 |
</body>
|
|
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>NourishNet</title>
|
| 6 |
|
| 7 |
+
<!-- Tailwind -->
|
| 8 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
|
| 10 |
+
<!-- Icons -->
|
| 11 |
+
<script src="https://unpkg.com/lucide@latest"></script>
|
| 12 |
+
|
| 13 |
+
<!-- Font -->
|
| 14 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
|
| 15 |
|
| 16 |
<style>
|
|
|
|
| 30 |
transform: translateY(0);
|
| 31 |
}
|
| 32 |
|
| 33 |
+
/* Card hover */
|
| 34 |
.card {
|
| 35 |
transition: all 0.3s ease;
|
| 36 |
border: 1px solid transparent;
|
|
|
|
| 64 |
|
| 65 |
<!-- HERO -->
|
| 66 |
<section id="home" class="text-center py-24 px-6 fade-up">
|
| 67 |
+
|
| 68 |
<h1 class="text-5xl md:text-6xl font-extrabold text-gray-900">
|
| 69 |
Turn food surplus into <span class="text-emerald-600">real impact</span>
|
| 70 |
</h1>
|
|
|
|
| 111 |
|
| 112 |
<div class="grid md:grid-cols-3 gap-6 max-w-6xl mx-auto">
|
| 113 |
|
| 114 |
+
<div class="card bg-white p-6 rounded-xl fade-up text-left">
|
| 115 |
+
<i data-lucide="clipboard-list" class="text-emerald-600 mb-4"></i>
|
| 116 |
<h3 class="font-bold text-lg">Log surplus</h3>
|
| 117 |
<p class="text-gray-600 mt-2">Restaurants enter leftover food.</p>
|
| 118 |
</div>
|
| 119 |
|
| 120 |
+
<div class="card bg-white p-6 rounded-xl fade-up text-left">
|
| 121 |
+
<i data-lucide="cpu" class="text-emerald-600 mb-4"></i>
|
| 122 |
<h3 class="font-bold text-lg">AI matching</h3>
|
| 123 |
<p class="text-gray-600 mt-2">Smart routing to communities.</p>
|
| 124 |
</div>
|
| 125 |
|
| 126 |
+
<div class="card bg-white p-6 rounded-xl fade-up text-left">
|
| 127 |
+
<i data-lucide="truck" class="text-emerald-600 mb-4"></i>
|
| 128 |
<h3 class="font-bold text-lg">Delivery</h3>
|
| 129 |
<p class="text-gray-600 mt-2">Volunteers distribute food.</p>
|
| 130 |
</div>
|
|
|
|
| 132 |
</div>
|
| 133 |
</section>
|
| 134 |
|
| 135 |
+
<!-- IMPACT SECTION -->
|
| 136 |
<section id="impact" class="py-20 px-6 text-center bg-white">
|
| 137 |
|
| 138 |
<h2 class="text-3xl font-bold mb-4 fade-up">Earn while you give</h2>
|
|
|
|
| 143 |
|
| 144 |
<div class="grid md:grid-cols-3 gap-6 max-w-6xl mx-auto">
|
| 145 |
|
| 146 |
+
<div class="card bg-emerald-50 p-6 rounded-xl fade-up text-left">
|
| 147 |
+
<i data-lucide="trophy" class="text-emerald-600 mb-4"></i>
|
| 148 |
<h3 class="font-bold text-lg">Leaderboard</h3>
|
| 149 |
+
<p class="text-gray-600 mt-2">See how you rank against restaurants in your city.</p>
|
|
|
|
|
|
|
| 150 |
</div>
|
| 151 |
|
| 152 |
+
<div class="card bg-emerald-50 p-6 rounded-xl fade-up text-left">
|
| 153 |
+
<i data-lucide="award" class="text-emerald-600 mb-4"></i>
|
| 154 |
<h3 class="font-bold text-lg">Badge system</h3>
|
| 155 |
+
<p class="text-gray-600 mt-2">Bronze → Silver → Gold → Platinum → Champion.</p>
|
|
|
|
|
|
|
| 156 |
</div>
|
| 157 |
|
| 158 |
+
<div class="card bg-emerald-50 p-6 rounded-xl fade-up text-left">
|
| 159 |
+
<i data-lucide="flame" class="text-emerald-600 mb-4"></i>
|
| 160 |
<h3 class="font-bold text-lg">Streak tracker</h3>
|
| 161 |
+
<p class="text-gray-600 mt-2">Donate daily for bonus points and exclusive badges.</p>
|
|
|
|
|
|
|
| 162 |
</div>
|
| 163 |
|
| 164 |
</div>
|
|
|
|
| 188 |
</div>
|
| 189 |
</section>
|
| 190 |
|
| 191 |
+
<!-- FINAL CTA -->
|
| 192 |
+
<section class="py-20 px-6 text-center bg-emerald-50 fade-up">
|
| 193 |
+
|
| 194 |
+
<i data-lucide="leaf" class="mx-auto text-emerald-600 mb-4"></i>
|
| 195 |
+
|
| 196 |
+
<h2 class="text-3xl font-bold mb-4">Ready to make a difference?</h2>
|
| 197 |
+
|
| 198 |
+
<p class="text-gray-600 max-w-xl mx-auto mb-6">
|
| 199 |
+
Join 312+ restaurants already saving meals across the UAE.
|
| 200 |
+
</p>
|
| 201 |
+
|
| 202 |
+
<button onclick="openModal()"
|
| 203 |
+
class="bg-emerald-600 text-white px-6 py-3 rounded-full hover:scale-105 transition">
|
| 204 |
+
Join NourishNet today
|
| 205 |
+
</button>
|
| 206 |
+
|
| 207 |
+
</section>
|
| 208 |
+
|
| 209 |
<!-- FOOTER -->
|
| 210 |
<footer class="bg-emerald-600 text-white text-center py-8 mt-20">
|
| 211 |
<p class="font-semibold">NourishNet</p>
|
|
|
|
| 214 |
|
| 215 |
<!-- MODAL -->
|
| 216 |
<div id="modal" class="fixed inset-0 bg-black/40 backdrop-blur-sm hidden items-center justify-center z-50">
|
| 217 |
+
|
| 218 |
<div class="bg-white w-full max-w-lg rounded-2xl p-8 relative">
|
| 219 |
|
| 220 |
<button onclick="closeModal()" class="absolute top-4 right-4 text-gray-400 text-xl">✕</button>
|
|
|
|
| 244 |
modal.classList.remove("flex");
|
| 245 |
}
|
| 246 |
|
| 247 |
+
/* Fade-up animation */
|
| 248 |
const observer = new IntersectionObserver(entries => {
|
| 249 |
entries.forEach(entry => {
|
| 250 |
if (entry.isIntersecting) {
|
|
|
|
| 254 |
});
|
| 255 |
|
| 256 |
document.querySelectorAll('.fade-up').forEach(el => observer.observe(el));
|
| 257 |
+
|
| 258 |
+
/* Icons init */
|
| 259 |
+
lucide.createIcons();
|
| 260 |
</script>
|
| 261 |
|
| 262 |
</body>
|