KhingLeo1's picture
can i add more features you think is going help the system and can i get an admin page where admin can update and edit and delete also can i have a graph chart in the admin page so he or she can follow sale made in the month and amount of money made in a year
3c39635 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ShopSphere - Discover Amazing Products</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></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.net.min.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<!-- Hero Section -->
<div id="vanta-bg" class="relative h-96 flex items-center justify-center text-white">
<div class="absolute inset-0 bg-black opacity-40"></div>
<div class="relative z-10 text-center px-4">
<h1 class="text-4xl md:text-6xl font-bold mb-4">Welcome to ShopSphere</h1>
<p class="text-xl md:text-2xl mb-8">Discover amazing products at unbeatable prices</p>
<a href="/products.html" class="bg-indigo-600 hover:bg-indigo-700 text-white px-8 py-3 rounded-full font-semibold transition duration-300 inline-block">Shop Now</a>
</div>
</div>
<!-- Featured Categories -->
<section class="py-12 px-4 max-w-7xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-12">Shop by Category</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<a href="/products.html?category=electronics" class="category-card group">
<div class="bg-white rounded-lg shadow-md overflow-hidden transition-transform duration-300 group-hover:scale-105">
<img src="http://static.photos/technology/640x360/1" alt="Electronics" class="w-full h-48 object-cover">
<div class="p-4">
<h3 class="text-xl font-semibold">Electronics</h3>
<p class="text-gray-600 mt-2">Latest gadgets and devices</p>
</div>
</div>
</a>
<a href="/products.html?category=fashion" class="category-card group">
<div class="bg-white rounded-lg shadow-md overflow-hidden transition-transform duration-300 group-hover:scale-105">
<img src="http://static.photos/fashion/640x360/2" alt="Fashion" class="w-full h-48 object-cover">
<div class="p-4">
<h3 class="text-xl font-semibold">Fashion</h3>
<p class="text-gray-600 mt-2">Trendy clothes and accessories</p>
</div>
</div>
</a>
<a href="/products.html?category=home" class="category-card group">
<div class="bg-white rounded-lg shadow-md overflow-hidden transition-transform duration-300 group-hover:scale-105">
<img src="http://static.photos/home/640x360/3" alt="Home" class="w-full h-48 object-cover">
<div class="p-4">
<h3 class="text-xl font-semibold">Home & Living</h3>
<p class="text-gray-600 mt-2">Everything for your home</p>
</div>
</div>
</a>
<a href="/products.html?category=beauty" class="category-card group">
<div class="bg-white rounded-lg shadow-md overflow-hidden transition-transform duration-300 group-hover:scale-105">
<img src="http://static.photos/beauty/640x360/4" alt="Beauty" class="w-full h-48 object-cover">
<div class="p-4">
<h3 class="text-xl font-semibold">Beauty</h3>
<p class="text-gray-600 mt-2">Skincare and cosmetics</p>
</div>
</div>
</a>
</div>
</section>
<!-- Featured Products -->
<section class="py-12 bg-gray-100 px-4">
<div class="max-w-7xl mx-auto">
<div class="flex justify-between items-center mb-8">
<h2 class="text-3xl font-bold">Featured Products</h2>
<a href="/products.html" class="text-indigo-600 hover:underline">View All</a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6" id="featured-products">
<!-- Products will be loaded via JavaScript -->
</div>
</div>
</section>
<!-- Special Offers -->
<section class="py-12 px-4 max-w-7xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-8">Special Offers</h2>
<div class="bg-gradient-to-r from-indigo-500 to-purple-600 rounded-xl p-8 text-white">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-6 md:mb-0">
<h3 class="text-2xl font-bold mb-4">Summer Sale!</h3>
<p class="text-lg mb-6">Up to 50% off on selected items. Limited time offer.</p>
<a href="/products.html?sort=discount" class="bg-white text-indigo-600 px-6 py-2 rounded-full font-semibold inline-block hover:bg-gray-100 transition duration-300">Shop Sale</a>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="http://static.photos/sale/640x360/5" alt="Summer Sale" class="h-48 rounded-lg shadow-lg">
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-12 px-4 bg-gray-100">
<div class="max-w-7xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-12">What Our Customers Say</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-300 overflow-hidden mr-4">
<img src="http://static.photos/people/200x200/1" alt="Customer" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-semibold">Sarah Johnson</h4>
<div class="flex text-yellow-400 mt-1">
<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>
</div>
</div>
<p class="text-gray-600">"The delivery was super fast and the product quality exceeded my expectations. Will definitely shop here again!"</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-300 overflow-hidden mr-4">
<img src="http://static.photos/people/200x200/2" alt="Customer" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-semibold">Michael Chen</h4>
<div class="flex text-yellow-400 mt-1">
<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>
</div>
</div>
<p class="text-gray-600">"Excellent customer service. They helped me choose the perfect gift for my wife's birthday. Highly recommended!"</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-300 overflow-hidden mr-4">
<img src="http://static.photos/people/200x200/3" alt="Customer" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-semibold">David Rodriguez</h4>
<div class="flex text-yellow-400 mt-1">
<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>
</div>
</div>
<p class="text-gray-600">"The mobile app makes shopping so convenient. I love the personalized recommendations based on my browsing history."</p>
</div>
</div>
</div>
</section>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3a86ff,
backgroundColor: 0x0,
points: 12.00,
maxDistance: 20.00,
spacing: 15.00
});
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>