error=invalid_client_id&error_description=client%20identifier%20invalid - Initial Deployment
Browse files- README.md +7 -5
- index.html +532 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: clone-app
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,532 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>QuickCart - Grocery Delivery in Minutes</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.category-scroll::-webkit-scrollbar {
|
| 11 |
+
display: none;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.product-scroll::-webkit-scrollbar {
|
| 15 |
+
display: none;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.cart-slide {
|
| 19 |
+
transform: translateX(100%);
|
| 20 |
+
transition: transform 0.3s ease-in-out;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.cart-slide.open {
|
| 24 |
+
transform: translateX(0);
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.search-bar:focus {
|
| 28 |
+
outline: none;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.offer-banner {
|
| 32 |
+
background: linear-gradient(90deg, #ff5e62, #ff9966);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.discount-badge {
|
| 36 |
+
background: linear-gradient(135deg, #ff5e62, #ff9966);
|
| 37 |
+
}
|
| 38 |
+
</style>
|
| 39 |
+
</head>
|
| 40 |
+
<body class="bg-gray-50 font-sans">
|
| 41 |
+
<!-- Header -->
|
| 42 |
+
<header class="bg-white shadow-sm sticky top-0 z-50">
|
| 43 |
+
<div class="container mx-auto px-4 py-3">
|
| 44 |
+
<div class="flex items-center justify-between">
|
| 45 |
+
<!-- Location and Delivery Time -->
|
| 46 |
+
<div class="flex items-center space-x-2">
|
| 47 |
+
<div class="text-orange-500">
|
| 48 |
+
<i class="fas fa-map-marker-alt"></i>
|
| 49 |
+
</div>
|
| 50 |
+
<div>
|
| 51 |
+
<p class="text-sm font-medium">Delivery to</p>
|
| 52 |
+
<div class="flex items-center">
|
| 53 |
+
<p class="text-xs font-semibold">Home</p>
|
| 54 |
+
<i class="fas fa-chevron-down text-xs ml-1"></i>
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
|
| 59 |
+
<!-- Search Bar -->
|
| 60 |
+
<div class="flex-1 mx-4">
|
| 61 |
+
<div class="relative">
|
| 62 |
+
<input type="text" placeholder="Search for products..."
|
| 63 |
+
class="w-full bg-gray-100 rounded-full py-2 px-4 pl-10 text-sm focus:ring-2 focus:ring-orange-300 search-bar">
|
| 64 |
+
<i class="fas fa-search absolute left-3 top-2.5 text-gray-400"></i>
|
| 65 |
+
</div>
|
| 66 |
+
</div>
|
| 67 |
+
|
| 68 |
+
<!-- Cart and Profile -->
|
| 69 |
+
<div class="flex items-center space-x-4">
|
| 70 |
+
<div class="relative">
|
| 71 |
+
<i class="fas fa-shopping-cart text-xl text-gray-700"></i>
|
| 72 |
+
<span class="absolute -top-2 -right-2 bg-orange-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span>
|
| 73 |
+
</div>
|
| 74 |
+
<div>
|
| 75 |
+
<i class="fas fa-user-circle text-xl text-gray-700"></i>
|
| 76 |
+
</div>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
</header>
|
| 81 |
+
|
| 82 |
+
<!-- Main Content -->
|
| 83 |
+
<main class="container mx-auto px-4 pb-20">
|
| 84 |
+
<!-- Offer Banner -->
|
| 85 |
+
<div class="mt-3 rounded-xl overflow-hidden offer-banner text-white p-4">
|
| 86 |
+
<div class="flex items-center justify-between">
|
| 87 |
+
<div>
|
| 88 |
+
<h3 class="font-bold text-lg">Get 50% OFF</h3>
|
| 89 |
+
<p class="text-sm mt-1">On your first order</p>
|
| 90 |
+
<button class="bg-white text-orange-500 px-3 py-1 rounded-full text-xs font-bold mt-2">ORDER NOW</button>
|
| 91 |
+
</div>
|
| 92 |
+
<div>
|
| 93 |
+
<img src="https://via.placeholder.com/100x80" alt="Offer" class="h-20">
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
|
| 98 |
+
<!-- Delivery Time -->
|
| 99 |
+
<div class="mt-4 bg-white rounded-lg shadow-sm p-3 flex items-center justify-between">
|
| 100 |
+
<div class="flex items-center">
|
| 101 |
+
<i class="fas fa-bolt text-orange-500 mr-2"></i>
|
| 102 |
+
<p class="text-sm font-medium">Delivery in 10 minutes</p>
|
| 103 |
+
</div>
|
| 104 |
+
<div>
|
| 105 |
+
<i class="fas fa-chevron-right text-gray-400"></i>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<!-- Categories -->
|
| 110 |
+
<div class="mt-4">
|
| 111 |
+
<h2 class="text-lg font-bold mb-3">Categories</h2>
|
| 112 |
+
<div class="flex space-x-4 overflow-x-auto pb-2 category-scroll">
|
| 113 |
+
<div class="flex flex-col items-center">
|
| 114 |
+
<div class="bg-white rounded-full p-3 shadow-sm">
|
| 115 |
+
<img src="https://cdn.pixabay.com/photo/2016/04/13/22/21/banana-1327878_640.png" alt="Fruits" class="h-8 w-8">
|
| 116 |
+
</div>
|
| 117 |
+
<p class="text-xs mt-1">Fruits</p>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="flex flex-col items-center">
|
| 120 |
+
<div class="bg-white rounded-full p-3 shadow-sm">
|
| 121 |
+
<img src="https://cdn.pixabay.com/photo/2016/03/05/19/02/tomato-1238255_640.jpg" alt="Vegetables" class="h-8 w-8">
|
| 122 |
+
</div>
|
| 123 |
+
<p class="text-xs mt-1">Vegetables</p>
|
| 124 |
+
</div>
|
| 125 |
+
<div class="flex flex-col items-center">
|
| 126 |
+
<div class="bg-white rounded-full p-3 shadow-sm">
|
| 127 |
+
<img src="https://cdn.pixabay.com/photo/2017/07/05/15/41/milk-2474993_640.png" alt="Dairy" class="h-8 w-8">
|
| 128 |
+
</div>
|
| 129 |
+
<p class="text-xs mt-1">Dairy</p>
|
| 130 |
+
</div>
|
| 131 |
+
<div class="flex flex-col items-center">
|
| 132 |
+
<div class="bg-white rounded-full p-3 shadow-sm">
|
| 133 |
+
<img src="https://cdn.pixabay.com/photo/2014/12/11/02/55/coke-563796_640.jpg" alt="Beverages" class="h-8 w-8">
|
| 134 |
+
</div>
|
| 135 |
+
<p class="text-xs mt-1">Beverages</p>
|
| 136 |
+
</div>
|
| 137 |
+
<div class="flex flex-col items-center">
|
| 138 |
+
<div class="bg-white rounded-full p-3 shadow-sm">
|
| 139 |
+
<img src="https://cdn.pixabay.com/photo/2016/03/05/20/00/chips-1239089_640.jpg" alt="Snacks" class="h-8 w-8">
|
| 140 |
+
</div>
|
| 141 |
+
<p class="text-xs mt-1">Snacks</p>
|
| 142 |
+
</div>
|
| 143 |
+
<div class="flex flex-col items-center">
|
| 144 |
+
<div class="bg-white rounded-full p-3 shadow-sm">
|
| 145 |
+
<img src="https://cdn.pixabay.com/photo/2018/02/25/07/15/meat-3179851_640.png" alt="Meat" class="h-8 w-8">
|
| 146 |
+
</div>
|
| 147 |
+
<p class="text-xs mt-1">Meat</p>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="flex flex-col items-center">
|
| 150 |
+
<div class="bg-white rounded-full p-3 shadow-sm">
|
| 151 |
+
<img src="https://cdn.pixabay.com/photo/2014/07/12/14/42/bread-389622_640.jpg" alt="Bakery" class="h-8 w-8">
|
| 152 |
+
</div>
|
| 153 |
+
<p class="text-xs mt-1">Bakery</p>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
|
| 158 |
+
<!-- Popular Products -->
|
| 159 |
+
<div class="mt-6">
|
| 160 |
+
<div class="flex items-center justify-between mb-3">
|
| 161 |
+
<h2 class="text-lg font-bold">Popular Products</h2>
|
| 162 |
+
<a href="#" class="text-orange-500 text-sm font-medium">See All</a>
|
| 163 |
+
</div>
|
| 164 |
+
<div class="grid grid-cols-2 gap-3">
|
| 165 |
+
<!-- Product 1 -->
|
| 166 |
+
<div class="bg-white rounded-lg shadow-sm p-3">
|
| 167 |
+
<div class="relative">
|
| 168 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="w-full rounded-lg">
|
| 169 |
+
<div class="absolute top-2 left-2 bg-orange-500 text-white text-xs px-2 py-1 rounded-full discount-badge">20% OFF</div>
|
| 170 |
+
</div>
|
| 171 |
+
<h3 class="text-sm font-medium mt-2">Fresh Apples</h3>
|
| 172 |
+
<p class="text-xs text-gray-500">1kg</p>
|
| 173 |
+
<div class="flex items-center justify-between mt-2">
|
| 174 |
+
<p class="text-sm font-bold">₹120</p>
|
| 175 |
+
<button class="bg-orange-500 text-white rounded-full h-6 w-6 flex items-center justify-center">
|
| 176 |
+
<i class="fas fa-plus text-xs"></i>
|
| 177 |
+
</button>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
|
| 181 |
+
<!-- Product 2 -->
|
| 182 |
+
<div class="bg-white rounded-lg shadow-sm p-3">
|
| 183 |
+
<div class="relative">
|
| 184 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="w-full rounded-lg">
|
| 185 |
+
<div class="absolute top-2 left-2 bg-orange-500 text-white text-xs px-2 py-1 rounded-full discount-badge">15% OFF</div>
|
| 186 |
+
</div>
|
| 187 |
+
<h3 class="text-sm font-medium mt-2">Banana</h3>
|
| 188 |
+
<p class="text-xs text-gray-500">6pcs</p>
|
| 189 |
+
<div class="flex items-center justify-between mt-2">
|
| 190 |
+
<p class="text-sm font-bold">₹45</p>
|
| 191 |
+
<button class="bg-orange-500 text-white rounded-full h-6 w-6 flex items-center justify-center">
|
| 192 |
+
<i class="fas fa-plus text-xs"></i>
|
| 193 |
+
</button>
|
| 194 |
+
</div>
|
| 195 |
+
</div>
|
| 196 |
+
|
| 197 |
+
<!-- Product 3 -->
|
| 198 |
+
<div class="bg-white rounded-lg shadow-sm p-3">
|
| 199 |
+
<div class="relative">
|
| 200 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="w-full rounded-lg">
|
| 201 |
+
</div>
|
| 202 |
+
<h3 class="text-sm font-medium mt-2">Milk</h3>
|
| 203 |
+
<p class="text-xs text-gray-500">1L</p>
|
| 204 |
+
<div class="flex items-center justify-between mt-2">
|
| 205 |
+
<p class="text-sm font-bold">₹60</p>
|
| 206 |
+
<button class="bg-orange-500 text-white rounded-full h-6 w-6 flex items-center justify-center">
|
| 207 |
+
<i class="fas fa-plus text-xs"></i>
|
| 208 |
+
</button>
|
| 209 |
+
</div>
|
| 210 |
+
</div>
|
| 211 |
+
|
| 212 |
+
<!-- Product 4 -->
|
| 213 |
+
<div class="bg-white rounded-lg shadow-sm p-3">
|
| 214 |
+
<div class="relative">
|
| 215 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="w-full rounded-lg">
|
| 216 |
+
<div class="absolute top-2 left-2 bg-orange-500 text-white text-xs px-2 py-1 rounded-full discount-badge">10% OFF</div>
|
| 217 |
+
</div>
|
| 218 |
+
<h3 class="text-sm font-medium mt-2">Bread</h3>
|
| 219 |
+
<p class="text-xs text-gray-500">400g</p>
|
| 220 |
+
<div class="flex items-center justify-between mt-2">
|
| 221 |
+
<p class="text-sm font-bold">₹35</p>
|
| 222 |
+
<button class="bg-orange-500 text-white rounded-full h-6 w-6 flex items-center justify-center">
|
| 223 |
+
<i class="fas fa-plus text-xs"></i>
|
| 224 |
+
</button>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
<!-- Deals of the Day -->
|
| 231 |
+
<div class="mt-6">
|
| 232 |
+
<div class="flex items-center justify-between mb-3">
|
| 233 |
+
<h2 class="text-lg font-bold">Deals of the Day</h2>
|
| 234 |
+
<a href="#" class="text-orange-500 text-sm font-medium">See All</a>
|
| 235 |
+
</div>
|
| 236 |
+
<div class="bg-white rounded-lg shadow-sm p-4">
|
| 237 |
+
<div class="flex items-center justify-between">
|
| 238 |
+
<div>
|
| 239 |
+
<h3 class="font-bold">Flash Sale</h3>
|
| 240 |
+
<p class="text-xs text-gray-500 mt-1">Ends in 4:32:15</p>
|
| 241 |
+
</div>
|
| 242 |
+
<div class="flex space-x-2">
|
| 243 |
+
<div class="bg-orange-100 text-orange-500 text-xs px-2 py-1 rounded">04</div>
|
| 244 |
+
<div class="bg-orange-100 text-orange-500 text-xs px-2 py-1 rounded">32</div>
|
| 245 |
+
<div class="bg-orange-100 text-orange-500 text-xs px-2 py-1 rounded">15</div>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
|
| 249 |
+
<div class="flex overflow-x-auto space-x-4 mt-4 pb-2 product-scroll">
|
| 250 |
+
<!-- Deal Product 1 -->
|
| 251 |
+
<div class="flex-shrink-0 w-32">
|
| 252 |
+
<img src="https://via.placeholder.com/120" alt="Deal Product" class="w-full rounded-lg">
|
| 253 |
+
<h3 class="text-sm font-medium mt-2">Potato Chips</h3>
|
| 254 |
+
<p class="text-xs text-gray-500">100g</p>
|
| 255 |
+
<div class="flex items-center justify-between mt-2">
|
| 256 |
+
<p class="text-sm font-bold">₹20</p>
|
| 257 |
+
<p class="text-xs line-through text-gray-400">₹25</p>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
|
| 261 |
+
<!-- Deal Product 2 -->
|
| 262 |
+
<div class="flex-shrink-0 w-32">
|
| 263 |
+
<img src="https://via.placeholder.com/120" alt="Deal Product" class="w-full rounded-lg">
|
| 264 |
+
<h3 class="text-sm font-medium mt-2">Soft Drink</h3>
|
| 265 |
+
<p class="text-xs text-gray-500">250ml</p>
|
| 266 |
+
<div class="flex items-center justify-between mt-2">
|
| 267 |
+
<p class="text-sm font-bold">₹30</p>
|
| 268 |
+
<p class="text-xs line-through text-gray-400">₹40</p>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
|
| 272 |
+
<!-- Deal Product 3 -->
|
| 273 |
+
<div class="flex-shrink-0 w-32">
|
| 274 |
+
<img src="https://via.placeholder.com/120" alt="Deal Product" class="w-full rounded-lg">
|
| 275 |
+
<h3 class="text-sm font-medium mt-2">Chocolate</h3>
|
| 276 |
+
<p class="text-xs text-gray-500">50g</p>
|
| 277 |
+
<div class="flex items-center justify-between mt-2">
|
| 278 |
+
<p class="text-sm font-bold">₹45</p>
|
| 279 |
+
<p class="text-xs line-through text-gray-400">₹60</p>
|
| 280 |
+
</div>
|
| 281 |
+
</div>
|
| 282 |
+
|
| 283 |
+
<!-- Deal Product 4 -->
|
| 284 |
+
<div class="flex-shrink-0 w-32">
|
| 285 |
+
<img src="https://via.placeholder.com/120" alt="Deal Product" class="w-full rounded-lg">
|
| 286 |
+
<h3 class="text-sm font-medium mt-2">Biscuits</h3>
|
| 287 |
+
<p class="text-xs text-gray-500">200g</p>
|
| 288 |
+
<div class="flex items-center justify-between mt-2">
|
| 289 |
+
<p class="text-sm font-bold">₹25</p>
|
| 290 |
+
<p class="text-xs line-through text-gray-400">₹35</p>
|
| 291 |
+
</div>
|
| 292 |
+
</div>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
</div>
|
| 296 |
+
|
| 297 |
+
<!-- Recommended for You -->
|
| 298 |
+
<div class="mt-6">
|
| 299 |
+
<div class="flex items-center justify-between mb-3">
|
| 300 |
+
<h2 class="text-lg font-bold">Recommended for You</h2>
|
| 301 |
+
<a href="#" class="text-orange-500 text-sm font-medium">See All</a>
|
| 302 |
+
</div>
|
| 303 |
+
<div class="grid grid-cols-2 gap-3">
|
| 304 |
+
<!-- Recommended Product 1 -->
|
| 305 |
+
<div class="bg-white rounded-lg shadow-sm p-3">
|
| 306 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="w-full rounded-lg">
|
| 307 |
+
<h3 class="text-sm font-medium mt-2">Tomatoes</h3>
|
| 308 |
+
<p class="text-xs text-gray-500">500g</p>
|
| 309 |
+
<div class="flex items-center justify-between mt-2">
|
| 310 |
+
<p class="text-sm font-bold">₹30</p>
|
| 311 |
+
<button class="bg-orange-500 text-white rounded-full h-6 w-6 flex items-center justify-center">
|
| 312 |
+
<i class="fas fa-plus text-xs"></i>
|
| 313 |
+
</button>
|
| 314 |
+
</div>
|
| 315 |
+
</div>
|
| 316 |
+
|
| 317 |
+
<!-- Recommended Product 2 -->
|
| 318 |
+
<div class="bg-white rounded-lg shadow-sm p-3">
|
| 319 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="w-full rounded-lg">
|
| 320 |
+
<h3 class="text-sm font-medium mt-2">Onions</h3>
|
| 321 |
+
<p class="text-xs text-gray-500">1kg</p>
|
| 322 |
+
<div class="flex items-center justify-between mt-2">
|
| 323 |
+
<p class="text-sm font-bold">₹40</p>
|
| 324 |
+
<button class="bg-orange-500 text-white rounded-full h-6 w-6 flex items-center justify-center">
|
| 325 |
+
<i class="fas fa-plus text-xs"></i>
|
| 326 |
+
</button>
|
| 327 |
+
</div>
|
| 328 |
+
</div>
|
| 329 |
+
</div>
|
| 330 |
+
</div>
|
| 331 |
+
</main>
|
| 332 |
+
|
| 333 |
+
<!-- Bottom Navigation -->
|
| 334 |
+
<nav class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200 z-50">
|
| 335 |
+
<div class="container mx-auto px-4">
|
| 336 |
+
<div class="flex justify-around py-3">
|
| 337 |
+
<a href="#" class="flex flex-col items-center text-orange-500">
|
| 338 |
+
<i class="fas fa-home text-xl"></i>
|
| 339 |
+
<span class="text-xs mt-1">Home</span>
|
| 340 |
+
</a>
|
| 341 |
+
<a href="#" class="flex flex-col items-center text-gray-500">
|
| 342 |
+
<i class="fas fa-search text-xl"></i>
|
| 343 |
+
<span class="text-xs mt-1">Search</span>
|
| 344 |
+
</a>
|
| 345 |
+
<a href="#" class="flex flex-col items-center text-gray-500">
|
| 346 |
+
<i class="fas fa-shopping-bag text-xl"></i>
|
| 347 |
+
<span class="text-xs mt-1">Orders</span>
|
| 348 |
+
</a>
|
| 349 |
+
<a href="#" class="flex flex-col items-center text-gray-500">
|
| 350 |
+
<i class="fas fa-user text-xl"></i>
|
| 351 |
+
<span class="text-xs mt-1">Account</span>
|
| 352 |
+
</a>
|
| 353 |
+
</div>
|
| 354 |
+
</div>
|
| 355 |
+
</nav>
|
| 356 |
+
|
| 357 |
+
<!-- Cart Sidebar -->
|
| 358 |
+
<div class="fixed inset-0 z-50 overflow-hidden cart-slide" id="cartSidebar">
|
| 359 |
+
<div class="absolute inset-0 bg-black bg-opacity-50" id="cartOverlay"></div>
|
| 360 |
+
<div class="absolute top-0 right-0 bottom-0 w-full max-w-md bg-white shadow-xl">
|
| 361 |
+
<div class="h-full flex flex-col">
|
| 362 |
+
<!-- Cart Header -->
|
| 363 |
+
<div class="bg-white border-b border-gray-200 p-4">
|
| 364 |
+
<div class="flex items-center justify-between">
|
| 365 |
+
<h2 class="text-lg font-bold">Your Cart (3)</h2>
|
| 366 |
+
<button class="text-gray-500" id="closeCart">
|
| 367 |
+
<i class="fas fa-times"></i>
|
| 368 |
+
</button>
|
| 369 |
+
</div>
|
| 370 |
+
<div class="flex items-center mt-2">
|
| 371 |
+
<i class="fas fa-map-marker-alt text-orange-500 mr-2"></i>
|
| 372 |
+
<p class="text-sm">Delivery to Home in 10 minutes</p>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
|
| 376 |
+
<!-- Cart Items -->
|
| 377 |
+
<div class="flex-1 overflow-y-auto p-4">
|
| 378 |
+
<!-- Cart Item 1 -->
|
| 379 |
+
<div class="flex items-center justify-between py-3 border-b border-gray-100">
|
| 380 |
+
<div class="flex items-center">
|
| 381 |
+
<img src="https://via.placeholder.com/60" alt="Product" class="h-12 w-12 rounded-lg">
|
| 382 |
+
<div class="ml-3">
|
| 383 |
+
<h3 class="text-sm font-medium">Fresh Apples</h3>
|
| 384 |
+
<p class="text-xs text-gray-500">1kg</p>
|
| 385 |
+
<p class="text-sm font-bold mt-1">₹120</p>
|
| 386 |
+
</div>
|
| 387 |
+
</div>
|
| 388 |
+
<div class="flex items-center bg-gray-100 rounded-full">
|
| 389 |
+
<button class="px-3 py-1 text-gray-500">-</button>
|
| 390 |
+
<span class="text-sm font-medium">1</span>
|
| 391 |
+
<button class="px-3 py-1 text-orange-500">+</button>
|
| 392 |
+
</div>
|
| 393 |
+
</div>
|
| 394 |
+
|
| 395 |
+
<!-- Cart Item 2 -->
|
| 396 |
+
<div class="flex items-center justify-between py-3 border-b border-gray-100">
|
| 397 |
+
<div class="flex items-center">
|
| 398 |
+
<img src="https://via.placeholder.com/60" alt="Product" class="h-12 w-12 rounded-lg">
|
| 399 |
+
<div class="ml-3">
|
| 400 |
+
<h3 class="text-sm font-medium">Banana</h3>
|
| 401 |
+
<p class="text-xs text-gray-500">6pcs</p>
|
| 402 |
+
<p class="text-sm font-bold mt-1">₹45</p>
|
| 403 |
+
</div>
|
| 404 |
+
</div>
|
| 405 |
+
<div class="flex items-center bg-gray-100 rounded-full">
|
| 406 |
+
<button class="px-3 py-1 text-gray-500">-</button>
|
| 407 |
+
<span class="text-sm font-medium">2</span>
|
| 408 |
+
<button class="px-3 py-1 text-orange-500">+</button>
|
| 409 |
+
</div>
|
| 410 |
+
</div>
|
| 411 |
+
|
| 412 |
+
<!-- Cart Item 3 -->
|
| 413 |
+
<div class="flex items-center justify-between py-3 border-b border-gray-100">
|
| 414 |
+
<div class="flex items-center">
|
| 415 |
+
<img src="https://via.placeholder.com/60" alt="Product" class="h-12 w-12 rounded-lg">
|
| 416 |
+
<div class="ml-3">
|
| 417 |
+
<h3 class="text-sm font-medium">Milk</h3>
|
| 418 |
+
<p class="text-xs text-gray-500">1L</p>
|
| 419 |
+
<p class="text-sm font-bold mt-1">₹60</p>
|
| 420 |
+
</div>
|
| 421 |
+
</div>
|
| 422 |
+
<div class="flex items-center bg-gray-100 rounded-full">
|
| 423 |
+
<button class="px-3 py-1 text-gray-500">-</button>
|
| 424 |
+
<span class="text-sm font-medium">1</span>
|
| 425 |
+
<button class="px-3 py-1 text-orange-500">+</button>
|
| 426 |
+
</div>
|
| 427 |
+
</div>
|
| 428 |
+
</div>
|
| 429 |
+
|
| 430 |
+
<!-- Cart Summary -->
|
| 431 |
+
<div class="border-t border-gray-200 p-4">
|
| 432 |
+
<div class="flex justify-between mb-2">
|
| 433 |
+
<p class="text-sm text-gray-600">Subtotal</p>
|
| 434 |
+
<p class="text-sm font-bold">₹225</p>
|
| 435 |
+
</div>
|
| 436 |
+
<div class="flex justify-between mb-2">
|
| 437 |
+
<p class="text-sm text-gray-600">Delivery Fee</p>
|
| 438 |
+
<p class="text-sm font-bold">₹10</p>
|
| 439 |
+
</div>
|
| 440 |
+
<div class="flex justify-between mb-4">
|
| 441 |
+
<p class="text-sm text-gray-600">Discount</p>
|
| 442 |
+
<p class="text-sm font-bold text-green-500">-₹30</p>
|
| 443 |
+
</div>
|
| 444 |
+
<div class="flex justify-between font-bold text-lg">
|
| 445 |
+
<p>Total</p>
|
| 446 |
+
<p>₹205</p>
|
| 447 |
+
</div>
|
| 448 |
+
<button class="w-full bg-orange-500 text-white py-3 rounded-lg font-bold mt-4">
|
| 449 |
+
Proceed to Checkout
|
| 450 |
+
</button>
|
| 451 |
+
</div>
|
| 452 |
+
</div>
|
| 453 |
+
</div>
|
| 454 |
+
</div>
|
| 455 |
+
|
| 456 |
+
<script>
|
| 457 |
+
// Toggle cart sidebar
|
| 458 |
+
const cartIcon = document.querySelector('.fa-shopping-cart').parentElement;
|
| 459 |
+
const cartSidebar = document.getElementById('cartSidebar');
|
| 460 |
+
const cartOverlay = document.getElementById('cartOverlay');
|
| 461 |
+
const closeCart = document.getElementById('closeCart');
|
| 462 |
+
|
| 463 |
+
cartIcon.addEventListener('click', () => {
|
| 464 |
+
cartSidebar.classList.add('open');
|
| 465 |
+
});
|
| 466 |
+
|
| 467 |
+
closeCart.addEventListener('click', () => {
|
| 468 |
+
cartSidebar.classList.remove('open');
|
| 469 |
+
});
|
| 470 |
+
|
| 471 |
+
cartOverlay.addEventListener('click', () => {
|
| 472 |
+
cartSidebar.classList.remove('open');
|
| 473 |
+
});
|
| 474 |
+
|
| 475 |
+
// Add to cart functionality
|
| 476 |
+
const addButtons = document.querySelectorAll('[class*="fa-plus"]');
|
| 477 |
+
addButtons.forEach(button => {
|
| 478 |
+
button.addEventListener('click', (e) => {
|
| 479 |
+
e.stopPropagation();
|
| 480 |
+
const productCard = button.closest('.bg-white');
|
| 481 |
+
const productName = productCard.querySelector('h3').textContent;
|
| 482 |
+
const productPrice = productCard.querySelector('p.text-sm.font-bold').textContent;
|
| 483 |
+
|
| 484 |
+
// In a real app, you would add this to your cart state
|
| 485 |
+
alert(`Added ${productName} to cart for ${productPrice}`);
|
| 486 |
+
|
| 487 |
+
// Update cart count
|
| 488 |
+
const cartCount = document.querySelector('.fa-shopping-cart').nextElementSibling;
|
| 489 |
+
let count = parseInt(cartCount.textContent);
|
| 490 |
+
cartCount.textContent = count + 1;
|
| 491 |
+
|
| 492 |
+
// Show cart sidebar
|
| 493 |
+
cartSidebar.classList.add('open');
|
| 494 |
+
});
|
| 495 |
+
});
|
| 496 |
+
|
| 497 |
+
// Quantity adjustment in cart
|
| 498 |
+
const quantityButtons = document.querySelectorAll('.bg-gray-100 button');
|
| 499 |
+
quantityButtons.forEach(button => {
|
| 500 |
+
button.addEventListener('click', () => {
|
| 501 |
+
const quantityDisplay = button.parentElement.querySelector('span');
|
| 502 |
+
let quantity = parseInt(quantityDisplay.textContent);
|
| 503 |
+
|
| 504 |
+
if (button.textContent === '+' && quantity < 10) {
|
| 505 |
+
quantityDisplay.textContent = quantity + 1;
|
| 506 |
+
} else if (button.textContent === '-' && quantity > 1) {
|
| 507 |
+
quantityDisplay.textContent = quantity - 1;
|
| 508 |
+
}
|
| 509 |
+
|
| 510 |
+
// In a real app, you would update the cart total here
|
| 511 |
+
});
|
| 512 |
+
});
|
| 513 |
+
</script>
|
| 514 |
+
|
| 515 |
+
<!-- Simplified API Integration -->
|
| 516 |
+
<script>
|
| 517 |
+
// This would be where you'd implement your actual API integration
|
| 518 |
+
// For now, we'll just log that the page loaded successfully
|
| 519 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 520 |
+
console.log('QuickCart loaded successfully');
|
| 521 |
+
|
| 522 |
+
// Example: You would fetch products from your backend API here
|
| 523 |
+
// fetch('/api/products')
|
| 524 |
+
// .then(response => response.json())
|
| 525 |
+
// .then(products => {
|
| 526 |
+
// console.log('Products loaded:', products);
|
| 527 |
+
// // Update the UI with the fetched products
|
| 528 |
+
// });
|
| 529 |
+
});
|
| 530 |
+
</script>
|
| 531 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=viswanani/clone-app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 532 |
+
</html>
|