mydeepsite / index.html
ninajamy's picture
my site amazon - Initial Deployment
0eea319 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Amazon Clone</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>
.dropdown:hover .dropdown-menu {
display: block;
}
.carousel {
scroll-behavior: smooth;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
</style>
</head>
<body class="bg-gray-100">
<!-- Header -->
<header class="bg-gray-900 text-white">
<div class="container mx-auto px-4 py-3">
<!-- Top Nav -->
<div class="flex items-center justify-between">
<div class="flex items-center">
<a href="#" class="text-2xl font-bold text-orange-400">myAmazon</a>
<div class="ml-6 hidden md:block">
<div class="relative">
<div class="flex items-center cursor-pointer hover:text-orange-300">
<i class="fas fa-map-marker-alt mr-1"></i>
<span>Deliver to <br>United States</span>
</div>
</div>
</div>
</div>
<!-- Search Bar -->
<div class="flex-1 mx-4 hidden md:block">
<div class="flex">
<select class="bg-gray-100 text-black px-2 rounded-l-md border-r border-gray-300">
<option>All</option>
<option>Electronics</option>
<option>Books</option>
<option>Home</option>
</select>
<input type="text" class="flex-1 px-4 py-2 text-black" placeholder="Search myAmazon">
<button class="bg-orange-400 hover:bg-orange-500 px-4 py-2 rounded-r-md">
<i class="fas fa-search"></i>
</button>
</div>
</div>
<!-- Right Nav -->
<div class="flex items-center space-x-4">
<div class="hidden md:block">
<div class="dropdown relative">
<button class="hover:text-orange-300">
<span class="text-xs">Hello, Sign in</span><br>
<span class="font-bold">Account & Lists</span>
</button>
<div class="dropdown-menu absolute hidden bg-white text-black mt-1 p-4 rounded shadow-lg w-48">
<a href="#" class="block py-1 hover:text-orange-500">Sign In</a>
<a href="#" class="block py-1 hover:text-orange-500">Create Account</a>
<hr class="my-2">
<a href="#" class="block py-1 hover:text-orange-500">Your Orders</a>
<a href="#" class="block py-1 hover:text-orange-500">Your Lists</a>
</div>
</div>
</div>
<div class="hidden md:block">
<a href="#" class="hover:text-orange-300">
<span class="text-xs">Returns</span><br>
<span class="font-bold">& Orders</span>
</a>
</div>
<div class="relative">
<a href="#" class="hover:text-orange-300">
<i class="fas fa-shopping-cart text-2xl"></i>
<span class="absolute -top-2 -right-2 bg-orange-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">0</span>
<span class="hidden md:inline font-bold">Cart</span>
</a>
</div>
<button class="md:hidden text-2xl" id="mobile-menu-button">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
<!-- Mobile Search (hidden on desktop) -->
<div class="mt-3 md:hidden">
<div class="flex">
<input type="text" class="flex-1 px-4 py-2 text-black rounded-l-md" placeholder="Search myAmazon">
<button class="bg-orange-400 hover:bg-orange-500 px-4 py-2 rounded-r-md">
<i class="fas fa-search"></i>
</button>
</div>
</div>
<!-- Bottom Nav -->
<nav class="hidden md:flex items-center mt-3 space-x-4 text-sm">
<a href="#" class="flex items-center hover:text-orange-300">
<i class="fas fa-bars mr-1"></i>
All
</a>
<a href="#" class="hover:text-orange-300">Today's Deals</a>
<a href="#" class="hover:text-orange-300">Customer Service</a>
<a href="#" class="hover:text-orange-300">Registry</a>
<a href="#" class="hover:text-orange-300">Gift Cards</a>
<a href="#" class="hover:text-orange-300">Sell</a>
</nav>
</div>
<!-- Mobile Menu (hidden by default) -->
<div class="hidden bg-gray-800 p-4" id="mobile-menu">
<a href="#" class="block py-2 hover:text-orange-300">All</a>
<a href="#" class="block py-2 hover:text-orange-300">Today's Deals</a>
<a href="#" class="block py-2 hover:text-orange-300">Customer Service</a>
<a href="#" class="block py-2 hover:text-orange-300">Registry</a>
<a href="#" class="block py-2 hover:text-orange-300">Gift Cards</a>
<a href="#" class="block py-2 hover:text-orange-300">Sell</a>
<hr class="my-2 border-gray-700">
<a href="#" class="block py-2 hover:text-orange-300">Sign In</a>
<a href="#" class="block py-2 hover:text-orange-300">Create Account</a>
</div>
</header>
<!-- Hero Section -->
<section class="bg-gray-100">
<div class="container mx-auto px-4 py-2">
<div class="relative overflow-hidden rounded-lg">
<div class="carousel flex overflow-x-auto snap-x snap-mandatory scroll-smooth" style="scrollbar-width: none;">
<div class="flex-none w-full snap-start">
<img src="https://m.media-amazon.com/images/I/61TD5JLGhIL._SX3000_.jpg" alt="Hero Banner" class="w-full">
</div>
<div class="flex-none w-full snap-start">
<img src="https://m.media-amazon.com/images/I/61jovjd+f9L._SX3000_.jpg" alt="Hero Banner" class="w-full">
</div>
<div class="flex-none w-full snap-start">
<img src="https://m.media-amazon.com/images/I/61DUO0NqyyL._SX3000_.jpg" alt="Hero Banner" class="w-full">
</div>
</div>
<div class="absolute bottom-4 left-0 right-0 flex justify-center space-x-2">
<button class="w-3 h-3 rounded-full bg-white opacity-50 hover:opacity-100" onclick="scrollCarousel(0)"></button>
<button class="w-3 h-3 rounded-full bg-white opacity-50 hover:opacity-100" onclick="scrollCarousel(1)"></button>
<button class="w-3 h-3 rounded-full bg-white opacity-50 hover:opacity-100" onclick="scrollCarousel(2)"></button>
</div>
</div>
</div>
</section>
<!-- Product Grid -->
<section class="container mx-auto px-4 py-6">
<h2 class="text-2xl font-bold mb-4">Today's Deals</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
<!-- Product Card 1 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/71Swqqe7XAL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">30% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Amazon Echo Dot (4th Gen)</h3>
<div class="flex items-center mb-2">
<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-gray-600 text-sm ml-1">(12,345)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$29.99</span>
<span class="text-gray-500 line-through text-sm ml-2">$49.99</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
<!-- Product Card 2 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/71wSnZk+OIL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">20% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Apple AirPods Pro</h3>
<div class="flex items-center mb-2">
<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-gray-600 text-sm ml-1">(45,678)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$199.00</span>
<span class="text-gray-500 line-through text-sm ml-2">$249.00</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
<!-- Product Card 3 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/71S8U9VzLTL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">15% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Samsung Galaxy Watch 5</h3>
<div class="flex items-center mb-2">
<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-gray-600 text-sm ml-1">(8,765)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$279.99</span>
<span class="text-gray-500 line-through text-sm ml-2">$329.99</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
<!-- Product Card 4 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card transition duration-300">
<div class="relative">
<img src="https://m.media-amazon.com/images/I/61L5QgPvgqL._AC_UY218_.jpg" alt="Product" class="w-full h-48 object-contain">
<div class="absolute top-2 left-2 bg-red-600 text-white text-xs px-2 py-1 rounded">25% off</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-1">Instant Pot Duo 7-in-1</h3>
<div class="flex items-center mb-2">
<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-gray-600 text-sm ml-1">(56,789)</span>
</div>
<div class="mb-2">
<span class="text-red-600 font-bold">$79.95</span>
<span class="text-gray-500 line-through text-sm ml-2">$99.95</span>
</div>
<p class="text-green-600 text-sm mb-3">Get it by tomorrow</p>
<button class="w-full bg-yellow-400 hover:bg-yellow-500 py-1 rounded-md font-medium">Add to Cart</button>
</div>
</div>
</div>
</section>
<!-- Categories Section -->
<section class="container mx-auto px-4 py-6">
<h2 class="text-2xl font-bold mb-4">Shop by Category</h2>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-laptop text-4xl text-blue-500"></i>
</div>
<span class="text-sm font-medium">Electronics</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-tshirt text-4xl text-purple-500"></i>
</div>
<span class="text-sm font-medium">Fashion</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-home text-4xl text-green-500"></i>
</div>
<span class="text-sm font-medium">Home</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-book text-4xl text-yellow-500"></i>
</div>
<span class="text-sm font-medium">Books</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-gamepad text-4xl text-red-500"></i>
</div>
<span class="text-sm font-medium">Games</span>
</a>
<a href="#" class="bg-white rounded-lg shadow-sm p-4 text-center hover:shadow-md transition duration-300">
<div class="w-16 h-16 mx-auto mb-2">
<i class="fas fa-utensils text-4xl text-orange-500"></i>
</div>
<span class="text-sm font-medium">Grocery</span>
</a>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="font-bold text-lg mb-4">Get to Know Us</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">Careers</a></li>
<li><a href="#" class="hover:text-orange-300">Blog</a></li>
<li><a href="#" class="hover:text-orange-300">About myAmazon</a></li>
<li><a href="#" class="hover:text-orange-300">Investor Relations</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Make Money with Us</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">Sell products</a></li>
<li><a href="#" class="hover:text-orange-300">Sell on myAmazon</a></li>
<li><a href="#" class="hover:text-orange-300">Become an Affiliate</a></li>
<li><a href="#" class="hover:text-orange-300">Advertise Your Products</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Payment Products</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">myAmazon Business Card</a></li>
<li><a href="#" class="hover:text-orange-300">Shop with Points</a></li>
<li><a href="#" class="hover:text-orange-300">Reload Your Balance</a></li>
<li><a href="#" class="hover:text-orange-300">myAmazon Currency Converter</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Let Us Help You</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-orange-300">Your Account</a></li>
<li><a href="#" class="hover:text-orange-300">Your Orders</a></li>
<li><a href="#" class="hover:text-orange-300">Shipping Rates & Policies</a></li>
<li><a href="#" class="hover:text-orange-300">Returns & Replacements</a></li>
<li><a href="#" class="hover:text-orange-300">Help</a></li>
</ul>
</div>
</div>
<hr class="border-gray-700 my-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<img src="https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg" alt="Amazon Logo" class="h-6 mr-2">
<span class="text-sm">.com</span>
</div>
<div class="flex space-x-4">
<a href="#" class="text-sm hover:text-orange-300">Conditions of Use</a>
<a href="#" class="text-sm hover:text-orange-300">Privacy Notice</a>
<a href="#" class="text-sm hover:text-orange-300">Interest-Based Ads</a>
</div>
<div class="text-sm mt-4 md:mt-0">
© 1996-2023, myAmazon.com, Inc. or its affiliates
</div>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
});
// Carousel navigation
function scrollCarousel(index) {
const carousel = document.querySelector('.carousel');
const items = document.querySelectorAll('.carousel > div');
carousel.scrollTo({
left: items[index].offsetLeft,
behavior: 'smooth'
});
}
// Auto-scroll carousel
let currentSlide = 0;
setInterval(() => {
const carousel = document.querySelector('.carousel');
const items = document.querySelectorAll('.carousel > div');
currentSlide = (currentSlide + 1) % items.length;
carousel.scrollTo({
left: items[currentSlide].offsetLeft,
behavior: 'smooth'
});
}, 5000);
</script>
<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=ninajamy/mydeepsite" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>