Spaces:
Running
Running
Create a modern, elegant, and responsive e-commerce website for selling luxury perfumes. The website should include:
f09c3f9 verified | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Your Cart | LUXE</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></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="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| } | |
| .font-serif { | |
| font-family: 'Cormorant Garamond', serif; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-white text-gray-800"> | |
| <!-- Navigation --> | |
| <nav class="bg-black text-white py-4 px-6 sticky top-0 z-50"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <a href="index.html" class="font-serif text-2xl font-bold text-gold-500">LUXE</a> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="index.html" class="hover:text-amber-200 transition">Home</a> | |
| <a href="#" class="hover:text-amber-200 transition">Shop</a> | |
| <a href="#" class="hover:text-amber-200 transition">Collections</a> | |
| <a href="#" class="hover:text-amber-200 transition">About</a> | |
| <a href="#" class="hover:text-amber-200 transition">Journal</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <a href="#"><i data-feather="search"></i></a> | |
| <a href="#"><i data-feather="user"></i></a> | |
| <a href="cart.html" class="relative"> | |
| <i data-feather="shopping-bag"></i> | |
| <span class="absolute -top-2 -right-2 bg-amber-200 text-black text-xs rounded-full w-5 h-5 flex items-center justify-center">2</span> | |
| </a> | |
| <button class="md:hidden"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Cart Section --> | |
| <section class="py-12 px-6"> | |
| <div class="container mx-auto"> | |
| <h1 class="font-serif text-3xl mb-8">Your Cart</h1> | |
| <div class="flex flex-col lg:flex-row gap-8"> | |
| <!-- Cart Items --> | |
| <div class="lg:w-2/3"> | |
| <div class="bg-gray-50 p-6 rounded"> | |
| <div class="hidden md:grid grid-cols-12 gap-4 border-b border-gray-200 pb-4 mb-4"> | |
| <div class="col-span-5 font-medium">Product</div> | |
| <div class="col-span-2 font-medium text-center">Price</div> | |
| <div class="col-span-3 font-medium text-center">Quantity</div> | |
| <div class="col-span-2 font-medium text-right">Total</div> | |
| </div> | |
| <!-- Cart Item 1 --> | |
| <div class="grid grid-cols-1 md:grid-cols-12 gap-4 border-b border-gray-200 py-6"> | |
| <div class="col-span-5 flex items-center"> | |
| <div class="w-20 h-20 rounded overflow-hidden mr-4"> | |
| <img src="http://static.photos/black/200x200/1" alt="Midnight Oud" class="w-full h-full object-cover"> | |
| </div> | |
| <div> | |
| <h3 class="font-medium">Midnight Oud</h3> | |
| <p class="text-sm text-gray-500">50ml</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex md:block items-center"> | |
| <span class="md:hidden font-medium mr-2">Price:</span> | |
| <span class="text-center">$120.00</span> | |
| </div> | |
| <div class="col-span-3 flex items-center"> | |
| <div class="flex items-center mx-auto"> | |
| <button class="border border-gray-300 px-3 py-1">-</button> | |
| <input type="number" value="1" min="1" class="border-t border-b border-gray-300 w-12 text-center py-1"> | |
| <button class="border border-gray-300 px-3 py-1">+</button> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex md:block items-center justify-end"> | |
| <span class="md:hidden font-medium mr-2">Total:</span> | |
| <span>$120.00</span> | |
| <button class="ml-4 text-gray-400 hover:text-black md:ml-0"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Cart Item 2 --> | |
| <div class="grid grid-cols-1 md:grid-cols-12 gap-4 border-b border-gray-200 py-6"> | |
| <div class="col-span-5 flex items-center"> | |
| <div class="w-20 h-20 rounded overflow-hidden mr-4"> | |
| <img src="http://static.photos/white/200x200/2" alt="Rose Velvet" class="w-full h-full object-cover"> | |
| </div> | |
| <div> | |
| <h3 class="font-medium">Rose Velvet</h3> | |
| <p class="text-sm text-gray-500">100ml</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex md:block items-center"> | |
| <span class="md:hidden font-medium mr-2">Price:</span> | |
| <span class="text-center">$95.00</span> | |
| </div> | |
| <div class="col-span-3 flex items-center"> | |
| <div class="flex items-center mx-auto"> | |
| <button class="border border-gray-300 px-3 py-1">-</button> | |
| <input type="number" value="1" min="1" class="border-t border-b border-gray-300 w-12 text-center py-1"> | |
| <button class="border border-gray-300 px-3 py-1">+</button> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex md:block items-center justify-end"> | |
| <span class="md:hidden font-medium mr-2">Total:</span> | |
| <span>$95.00</span> | |
| <button class="ml-4 text-gray-400 hover:text-black md:ml-0"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex justify-between items-center pt-6"> | |
| <a href="#" class="text-gray-500 hover:text-black flex items-center"> | |
| <i data-feather="arrow-left" class="w-4 h-4 mr-2"></i> | |
| Continue Shopping | |
| </a> | |
| <button class="text-gray-500 hover:text-black"> | |
| Update Cart | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Order Summary --> | |
| <div class="lg:w-1/3"> | |
| <div class="bg-gray-50 p-6 rounded"> | |
| <h2 class="font-serif text-xl mb-6">Order Summary</h2> | |
| <div class="space-y-4 mb-6"> | |
| <div class="flex justify-between"> | |
| <span>Subtotal</span> | |
| <span>$215.00</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span>Shipping</span> | |
| <span>Free</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span>Tax</span> | |
| <span>$17.20</span> | |
| </div> | |
| <div class="border-t border-gray-200 pt-4 flex justify-between font-medium"> | |
| <span>Total</span> | |
| <span>$232.20</span> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="discount" class="block text-sm font-medium mb-2">Discount Code</label> | |
| <div class="flex"> | |
| <input type="text" id="discount" placeholder="Enter code" class="flex-grow border border-gray-300 px-4 py-2"> | |
| <button class="bg-black text-white px-4 py-2 hover:bg-gray-800 transition">Apply</button> | |
| </div> | |
| </div> | |
| <button class="w-full bg-amber-200 text-black py-3 font-medium hover:bg-amber-300 transition mb-4"> | |
| Proceed to Checkout | |
| </button> | |
| <div class="text-center text-sm text-gray-500"> | |
| <p>or</p> | |
| <button class="text-black underline mt-2">Check out with PayPal</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12 px-6"> | |
| <div class="container mx-auto"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="font-serif text-xl mb-4">LUXE</h3> | |
| <p class="mb-4">Crafting timeless fragrances since 1985.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#"><i data-feather="instagram"></i></a> | |
| <a href="#"><i data-feather="facebook"></i></a> | |
| <a href="#"><i data-feather="twitter"></i></a> | |
| <a href="#"><i data-feather="pinterest"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="font-medium mb-4">Shop</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-amber-200 transition">All Perfumes</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">Best Sellers</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">New Arrivals</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">Gift Sets</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-medium mb-4">About</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-amber-200 transition">Our Story</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">Master Perfumers</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">Sustainability</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">Press</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-medium mb-4">Customer Care</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-amber-200 transition">Contact Us</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">FAQs</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">Shipping & Returns</a></li> | |
| <li><a href="#" class="hover:text-amber-200 transition">Privacy Policy</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500"> | |
| <p>© 2023 LUXE Perfumes. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |