Spaces:
Running

cool / cart.html
bobthebuilder12's picture
undefined - Initial Deployment
bc9cba8 verified
Raw History Blame Contribute Delete
10.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Shopping Cart | Louis Vuitton</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<script src="https://cdn.tailwindcss.com"></script>
<style>
.cart-item:hover .remove-btn {
opacity: 1;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header -->
<header class="bg-white shadow-sm py-4">
<div class="container mx-auto px-4 flex justify-between items-center">
<a href="/" class="text-2xl font-bold">LOUIS VUITTON</a>
<nav class="hidden md:flex space-x-6">
<a href="/women" class="hover:text-gray-600">Women</a>
<a href="/men" class="hover:text-gray-600">Men</a>
<a href="/art" class="hover:text-gray-600">Art & Travel</a>
<a href="/services" class="hover:text-gray-600">Services</a>
</nav>
<div class="flex items-center space-x-4">
<a href="/search" class="hover:text-gray-600"><i class="fas fa-search"></i></a>
<a href="/account" class="hover:text-gray-600"><i class="far fa-user"></i></a>
<a href="/wishlist" class="hover:text-gray-600"><i class="far fa-heart"></i></a>
<a href="/cart" class="hover:text-gray-600 relative">
<i class="fas fa-shopping-bag"></i>
<span class="absolute -top-2 -right-2 bg-black text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">2</span>
</a>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row gap-8">
<!-- Cart Items -->
<div class="md:w-2/3">
<h1 class="text-2xl font-bold mb-6">YOUR SHOPPING BAG (2)</h1>
<!-- Cart Item 1 -->
<div class="cart-item bg-white p-6 mb-4 shadow-sm relative">
<button class="remove-btn absolute top-4 right-4 text-gray-400 hover:text-black opacity-0 transition-opacity">
<i class="fas fa-times"></i>
</button>
<div class="flex flex-col md:flex-row gap-4">
<div class="w-full md:w-1/4">
<img src="http://static.photos/fashion/640x360/1" alt="Product" class="w-full">
</div>
<div class="w-full md:w-3/4">
<div class="flex justify-between">
<h2 class="font-bold">Capucines BB</h2>
<span class="font-bold">£3,250</span>
</div>
<p class="text-gray-600 mb-2">Black Taurillon Leather</p>
<div class="flex items-center space-x-4 mb-4">
<div class="flex items-center border border-gray-300">
<button class="px-3 py-1">-</button>
<span class="px-3">1</span>
<button class="px-3 py-1">+</button>
</div>
<button class="text-sm underline">Move to Wishlist</button>
</div>
<div class="flex space-x-4 text-sm">
<button class="underline">Edit</button>
<button class="underline">Save for later</button>
</div>
</div>
</div>
</div>
<!-- Cart Item 2 -->
<div class="cart-item bg-white p-6 mb-4 shadow-sm relative">
<button class="remove-btn absolute top-4 right-4 text-gray-400 hover:text-black opacity-0 transition-opacity">
<i class="fas fa-times"></i>
</button>
<div class="flex flex-col md:flex-row gap-4">
<div class="w-full md:w-1/4">
<img src="http://static.photos/fashion/640x360/2" alt="Product" class="w-full">
</div>
<div class="w-full md:w-3/4">
<div class="flex justify-between">
<h2 class="font-bold">LV Trainer</h2>
<span class="font-bold">£890</span>
</div>
<p class="text-gray-600 mb-2">White Monogram Denim</p>
<div class="flex items-center space-x-4 mb-4">
<div class="flex items-center border border-gray-300">
<button class="px-3 py-1">-</button>
<span class="px-3">1</span>
<button class="px-3 py-1">+</button>
</div>
<button class="text-sm underline">Move to Wishlist</button>
</div>
<div class="flex space-x-4 text-sm">
<button class="underline">Edit</button>
<button class="underline">Save for later</button>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-bold">DELIVERY OPTIONS</h3>
<button class="text-sm underline">Edit</button>
</div>
<div class="flex items-center space-x-4">
<i class="fas fa-home text-gray-400"></i>
<div>
<p class="font-medium">Home Delivery</p>
<p class="text-sm text-gray-600">Standard delivery: Free</p>
</div>
</div>
</div>
</div>
<!-- Order Summary -->
<div class="md:w-1/3">
<div class="bg-white p-6 shadow-sm sticky top-4">
<h2 class="font-bold text-xl mb-4">ORDER SUMMARY</h2>
<div class="space-y-4 mb-6">
<div class="flex justify-between">
<span>Subtotal</span>
<span>£4,140</span>
</div>
<div class="flex justify-between">
<span>Delivery</span>
<span>Free</span>
</div>
<div class="flex justify-between border-t border-gray-200 pt-4">
<span class="font-bold">Total</span>
<span class="font-bold">£4,140</span>
</div>
</div>
<button class="w-full bg-black text-white py-3 font-bold hover:bg-gray-800 transition-colors">
PROCEED TO CHECKOUT
</button>
<p class="text-xs text-gray-500 mt-4 text-center">
By placing your order, you agree to our Terms and Conditions and Privacy Policy
</p>
</div>
<div class="bg-white p-6 shadow-sm mt-4">
<h3 class="font-bold mb-4">NEED HELP?</h3>
<div class="space-y-2">
<a href="#" class="block hover:underline">Delivery Options</a>
<a href="#" class="block hover:underline">Returns & Exchanges</a>
<a href="#" class="block hover:underline">Payment Options</a>
<a href="#" class="block hover:underline">Contact Us</a>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-100 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="font-bold mb-4">SERVICES</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:underline">Store Locator</a></li>
<li><a href="#" class="hover:underline">Personalization</a></li>
<li><a href="#" class="hover:underline">Repair Services</a></li>
</ul>
</div>
<div>
<h3 class="font-bold mb-4">LEGAL</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:underline">Terms & Conditions</a></li>
<li><a href="#" class="hover:underline">Privacy Policy</a></li>
<li><a href="#" class="hover:underline">Cookie Policy</a></li>
</ul>
</div>
<div>
<h3 class="font-bold mb-4">COMPANY</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:underline">Careers</a></li>
<li><a href="#" class="hover:underline">Sustainability</a></li>
<li><a href="#" class="hover:underline">Foundation</a></li>
</ul>
</div>
<div>
<h3 class="font-bold mb-4">CONNECT WITH US</h3>
<div class="flex space-x-4">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
</div>
</div>
</div>
<div class="mt-12 text-center text-sm text-gray-600">
<p>© 2023 LOUIS VUITTON. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Initialize cart functionality
document.querySelectorAll('.remove-btn').forEach(btn => {
btn.addEventListener('click', function() {
this.closest('.cart-item').remove();
// Update cart count and total would go here
});
});
</script>
</body>
</html>