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>Midnight Oud | 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; | |
| } | |
| .accordion-content { | |
| max-height: 0; | |
| overflow: hidden; | |
| transition: max-height 0.3s ease-out; | |
| } | |
| </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="#"><i data-feather="shopping-bag"></i></a> | |
| <button class="md:hidden"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Product Section --> | |
| <section class="py-12 px-6"> | |
| <div class="container mx-auto"> | |
| <div class="flex flex-col md:flex-row gap-12"> | |
| <!-- Product Images --> | |
| <div class="md:w-1/2"> | |
| <div class="mb-4 rounded overflow-hidden"> | |
| <img src="http://static.photos/black/640x360/1" alt="Midnight Oud" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="grid grid-cols-4 gap-2"> | |
| <div class="cursor-pointer border border-gray-200 rounded"> | |
| <img src="http://static.photos/black/200x200/1" alt="Midnight Oud" class="w-full h-20 object-cover"> | |
| </div> | |
| <div class="cursor-pointer border border-gray-200 rounded"> | |
| <img src="http://static.photos/black/200x200/2" alt="Midnight Oud" class="w-full h-20 object-cover"> | |
| </div> | |
| <div class="cursor-pointer border border-gray-200 rounded"> | |
| <img src="http://static.photos/black/200x200/3" alt="Midnight Oud" class="w-full h-20 object-cover"> | |
| </div> | |
| <div class="cursor-pointer border border-gray-200 rounded"> | |
| <img src="http://static.photos/black/200x200/4" alt="Midnight Oud" class="w-full h-20 object-cover"> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product Details --> | |
| <div class="md:w-1/2"> | |
| <div class="mb-4"> | |
| <span class="text-sm text-gray-500">Woody Collection</span> | |
| <h1 class="font-serif text-3xl mt-2">Midnight Oud</h1> | |
| <div class="flex items-center mt-2"> | |
| <div class="flex text-amber-300 mr-2"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| </div> | |
| <span class="text-sm text-gray-500">(24 reviews)</span> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <span class="text-2xl font-medium">$120.00</span> | |
| <p class="mt-4">A captivating blend of rare oud wood, smoky incense, and warm amber that evokes the mystery of moonlit nights in ancient forests.</p> | |
| </div> | |
| <div class="mb-6"> | |
| <h3 class="font-medium mb-2">Size</h3> | |
| <div class="flex space-x-2"> | |
| <button class="border border-gray-300 px-4 py-2 hover:bg-black hover:text-white transition">50ml</button> | |
| <button class="border border-gray-300 px-4 py-2 hover:bg-black hover:text-white transition">100ml</button> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="font-medium mb-2">Quantity</h3> | |
| <div class="flex items-center"> | |
| <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="flex flex-col space-y-4"> | |
| <button class="bg-black text-white py-3 font-medium hover:bg-gray-800 transition">Add to Cart</button> | |
| <button class="border border-black py-3 font-medium hover:bg-gray-100 transition">Add to Wishlist</button> | |
| </div> | |
| <div class="mt-8 border-t border-gray-200 pt-6"> | |
| <div class="accordion-item mb-4"> | |
| <button class="accordion-header flex justify-between items-center w-full text-left"> | |
| <span class="font-medium">Fragrance Notes</span> | |
| <i data-feather="chevron-down" class="w-5 h-5"></i> | |
| </button> | |
| <div class="accordion-content"> | |
| <div class="mt-4"> | |
| <div class="mb-2"> | |
| <span class="font-medium">Top Notes:</span> Bergamot, Saffron | |
| </div> | |
| <div class="mb-2"> | |
| <span class="font-medium">Heart Notes:</span> Oud, Rose, Incense | |
| </div> | |
| <div> | |
| <span class="font-medium">Base Notes:</span> Amber, Vanilla, Sandalwood | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="accordion-item mb-4"> | |
| <button class="accordion-header flex justify-between items-center w-full text-left"> | |
| <span class="font-medium">Shipping & Returns</span> | |
| <i data-feather="chevron-down" class="w-5 h-5"></i> | |
| </button> | |
| <div class="accordion-content"> | |
| <div class="mt-4"> | |
| <p>Free standard shipping on all orders. Express shipping available at checkout. Easy 30-day returns.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="accordion-item"> | |
| <button class="accordion-header flex justify-between items-center w-full text-left"> | |
| <span class="font-medium">Ingredients</span> | |
| <i data-feather="chevron-down" class="w-5 h-5"></i> | |
| </button> | |
| <div class="accordion-content"> | |
| <div class="mt-4"> | |
| <p>Alcohol Denat., Parfum (Fragrance), Aqua (Water), Limonene, Linalool, Coumarin, Benzyl Benzoate, Citral, Geraniol, Farnesol, Benzyl Alcohol, Citronellol.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Related Products --> | |
| <section class="py-12 px-6 bg-gray-50"> | |
| <div class="container mx-auto"> | |
| <h2 class="font-serif text-3xl text-center mb-12">You May Also Like</h2> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8"> | |
| <!-- Product 1 --> | |
| <div class="bg-white shadow-md rounded overflow-hidden"> | |
| <div class="relative perfume-card"> | |
| <img src="http://static.photos/white/640x360/5" alt="Dark Amber" class="w-full h-80 object-cover"> | |
| <div class="absolute inset-0 bg-black bg-opacity-0 flex items-center justify-center perfume-overlay opacity-0 transition"> | |
| <button class="bg-amber-200 text-black px-6 py-2 font-medium">Quick View</button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-serif text-xl">Dark Amber</h3> | |
| <p class="text-gray-600 mb-2">Oriental • Woody • Spicy</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-medium">$135</span> | |
| <button class="text-amber-200 hover:text-amber-300"> | |
| <i data-feather="shopping-cart"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="bg-white shadow-md rounded overflow-hidden"> | |
| <div class="relative perfume-card"> | |
| <img src="http://static.photos/white/640x360/6" alt="Tobacco Vanille" class="w-full h-80 object-cover"> | |
| <div class="absolute inset-0 bg-black bg-opacity-0 flex items-center justify-center perfume-overlay opacity-0 transition"> | |
| <button class="bg-amber-200 text-black px-6 py-2 font-medium">Quick View</button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-serif text-xl">Tobacco Vanille</h3> | |
| <p class="text-gray-600 mb-2">Tobacco • Vanilla • Spicy</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-medium">$125</span> | |
| <button class="text-amber-200 hover:text-amber-300"> | |
| <i data-feather="shopping-cart"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="bg-white shadow-md rounded overflow-hidden"> | |
| <div class="relative perfume-card"> | |
| <img src="http://static.photos/white/640x360/7" alt="Leather Oud" class="w-full h-80 object-cover"> | |
| <div class="absolute inset-0 bg-black bg-opacity-0 flex items-center justify-center perfume-overlay opacity-0 transition"> | |
| <button class="bg-amber-200 text-black px-6 py-2 font-medium">Quick View</button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-serif text-xl">Leather Oud</h3> | |
| <p class="text-gray-600 mb-2">Leather • Woody • Animalic</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-medium">$145</span> | |
| <button class="text-amber-200 hover:text-amber-300"> | |
| <i data-feather="shopping-cart"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="bg-white shadow-md rounded overflow-hidden"> | |
| <div class="relative perfume-card"> | |
| <img src="http://static.photos/white/640x360/8" alt="Patchouli Intense" class="w-full h-80 object-cover"> | |
| <div class="absolute inset-0 bg-black bg-opacity-0 flex items-center justify-center perfume-overlay opacity-0 transition"> | |
| <button class="bg-amber-200 text-black px-6 py-2 font-medium">Quick View</button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-serif text-xl">Patchouli Intense</h3> | |
| <p class="text-gray-600 mb-2">Patchouli • Woody • Earthy</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-medium">$115</span> | |
| <button class="text-amber-200 hover:text-amber-300"> | |
| <i data-feather="shopping-cart"></i> | |
| </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(); | |
| // Accordion functionality | |
| document.querySelectorAll('.accordion-header').forEach(button => { | |
| button.addEventListener('click', () => { | |
| const accordionContent = button.nextElementSibling; | |
| const icon = button.querySelector('i'); | |
| button.classList.toggle('active'); | |
| if (button.classList.contains('active')) { | |
| accordionContent.style.maxHeight = accordionContent.scrollHeight + 'px'; | |
| icon.setAttribute('data-feather', 'chevron-up'); | |
| } else { | |
| accordionContent.style.maxHeight = 0; | |
| icon.setAttribute('data-feather', 'chevron-down'); | |
| } | |
| feather.replace(); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |