lootbajar / index.html
pathan9991's picture
Create a e commerce website for my business - Initial Deployment
47b99df verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ShopSphere | Premium E-Commerce</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>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<style>
.hero-bg {
background: linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(76,29,149,0.9) 100%);
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.cart-badge {
top: -8px;
right: -8px;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-lg sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="#" class="flex-shrink-0 flex items-center">
<i data-feather="shopping-bag" class="h-8 w-8 text-indigo-600"></i>
<span class="ml-2 text-xl font-bold text-gray-900">ShopSphere</span>
</a>
</div>
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
<a href="#" class="text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 border-indigo-500 text-sm font-medium">Home</a>
<a href="#" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">Shop</a>
<a href="#" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">Categories</a>
<a href="#" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">About</a>
<a href="#" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">Contact</a>
<div class="relative">
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none">
<i data-feather="shopping-cart" class="h-6 w-6"></i>
<span class="absolute cart-badge inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-white transform translate-x-1/2 -translate-y-1/2 bg-red-500 rounded-full">3</span>
</button>
</div>
<button class="ml-4 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Sign In
</button>
</div>
<div class="-mr-2 flex items-center md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500">
<i data-feather="menu" class="h-6 w-6"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div id="hero" class="hero-bg text-white">
<div class="max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8">
<div class="text-center">
<h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl" data-aos="fade-down">
Discover Amazing Products
</h1>
<p class="mt-6 max-w-lg mx-auto text-xl" data-aos="fade-up" data-aos-delay="100">
Shop the latest trends in fashion, electronics, and home goods with free shipping on all orders.
</p>
<div class="mt-10" data-aos="fade-up" data-aos-delay="200">
<a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-indigo-700 bg-white hover:bg-gray-50">
Shop Now
<i data-feather="arrow-right" class="ml-2"></i>
</a>
</div>
</div>
</div>
</div>
<!-- Featured Categories -->
<div class="bg-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up">
Shop by Category
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto" data-aos="fade-up" data-aos-delay="100">
Browse our wide selection of products
</p>
</div>
<div class="grid grid-cols-2 gap-6 md:grid-cols-4">
<a href="#" class="group relative bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-all duration-300" data-aos="fade-up">
<div class="aspect-w-1 aspect-h-1 bg-gray-200 group-hover:opacity-75">
<img src="http://static.photos/fashion/640x360/1" alt="Fashion" class="w-full h-full object-center object-cover">
</div>
<div class="p-4">
<h3 class="text-sm font-medium text-gray-900">
Fashion
</h3>
<p class="mt-1 text-sm text-gray-500">Shop now</p>
</div>
</a>
<a href="#" class="group relative bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-all duration-300" data-aos="fade-up" data-aos-delay="100">
<div class="aspect-w-1 aspect-h-1 bg-gray-200 group-hover:opacity-75">
<img src="http://static.photos/technology/640x360/2" alt="Electronics" class="w-full h-full object-center object-cover">
</div>
<div class="p-4">
<h3 class="text-sm font-medium text-gray-900">
Electronics
</h3>
<p class="mt-1 text-sm text-gray-500">Shop now</p>
</div>
</a>
<a href="#" class="group relative bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-all duration-300" data-aos="fade-up" data-aos-delay="200">
<div class="aspect-w-1 aspect-h-1 bg-gray-200 group-hover:opacity-75">
<img src="http://static.photos/home/640x360/3" alt="Home" class="w-full h-full object-center object-cover">
</div>
<div class="p-4">
<h3 class="text-sm font-medium text-gray-900">
Home & Living
</h3>
<p class="mt-1 text-sm text-gray-500">Shop now</p>
</div>
</a>
<a href="#" class="group relative bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-all duration-300" data-aos="fade-up" data-aos-delay="300">
<div class="aspect-w-1 aspect-h-1 bg-gray-200 group-hover:opacity-75">
<img src="http://static.photos/beauty/640x360/4" alt="Beauty" class="w-full h-full object-center object-cover">
</div>
<div class="p-4">
<h3 class="text-sm font-medium text-gray-900">
Beauty
</h3>
<p class="mt-1 text-sm text-gray-500">Shop now</p>
</div>
</a>
</div>
</div>
</div>
<!-- Featured Products -->
<div class="bg-gray-50 py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up">
Featured Products
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto" data-aos="fade-up" data-aos-delay="100">
Our most popular products this week
</p>
</div>
<div class="grid grid-cols-1 gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-4">
<!-- Product 1 -->
<div class="group relative product-card bg-white p-6 rounded-lg shadow-md transition-all duration-300" data-aos="fade-up">
<div class="w-full min-h-80 bg-gray-200 aspect-w-1 aspect-h-1 rounded-md overflow-hidden group-hover:opacity-75">
<img src="http://static.photos/fashion/640x360/5" alt="Product 1" class="w-full h-full object-center object-cover">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Premium T-Shirt
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Black</p>
</div>
<p class="text-sm font-medium text-gray-900">$29.99</p>
</div>
<button class="mt-4 w-full bg-indigo-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Add to cart
<i data-feather="shopping-cart" class="ml-2 h-4 w-4"></i>
</button>
</div>
<!-- Product 2 -->
<div class="group relative product-card bg-white p-6 rounded-lg shadow-md transition-all duration-300" data-aos="fade-up" data-aos-delay="100">
<div class="w-full min-h-80 bg-gray-200 aspect-w-1 aspect-h-1 rounded-md overflow-hidden group-hover:opacity-75">
<img src="http://static.photos/technology/640x360/6" alt="Product 2" class="w-full h-full object-center object-cover">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Wireless Headphones
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Black</p>
</div>
<p class="text-sm font-medium text-gray-900">$99.99</p>
</div>
<button class="mt-4 w-full bg-indigo-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Add to cart
<i data-feather="shopping-cart" class="ml-2 h-4 w-4"></i>
</button>
</div>
<!-- Product 3 -->
<div class="group relative product-card bg-white p-6 rounded-lg shadow-md transition-all duration-300" data-aos="fade-up" data-aos-delay="200">
<div class="w-full min-h-80 bg-gray-200 aspect-w-1 aspect-h-1 rounded-md overflow-hidden group-hover:opacity-75">
<img src="http://static.photos/home/640x360/7" alt="Product 3" class="w-full h-full object-center object-cover">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Ceramic Mug
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">White</p>
</div>
<p class="text-sm font-medium text-gray-900">$14.99</p>
</div>
<button class="mt-4 w-full bg-indigo-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Add to cart
<i data-feather="shopping-cart" class="ml-2 h-4 w-4"></i>
</button>
</div>
<!-- Product 4 -->
<div class="group relative product-card bg-white p-6 rounded-lg shadow-md transition-all duration-300" data-aos="fade-up" data-aos-delay="300">
<div class="w-full min-h-80 bg-gray-200 aspect-w-1 aspect-h-1 rounded-md overflow-hidden group-hover:opacity-75">
<img src="http://static.photos/beauty/640x360/8" alt="Product 4" class="w-full h-full object-center object-cover">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Luxury Perfume
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">50ml</p>
</div>
<p class="text-sm font-medium text-gray-900">$79.99</p>
</div>
<button class="mt-4 w-full bg-indigo-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Add to cart
<i data-feather="shopping-cart" class="ml-2 h-4 w-4"></i>
</button>
</div>
</div>
<div class="mt-12 text-center">
<a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700">
View All Products
<i data-feather="arrow-right" class="ml-2"></i>
</a>
</div>
</div>
</div>
<!-- Testimonials -->
<div class="bg-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up">
What Our Customers Say
</h2>
</div>
<div class="grid grid-cols-1 gap-8 md:grid-cols-3">
<div class="bg-gray-50 p-8 rounded-lg shadow-sm" data-aos="fade-up">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-12 w-12 rounded-full" src="http://static.photos/people/200x200/1" alt="Customer 1">
</div>
<div class="ml-4">
<div class="text-lg font-medium text-gray-900">Sarah Johnson</div>
<div class="text-indigo-600">
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
</div>
</div>
</div>
<p class="mt-4 text-gray-600">
"The quality of products is outstanding and the delivery was super fast. Will definitely shop here again!"
</p>
</div>
<div class="bg-gray-50 p-8 rounded-lg shadow-sm" data-aos="fade-up" data-aos-delay="100">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-12 w-12 rounded-full" src="http://static.photos/people/200x200/2" alt="Customer 2">
</div>
<div class="ml-4">
<div class="text-lg font-medium text-gray-900">Michael Chen</div>
<div class="text-indigo-600">
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
</div>
</div>
</div>
<p class="mt-4 text-gray-600">
"Excellent customer service! They helped me with my order issue immediately. Highly recommended!"
</p>
</div>
<div class="bg-gray-50 p-8 rounded-lg shadow-sm" data-aos="fade-up" data-aos-delay="200">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-12 w-12 rounded-full" src="http://static.photos/people/200x200/3" alt="Customer 3">
</div>
<div class="ml-4">
<div class="text-lg font-medium text-gray-900">Emma Rodriguez</div>
<div class="text-indigo-600">
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
<i data-feather="star" class="inline h-4 w-4 fill-current"></i>
</div>
</div>
</div>
<p class="mt-4 text-gray-600">
"I love the variety of products available. Found exactly what I was looking for at a great price."
</p>
</div>
</div>
</div>
</div>
<!-- Newsletter -->
<div class="bg-indigo-700">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center">
<div class="lg:w-0 lg:flex-1" data-aos="fade-right">
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
Sign up for our newsletter
</h2>
<p class="mt-3 max-w-3xl text-lg leading-6 text-indigo-200">
Get the latest updates on new products and upcoming sales
</p>
</div>
<div class="mt-8 lg:mt-0 lg:ml-8" data-aos="fade-left">
<form class="sm:flex">
<label for="email-address" class="sr-only">Email address</label>
<input id="email-address" name="email" type="email" autocomplete="email" required class="w-full px-5 py-3 border border-transparent placeholder-gray-500 focus:ring-2 focus:ring-offset-2 focus:ring-offset-indigo-700 focus:ring-white focus:border-white sm:max-w-xs rounded-md" placeholder="Enter your email">
<div class="mt-3 rounded-md shadow sm:mt-0 sm:ml-3 sm:flex-shrink-0">
<button type="submit" class="w-full flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-indigo-700 focus:ring-white">
Subscribe
</button>
</div>
</form>
<p class="mt-3 text-sm text-indigo-200">
We care about your data. Read our <a href="#" class="text-white font-medium underline">Privacy Policy</a>.
</p>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-800">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 gap-8 md:grid-cols-4">
<div>
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Shop</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-300 hover:text-white">All Products</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">New Arrivals</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Featured</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Deals</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Support</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-300 hover:text-white">Contact Us</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">FAQs</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Shipping</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Returns</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Company</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-300 hover:text-white">About Us</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Careers</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Blog</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Press</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Legal</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-300 hover:text-white">Privacy</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Terms</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">Cookie Policy</a></li>
<li><a href="#" class="text-base text-gray-300 hover:text-white">GDPR</a></li>
</ul>
</div>
</div>
<div class="mt-12 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between items-center">
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="instagram" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="youtube" class="h-6 w-6"></i>
</a>
</div>
<p class="mt-8 md:mt-0 text-base text-gray-400">
&copy; 2023 ShopSphere. All rights reserved.
</p>
</div>
</div>
</footer>
<script>
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
feather.replace();
// Initialize Vanta.js globe effect on hero section
VANTA.GLOBE({
el: "#hero",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3f83f8,
backgroundColor: 0x1e3a8a,
size: 0.8
});
</script>
</body>
</html>