Spaces:
Running
Running
Update index.html
Browse files- index.html +50 -22
index.html
CHANGED
|
@@ -20,18 +20,19 @@ body {
|
|
| 20 |
transform: translateY(30px);
|
| 21 |
transition: all 0.8s ease;
|
| 22 |
}
|
| 23 |
-
|
| 24 |
.fade-up.show {
|
| 25 |
opacity: 1;
|
| 26 |
transform: translateY(0);
|
| 27 |
}
|
| 28 |
|
| 29 |
-
/* Card hover */
|
| 30 |
.card {
|
| 31 |
transition: all 0.3s ease;
|
|
|
|
| 32 |
}
|
| 33 |
.card:hover {
|
| 34 |
transform: translateY(-8px) scale(1.02);
|
|
|
|
| 35 |
box-shadow: 0 20px 30px rgba(0,0,0,0.08);
|
| 36 |
}
|
| 37 |
</style>
|
|
@@ -41,47 +42,41 @@ body {
|
|
| 41 |
|
| 42 |
<!-- NAVBAR -->
|
| 43 |
<nav class="flex justify-between items-center px-10 py-5 bg-emerald-600 text-white sticky top-0 z-50 shadow-sm">
|
| 44 |
-
|
| 45 |
<div class="text-2xl font-extrabold">NourishNet</div>
|
| 46 |
|
| 47 |
<div class="hidden md:flex gap-8 font-medium">
|
| 48 |
<a href="#home">Home</a>
|
| 49 |
<a href="#how">How it works</a>
|
|
|
|
| 50 |
<a href="#features">Features</a>
|
| 51 |
</div>
|
| 52 |
|
| 53 |
<button onclick="openModal()"
|
| 54 |
class="bg-white text-emerald-600 px-5 py-2 rounded-full font-semibold hover:scale-105 transition">
|
| 55 |
-
|
| 56 |
</button>
|
| 57 |
-
|
| 58 |
</nav>
|
| 59 |
|
| 60 |
<!-- HERO -->
|
| 61 |
<section id="home" class="text-center py-24 px-6 fade-up">
|
| 62 |
-
|
| 63 |
<h1 class="text-5xl md:text-6xl font-extrabold text-gray-900">
|
| 64 |
-
Turn
|
| 65 |
</h1>
|
| 66 |
|
| 67 |
<p class="mt-6 text-gray-600 max-w-2xl mx-auto text-lg">
|
| 68 |
-
|
| 69 |
</p>
|
| 70 |
|
| 71 |
<div class="mt-8 flex justify-center gap-4">
|
| 72 |
-
|
| 73 |
<button onclick="openModal()"
|
| 74 |
class="bg-emerald-600 text-white px-6 py-3 rounded-full hover:scale-105 transition">
|
| 75 |
-
|
| 76 |
</button>
|
| 77 |
|
| 78 |
-
<a href="#how"
|
| 79 |
-
class="border px-6 py-3 rounded-full hover:bg-gray-100 transition">
|
| 80 |
See how it works
|
| 81 |
</a>
|
| 82 |
-
|
| 83 |
</div>
|
| 84 |
-
|
| 85 |
</section>
|
| 86 |
|
| 87 |
<!-- STATS -->
|
|
@@ -112,17 +107,52 @@ body {
|
|
| 112 |
|
| 113 |
<div class="card bg-white p-6 rounded-xl fade-up">
|
| 114 |
<h3 class="font-bold text-lg">Log surplus</h3>
|
| 115 |
-
<p class="text-gray-600 mt-2">
|
| 116 |
</div>
|
| 117 |
|
| 118 |
<div class="card bg-white p-6 rounded-xl fade-up">
|
| 119 |
<h3 class="font-bold text-lg">AI matching</h3>
|
| 120 |
-
<p class="text-gray-600 mt-2">
|
| 121 |
</div>
|
| 122 |
|
| 123 |
<div class="card bg-white p-6 rounded-xl fade-up">
|
| 124 |
<h3 class="font-bold text-lg">Delivery</h3>
|
| 125 |
-
<p class="text-gray-600 mt-2">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
</div>
|
| 127 |
|
| 128 |
</div>
|
|
@@ -160,16 +190,15 @@ body {
|
|
| 160 |
|
| 161 |
<!-- MODAL -->
|
| 162 |
<div id="modal" class="fixed inset-0 bg-black/40 backdrop-blur-sm hidden items-center justify-center z-50">
|
| 163 |
-
|
| 164 |
<div class="bg-white w-full max-w-lg rounded-2xl p-8 relative">
|
| 165 |
|
| 166 |
<button onclick="closeModal()" class="absolute top-4 right-4 text-gray-400 text-xl">✕</button>
|
| 167 |
|
| 168 |
-
<h2 class="text-xl font-bold mb-4">
|
| 169 |
|
| 170 |
-
<input class="w-full border p-3 mb-3 rounded" placeholder="
|
| 171 |
-
<input class="w-full border p-3 mb-3 rounded" placeholder="Quantity">
|
| 172 |
<input class="w-full border p-3 mb-3 rounded" placeholder="Location">
|
|
|
|
| 173 |
|
| 174 |
<button class="w-full bg-emerald-600 text-white py-3 rounded">
|
| 175 |
Submit
|
|
@@ -190,7 +219,6 @@ function closeModal() {
|
|
| 190 |
modal.classList.remove("flex");
|
| 191 |
}
|
| 192 |
|
| 193 |
-
/* Fade-up animation */
|
| 194 |
const observer = new IntersectionObserver(entries => {
|
| 195 |
entries.forEach(entry => {
|
| 196 |
if (entry.isIntersecting) {
|
|
|
|
| 20 |
transform: translateY(30px);
|
| 21 |
transition: all 0.8s ease;
|
| 22 |
}
|
|
|
|
| 23 |
.fade-up.show {
|
| 24 |
opacity: 1;
|
| 25 |
transform: translateY(0);
|
| 26 |
}
|
| 27 |
|
| 28 |
+
/* Card hover effect */
|
| 29 |
.card {
|
| 30 |
transition: all 0.3s ease;
|
| 31 |
+
border: 1px solid transparent;
|
| 32 |
}
|
| 33 |
.card:hover {
|
| 34 |
transform: translateY(-8px) scale(1.02);
|
| 35 |
+
border: 1px solid #10b981;
|
| 36 |
box-shadow: 0 20px 30px rgba(0,0,0,0.08);
|
| 37 |
}
|
| 38 |
</style>
|
|
|
|
| 42 |
|
| 43 |
<!-- NAVBAR -->
|
| 44 |
<nav class="flex justify-between items-center px-10 py-5 bg-emerald-600 text-white sticky top-0 z-50 shadow-sm">
|
|
|
|
| 45 |
<div class="text-2xl font-extrabold">NourishNet</div>
|
| 46 |
|
| 47 |
<div class="hidden md:flex gap-8 font-medium">
|
| 48 |
<a href="#home">Home</a>
|
| 49 |
<a href="#how">How it works</a>
|
| 50 |
+
<a href="#impact">Impact</a>
|
| 51 |
<a href="#features">Features</a>
|
| 52 |
</div>
|
| 53 |
|
| 54 |
<button onclick="openModal()"
|
| 55 |
class="bg-white text-emerald-600 px-5 py-2 rounded-full font-semibold hover:scale-105 transition">
|
| 56 |
+
Join as a Restaurant
|
| 57 |
</button>
|
|
|
|
| 58 |
</nav>
|
| 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>
|
| 65 |
|
| 66 |
<p class="mt-6 text-gray-600 max-w-2xl mx-auto text-lg">
|
| 67 |
+
AI-powered redistribution connecting restaurants with communities in need across the UAE.
|
| 68 |
</p>
|
| 69 |
|
| 70 |
<div class="mt-8 flex justify-center gap-4">
|
|
|
|
| 71 |
<button onclick="openModal()"
|
| 72 |
class="bg-emerald-600 text-white px-6 py-3 rounded-full hover:scale-105 transition">
|
| 73 |
+
Join now
|
| 74 |
</button>
|
| 75 |
|
| 76 |
+
<a href="#how" class="border px-6 py-3 rounded-full hover:bg-gray-100 transition">
|
|
|
|
| 77 |
See how it works
|
| 78 |
</a>
|
|
|
|
| 79 |
</div>
|
|
|
|
| 80 |
</section>
|
| 81 |
|
| 82 |
<!-- STATS -->
|
|
|
|
| 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>
|
| 122 |
+
|
| 123 |
+
</div>
|
| 124 |
+
</section>
|
| 125 |
+
|
| 126 |
+
<!-- EARN WHILE YOU GIVE (EXACT CONTENT) -->
|
| 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>
|
| 130 |
+
|
| 131 |
+
<p class="text-gray-600 max-w-2xl mx-auto mb-12 fade-up">
|
| 132 |
+
Track your impact, compete with other restaurants, and earn badges for consistency.
|
| 133 |
+
</p>
|
| 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>
|
|
|
|
| 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>
|
| 196 |
|
| 197 |
+
<h2 class="text-xl font-bold mb-4">Join as a Restaurant</h2>
|
| 198 |
|
| 199 |
+
<input class="w-full border p-3 mb-3 rounded" placeholder="Restaurant name">
|
|
|
|
| 200 |
<input class="w-full border p-3 mb-3 rounded" placeholder="Location">
|
| 201 |
+
<input class="w-full border p-3 mb-3 rounded" placeholder="Contact">
|
| 202 |
|
| 203 |
<button class="w-full bg-emerald-600 text-white py-3 rounded">
|
| 204 |
Submit
|
|
|
|
| 219 |
modal.classList.remove("flex");
|
| 220 |
}
|
| 221 |
|
|
|
|
| 222 |
const observer = new IntersectionObserver(entries => {
|
| 223 |
entries.forEach(entry => {
|
| 224 |
if (entry.isIntersecting) {
|