Spaces:
Running
Running
File size: 22,405 Bytes
0eea319 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Amazon Clone</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.dropdown:hover .dropdown-menu {
display: block;
}
.carousel {
scroll-behavior: smooth;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
</style>
</head>
<body class="bg-gray-100">
<!-- Header -->
<header class="bg-gray-900 text-white">
<div class="container mx-auto px-4 py-3">
<!-- Top Nav -->
<div class="flex items-center justify-between">
<div class="flex items-center">
<a href="#" class="text-2xl font-bold text-orange-400">myAmazon</a>
<div class="ml-6 hidden md:block">
<div class="relative">
<div class="flex items-center cursor-pointer hover:text-orange-300">
<i class="fas fa-map-marker-alt mr-1"></i>
<span>Deliver to <br>United States</span>
</div>
</div>
</div>
</div>
<!-- Search Bar -->
<div class="flex-1 mx-4 hidden md:block">
<div class="flex">
<select class="bg-gray-100 text-black px-2 rounded-l-md border-r border-gray-300">
<option>All</option>
<option>Electronics</option>
<option>Books</option>
<option>Home</option>
</select>
<input type="text" class="flex-1 px-4 py-2 text-black" placeholder="Search myAmazon">
<button class="bg-orange-400 hover:bg-orange-500 px-4 py-2 rounded-r-md">
<i class="fas fa-search"></i>
</button>
</div>
</div>
<!-- Right Nav -->
<div class="flex items-center space-x-4">
<div class="hidden md:block">
<div class="dropdown relative">
<button class="hover:text-orange-300">
<span class="text-xs">Hello, Sign in</span><br>
<span class="font-bold">Account & Lists</span>
</button>
<div class="dropdown-menu absolute hidden bg-white text-black mt-1 p-4 rounded shadow-lg w-48">
<a href="#" class="block py-1 hover:text-orange-500">Sign In</a>
<a href="#" class="block py-1 hover:text-orange-500">Create Account</a>
<hr class="my-2">
<a href="#" class="block py-1 hover:text-orange-500">Your Orders</a>
<a href="#" class="block py-1 hover:text-orange-500">Your Lists</a>
</div>
</div>
</div>
<div class="hidden md:block">
<a href="#" class="hover:text-orange-300">
<span class="text-xs">Returns</span><br>
<span class="font-bold">& Orders</span>
</a>
</div>
<div class="relative">
<a href="#" class="hover:text-orange-300">
<i class="fas fa-shopping-cart text-2xl"></i>
<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">0</span>
<span class="hidden md:inline font-bold">Cart</span>
</a>
</div>
<button class="md:hidden text-2xl" id="mobile-menu-button">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
<!-- Mobile Search (hidden on desktop) -->
<div class="mt-3 md:hidden">
<div class="flex">
<input type="text" class="flex-1 px-4 py-2 text-black rounded-l-md" placeholder="Search myAmazon">
<button class="bg-orange-400 hover:bg-orange-500 px-4 py-2 rounded-r-md">
<i class="fas fa-search"></i>
</button>
</div>
</div>
<!-- Bottom Nav -->
<nav class="hidden md:flex items-center mt-3 space-x-4 text-sm">
<a href="#" class="flex items-center hover:text-orange-300">
<i class="fas fa-bars mr-1"></i>
All
</a>
<a href="#" class="hover:text-orange-300">Today's Deals</a>
<a href="#" class="hover:text-orange-300">Customer Service</a>
<a href="#" class="hover:text-orange-300">Registry</a>
<a href="#" class="hover:text-orange-300">Gift Cards</a>
<a href="#" class="hover:text-orange-300">Sell</a>
</nav>
</div>
<!-- Mobile Menu (hidden by default) -->
<div class="hidden bg-gray-800 p-4" id="mobile-menu">
<a href="#" class="block py-2 hover:text-orange-300">All</a>
<a href="#" class="block py-2 hover:text-orange-300">Today's Deals</a>
<a href="#" class="block py-2 hover:text-orange-300">Customer Service</a>
<a href="#" class="block py-2 hover:text-orange-300">Registry</a>
<a href="#" class="block py-2 hover:text-orange-300">Gift Cards</a>
<a href="#" class="block py-2 hover:text-orange-300">Sell</a>
<hr class="my-2 border-gray-700">
<a href="#" class="block py-2 hover:text-orange-300">Sign In</a>
<a href="#" class="block py-2 hover:text-orange-300">Create Account</a>
</div>
</header>
<!-- Hero Section -->
<section class="bg-gray-100">
<div class="container mx-auto px-4 py-2">
<div class="relative overflow-hidden rounded-lg">
<div class="carousel flex overflow-x-auto snap-x snap-mandatory scroll-smooth" style="scrollbar-width: none;">
<div class="flex-none w-full snap-start">
<img src="https://m.media-amazon.com/images/I/61TD5JLGhIL._SX3000_.jpg" alt="Hero Banner" class="w-full">
</div>
<div class="flex-none w-full snap-start">
<img src="https://m.media-amazon.com/images/I/61jovjd+f9L._SX3000_.jpg" alt="Hero Banner" class="w-full">
</div>
<div class="flex-none w-full snap-start">
<img src="https://m.media-amazon.com/images/I/61DUO0NqyyL._SX3000_.jpg" alt="Hero Banner" class="w-full">
</div>
</div>
<div class="absolute bottom-4 left-0 right-0 flex justify-center space-x-2">
<button class="w-3 h-3 rounded-full bg-white opacity-50 hover:opacity-100" onclick="scrollCarousel(0)"></button>
<button class="w-3 h-3 rounded-full bg-white opacity-50 hover:opacity-100" onclick="scrollCarousel(1)"></button>
<button class="w-3 h-3 rounded-full bg-white opacity-50 hover:opacity-100" onclick="scrollCarousel(2)"></button>
</div>
</div>
</div>
</section>
<!-- Product Grid -->
<section class="container mx-auto px-4 py-6">
<h2 class="text-2xl font-bold mb-4">Today's Deals</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
<!-- Product Card 1 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/71Swqqe7XAL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">30% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Amazon Echo Dot (4th Gen)</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<span class="text-gray-600 text-sm ml-1">(12,345)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$29.99</span>
<span class="text-gray-500 line-through text-sm ml-2">$49.99</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
<!-- Product Card 2 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/71wSnZk+OIL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">20% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Apple AirPods Pro</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<span class="text-gray-600 text-sm ml-1">(45,678)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$199.00</span>
<span class="text-gray-500 line-through text-sm ml-2">$249.00</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
<!-- Product Card 3 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/71S8U9VzLTL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">15% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Samsung Galaxy Watch 5</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="far fa-star"></i>
</div>
<span class="text-gray-600 text-sm ml-1">(8,765)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$279.99</span>
<span class="text-gray-500 line-through text-sm ml-2">$329.99</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
<!-- Product Card 4 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/61L5QgPvgqL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">25% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Instant Pot Duo 7-in-1</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<span class="text-gray-600 text-sm ml-1">(56,789)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$79.95</span>
<span class="text-gray-500 line-through text-sm ml-2">$99.95</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
</div>
</section>
<!-- Categories Section -->
<section class="container mx-auto px-4 py-6">
<h2 class="text-2xl font-bold mb-4">Shop by Category</h2>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-laptop text-4xl text-blue-500"></i>
</div>
<span class="text-sm font-medium">Electronics</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-tshirt text-4xl text-purple-500"></i>
</div>
<span class="text-sm font-medium">Fashion</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-home text-4xl text-green-500"></i>
</div>
<span class="text-sm font-medium">Home</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-book text-4xl text-yellow-500"></i>
</div>
<span class="text-sm font-medium">Books</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-gamepad text-4xl text-red-500"></i>
</div>
<span class="text-sm font-medium">Games</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-utensils text-4xl text-orange-500"></i>
</div>
<span class="text-sm font-medium">Grocery</span>
</a>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="font-bold text-lg mb-4">Get to Know Us</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">Careers</a></li>
<li><a href="#" class="hover:text-orange-300">Blog</a></li>
<li><a href="#" class="hover:text-orange-300">About myAmazon</a></li>
<li><a href="#" class="hover:text-orange-300">Investor Relations</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Make Money with Us</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">Sell products</a></li>
<li><a href="#" class="hover:text-orange-300">Sell on myAmazon</a></li>
<li><a href="#" class="hover:text-orange-300">Become an Affiliate</a></li>
<li><a href="#" class="hover:text-orange-300">Advertise Your Products</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Payment Products</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">myAmazon Business Card</a></li>
<li><a href="#" class="hover:text-orange-300">Shop with Points</a></li>
<li><a href="#" class="hover:text-orange-300">Reload Your Balance</a></li>
<li><a href="#" class="hover:text-orange-300">myAmazon Currency Converter</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Let Us Help You</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">Your Account</a></li>
<li><a href="#" class="hover:text-orange-300">Your Orders</a></li>
<li><a href="#" class="hover:text-orange-300">Shipping Rates & Policies</a></li>
<li><a href="#" class="hover:text-orange-300">Returns & Replacements</a></li>
<li><a href="#" class="hover:text-orange-300">Help</a></li>
</ul>
</div>
</div>
<hr class="border-gray-700 my-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<img src="https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg" alt="Amazon Logo" class="h-6 mr-2">
<span class="text-sm">.com</span>
</div>
<div class="flex space-x-4">
<a href="#" class="text-sm hover:text-orange-300">Conditions of Use</a>
<a href="#" class="text-sm hover:text-orange-300">Privacy Notice</a>
<a href="#" class="text-sm hover:text-orange-300">Interest-Based Ads</a>
</div>
<div class="text-sm mt-4 md:mt-0">
© 1996-2023, myAmazon.com, Inc. or its affiliates
</div>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
});
// Carousel navigation
function scrollCarousel(index) {
const carousel = document.querySelector('.carousel');
const items = document.querySelectorAll('.carousel > div');
carousel.scrollTo({
left: items[index].offsetLeft,
behavior: 'smooth'
});
}
// Auto-scroll carousel
let currentSlide = 0;
setInterval(() => {
const carousel = document.querySelector('.carousel');
const items = document.querySelectorAll('.carousel > div');
currentSlide = (currentSlide + 1) % items.length;
carousel.scrollTo({
left: items[currentSlide].offsetLeft,
behavior: 'smooth'
});
}, 5000);
</script>
<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=ninajamy/mydeepsite" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |