| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>ElectroMart - Buy & Sell Electronics</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> |
| |
| .product-card:hover { |
| transform: translateY(-5px); |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); |
| } |
| |
| .category-btn.active { |
| background-color: #3b82f6; |
| color: white; |
| } |
| |
| @keyframes fadeIn { |
| from { opacity: 0; } |
| to { opacity: 1; } |
| } |
| |
| .fade-in { |
| animation: fadeIn 0.5s ease-in-out; |
| } |
| |
| .search-bar:focus { |
| outline: none; |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); |
| } |
| </style> |
| </head> |
| <body class="bg-gray-50 font-sans"> |
| |
| <header class="bg-white shadow-sm sticky top-0 z-50"> |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> |
| <div class="flex items-center space-x-2"> |
| <i class="fas fa-laptop-code text-blue-500 text-2xl"></i> |
| <h1 class="text-xl font-bold text-gray-800">Electro<span class="text-blue-500">Mart</span></h1> |
| </div> |
| |
| <div class="hidden md:flex flex-1 mx-8"> |
| <div class="relative w-full max-w-xl"> |
| <input type="text" placeholder="Search for products..." |
| class="search-bar w-full px-4 py-2 rounded-full border border-gray-300 focus:border-blue-500 transition"> |
| <button class="absolute right-0 top-0 h-full px-4 text-gray-500 hover:text-blue-500"> |
| <i class="fas fa-search"></i> |
| </button> |
| </div> |
| </div> |
| |
| <div class="flex items-center space-x-4"> |
| <button class="p-2 text-gray-600 hover:text-blue-500 relative"> |
| <i class="fas fa-heart text-xl"></i> |
| <span class="absolute -top-1 -right-1 bg-blue-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span> |
| </button> |
| <button class="p-2 text-gray-600 hover:text-blue-500 relative"> |
| <i class="fas fa-shopping-cart text-xl"></i> |
| <span class="absolute -top-1 -right-1 bg-blue-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">5</span> |
| </button> |
| <button class="hidden md:block px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition"> |
| Sell Product |
| </button> |
| <button class="p-2 text-gray-600 hover:text-blue-500 md:hidden"> |
| <i class="fas fa-bars text-xl"></i> |
| </button> |
| </div> |
| </div> |
| </header> |
|
|
| |
| <div class="md:hidden bg-white py-2 px-4 shadow-sm"> |
| <div class="relative"> |
| <input type="text" placeholder="Search for products..." |
| class="search-bar w-full px-4 py-2 rounded-full border border-gray-300 focus:border-blue-500 transition"> |
| <button class="absolute right-0 top-0 h-full px-4 text-gray-500 hover:text-blue-500"> |
| <i class="fas fa-search"></i> |
| </button> |
| </div> |
| </div> |
|
|
| |
| <section class="bg-gradient-to-r from-blue-500 to-indigo-600 text-white py-12"> |
| <div class="container mx-auto px-4 flex flex-col md:flex-row items-center"> |
| <div class="md:w-1/2 mb-8 md:mb-0 fade-in"> |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Upgrade Your Tech Life</h2> |
| <p class="text-lg mb-6">Discover the best deals on new and used electronics. Buy smart, sell fast!</p> |
| <div class="flex space-x-4"> |
| <button class="px-6 py-3 bg-white text-blue-600 rounded-md font-medium hover:bg-gray-100 transition"> |
| Shop Now |
| </button> |
| <button class="px-6 py-3 border border-white text-white rounded-md font-medium hover:bg-white hover:text-blue-600 transition"> |
| Sell Your Item |
| </button> |
| </div> |
| </div> |
| <div class="md:w-1/2 flex justify-center fade-in"> |
| <img src="https://images.unsplash.com/photo-1556740738-b6a63e27c4df?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" |
| alt="Electronics" class="rounded-lg shadow-xl max-h-80 w-auto object-cover"> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-8 bg-white"> |
| <div class="container mx-auto px-4"> |
| <h3 class="text-xl font-semibold mb-6 text-gray-800">Shop by Category</h3> |
| <div class="flex overflow-x-auto pb-4 space-x-3 scrollbar-hide"> |
| <button class="category-btn active flex-shrink-0 px-4 py-2 rounded-full bg-gray-100 text-gray-800 hover:bg-blue-100 transition"> |
| All Products |
| </button> |
| <button class="category-btn flex-shrink-0 px-4 py-2 rounded-full bg-gray-100 text-gray-800 hover:bg-blue-100 transition"> |
| Smartphones |
| </button> |
| <button class="category-btn flex-shrink-0 px-4 py-2 rounded-full bg-gray-100 text-gray-800 hover:bg-blue-100 transition"> |
| Laptops |
| </button> |
| <button class="category-btn flex-shrink-0 px-4 py-2 rounded-full bg-gray-100 text-gray-800 hover:bg-blue-100 transition"> |
| Cameras |
| </button> |
| <button class="category-btn flex-shrink-0 px-4 py-2 rounded-full bg-gray-100 text-gray-800 hover:bg-blue-100 transition"> |
| Audio |
| </button> |
| <button class="category-btn flex-shrink-0 px-4 py-2 rounded-full bg-gray-100 text-gray-800 hover:bg-blue-100 transition"> |
| Gaming |
| </button> |
| <button class="category-btn flex-shrink-0 px-4 py-2 rounded-full bg-gray-100 text-gray-800 hover:bg-blue-100 transition"> |
| Accessories |
| </button> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-12 bg-gray-50"> |
| <div class="container mx-auto px-4"> |
| <div class="flex justify-between items-center mb-8"> |
| <h3 class="text-2xl font-semibold text-gray-800">Featured Products</h3> |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">View All</a> |
| </div> |
| |
| <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6"> |
| |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> |
| <div class="relative"> |
| <img src="https://images.unsplash.com/photo-1601784551446-20c9e07cdbdb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1567&q=80" |
| alt="iPhone 13 Pro" class="w-full h-48 object-cover"> |
| <div class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded"> |
| -15% |
| </div> |
| </div> |
| <div class="p-4"> |
| <div class="flex justify-between items-start mb-2"> |
| <h4 class="font-semibold text-gray-800">iPhone 13 Pro</h4> |
| <button class="text-gray-400 hover:text-red-500"> |
| <i class="far fa-heart"></i> |
| </button> |
| </div> |
| <p class="text-sm text-gray-600 mb-3">128GB, Sierra Blue</p> |
| <div class="flex items-center mb-3"> |
| <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-xs text-gray-500 ml-1">(42)</span> |
| </div> |
| <div class="flex justify-between items-center"> |
| <div> |
| <span class="text-gray-500 line-through text-sm">$999</span> |
| <span class="text-blue-600 font-bold ml-2">$849</span> |
| </div> |
| <button class="bg-blue-500 text-white p-2 rounded-full hover:bg-blue-600 transition"> |
| <i class="fas fa-shopping-cart"></i> |
| </button> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> |
| <div class="relative"> |
| <img src="https://images.unsplash.com/photo-1611186871348-b1ce696e52c9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" |
| alt="MacBook Pro" class="w-full h-48 object-cover"> |
| </div> |
| <div class="p-4"> |
| <div class="flex justify-between items-start mb-2"> |
| <h4 class="font-semibold text-gray-800">MacBook Pro 14"</h4> |
| <button class="text-red-500"> |
| <i class="fas fa-heart"></i> |
| </button> |
| </div> |
| <p class="text-sm text-gray-600 mb-3">M1 Pro, 16GB, 512GB SSD</p> |
| <div class="flex items-center mb-3"> |
| <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-xs text-gray-500 ml-1">(28)</span> |
| </div> |
| <div class="flex justify-between items-center"> |
| <span class="text-blue-600 font-bold">$1,599</span> |
| <button class="bg-blue-500 text-white p-2 rounded-full hover:bg-blue-600 transition"> |
| <i class="fas fa-shopping-cart"></i> |
| </button> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> |
| <div class="relative"> |
| <img src="https://images.unsplash.com/photo-1592899677977-9c10ca588bbd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1528&q=80" |
| alt="Sony WH-1000XM4" class="w-full h-48 object-cover"> |
| <div class="absolute top-2 right-2 bg-green-500 text-white text-xs font-bold px-2 py-1 rounded"> |
| New |
| </div> |
| </div> |
| <div class="p-4"> |
| <div class="flex justify-between items-start mb-2"> |
| <h4 class="font-semibold text-gray-800">Sony WH-1000XM4</h4> |
| <button class="text-gray-400 hover:text-red-500"> |
| <i class="far fa-heart"></i> |
| </button> |
| </div> |
| <p class="text-sm text-gray-600 mb-3">Wireless Noise Cancelling</p> |
| <div class="flex items-center mb-3"> |
| <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-xs text-gray-500 ml-1">(67)</span> |
| </div> |
| <div class="flex justify-between items-center"> |
| <span class="text-blue-600 font-bold">$278</span> |
| <button class="bg-blue-500 text-white p-2 rounded-full hover:bg-blue-600 transition"> |
| <i class="fas fa-shopping-cart"></i> |
| </button> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> |
| <div class="relative"> |
| <img src="https://images.unsplash.com/photo-1593642632823-8f785ba67e45?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1632&q=80" |
| alt="PlayStation 5" class="w-full h-48 object-cover"> |
| <div class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded"> |
| Hot |
| </div> |
| </div> |
| <div class="p-4"> |
| <div class="flex justify-between items-start mb-2"> |
| <h4 class="font-semibold text-gray-800">PlayStation 5</h4> |
| <button class="text-gray-400 hover:text-red-500"> |
| <i class="far fa-heart"></i> |
| </button> |
| </div> |
| <p class="text-sm text-gray-600 mb-3">Disc Edition, 825GB SSD</p> |
| <div class="flex items-center mb-3"> |
| <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-xs text-gray-500 ml-1">(89)</span> |
| </div> |
| <div class="flex justify-between items-center"> |
| <span class="text-blue-600 font-bold">$499</span> |
| <button class="bg-blue-500 text-white p-2 rounded-full hover:bg-blue-600 transition"> |
| <i class="fas fa-shopping-cart"></i> |
| </button |
| <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=kr-manish/site" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
| </html> |