Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Shop - ShopSparkle</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <link rel="stylesheet" href="style.css"> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet"> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-12"> | |
| <div class="mb-12"> | |
| <h1 class="text-4xl font-bold text-gray-900 mb-6">Shop All Products</h1> | |
| <div class="flex flex-wrap gap-4 items-center justify-between"> | |
| <div class="text-gray-600">Explore our curated collection of premium tech products.</div> | |
| <div class="flex gap-3"> | |
| <button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Filter <i class="fas fa-sliders-h ml-2"></i></button> | |
| <button class="px-4 py-2 bg-white border rounded-lg hover:bg-gray-50 transition">Sort by: Featured <i class="fas fa-chevron-down ml-2"></i></button> | |
| </div> | |
| </div> | |
| <!-- Product Grid --> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8"> | |
| <!-- Product 1 --> | |
| <div class="product-card bg-white rounded-xl overflow-hidden shadow-lg"> | |
| <div class="relative"> | |
| <img src="http://static.photos/technology/320x240/301" alt="Wireless Headphones" class="w-full h-64 object-cover"> | |
| <span class="absolute top-4 left-4 bg-red-500 text-white text-xs px-3 py-1 rounded-full">SALE</span> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Wireless Headphones Pro</h3> | |
| <p class="text-gray-500 text-sm mb-4">Noise cancelling, 30h battery</p> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-2xl font-bold text-indigo-600">$299.99</span> | |
| <button onclick="addToCart('Wireless Headphones Pro', 299.99)" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition">Add to Cart</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="product-card bg-white rounded-xl overflow-hidden shadow-lg"> | |
| <img src="http://static.photos/technology/320x240/302" alt="Smart Watch" class="w-full h-64 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Smart Watch Ultra</h3> | |
| <p class="text-gray-500 text-sm mb-4">Fitness tracking, heart rate monitor</p> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-2xl font-bold text-indigo-600">$249.99</span> | |
| <button onclick="addToCart('Smart Watch Ultra', 249.99)" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition">Add to Cart</button> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="product-card bg-white rounded-xl overflow-hidden shadow-lg"> | |
| <img src="http://static.photos/technology/320x240/303" alt="Portable Speaker" class="w-full h-64 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Bluetooth Speaker Max</h3> | |
| <p class="text-gray-500 text-sm mb-4">360° sound, waterproof</p> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-2xl font-bold text-indigo-600">$89.99</span> | |
| <button onclick="addToCart('Bluetooth Speaker Max', 89.99)" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition">Add to Cart</button> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="product-card bg-white rounded-xl overflow-hidden shadow-lg"> | |
| <img src="http://static.photos/technology/320x240/304" alt="Gaming Mouse" class="w-full h-64 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">RGB Gaming Mouse</h3> | |
| <p class="text-gray-500 text-sm mb-4">16,000 DPI, programmable buttons</p> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-2xl font-bold text-indigo-600">$59.99</span> | |
| <button onclick="addToCart('RGB Gaming Mouse', 59.99)" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition">Add to Cart</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Pagination --> | |
| <div class="mt-16 flex justify-center"> | |
| <nav class="flex space-x-2"> | |
| <a href="#" class="px-4 py-2 bg-indigo-600 text-white rounded-lg">1</a> | |
| <a href="#" class="px-4 py-2 bg-white border rounded-lg hover:bg-gray-50 transition">2</a> | |
| <a href="#" class="px-4 py-2 bg-white border rounded-lg hover:bg-gray-50 transition">3</a> | |
| <a href="#" class="px-4 py-2 bg-white border rounded-lg hover:bg-gray-50 transition">Next →</a> | |
| </nav> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script>feather.replace();</script> | |
| </body> | |
| </html> |