Spaces:
Running

undefined / products.html
dnixsystems's picture
redesign the website for woocommerce and wordpress
2e6593f verified
Raw History Blame Contribute Delete
16.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Our Products - Idukki Spices</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<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>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#fef2f2',
100: '#fee2e2',
200: '#fecaca',
300: '#fca5a5',
400: '#f87171',
500: '#ef4444',
600: '#dc2626',
700: '#b91c1c',
800: '#991b1b',
900: '#7f1d1d',
},
secondary: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
800: '#1e293b',
900: '#0f172a',
}
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
}
.spice-card:hover .spice-img {
transform: scale(1.05);
}
.category-btn.active {
background-color: #ef4444;
color: white;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-primary-600 text-white shadow-lg">
<div class="container mx-auto px-4 py-3">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="coffee" class="text-yellow-300"></i>
<span class="text-xl font-bold">Idukki Spices</span>
</div>
<div class="hidden md:flex space-x-6">
<a href="index.html" class="hover:text-yellow-200">Home</a>
<a href="products.html" class="hover:text-yellow-200 font-semibold underline">Products</a>
<a href="#" class="hover:text-yellow-200">About Us</a>
<a href="#" class="hover:text-yellow-200">Contact</a>
</div>
<div class="flex items-center space-x-4">
<i data-feather="shopping-cart" class="hover:text-yellow-200 cursor-pointer"></i>
<i data-feather="user" class="hover:text-yellow-200 cursor-pointer"></i>
<button class="md:hidden focus:outline-none">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Products Header -->
<section class="bg-primary-800 text-white py-16">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-4">Our Spice Collection</h1>
<p class="text-xl text-primary-200 max-w-3xl mx-auto">Discover the rich flavors of Kerala with our premium quality spices, sourced directly from the lush plantations of Idukki.</p>
</div>
</section>
<!-- Products Section -->
<section class="py-12">
<div class="container mx-auto px-4">
<!-- Category Filter -->
<div class="flex flex-wrap gap-2 mb-8">
<button class="category-btn active px-4 py-2 rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white transition">
All Spices
</button>
<button class="category-btn px-4 py-2 rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white transition">
Pepper
</button>
<button class="category-btn px-4 py-2 rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white transition">
Cardamom
</button>
<button class="category-btn px-4 py-2 rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white transition">
Turmeric
</button>
<button class="category-btn px-4 py-2 rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white transition">
Cinnamon
</button>
<button class="category-btn px-4 py-2 rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white transition">
Blends
</button>
</div>
<!-- Products Grid -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Product 1 -->
<div class="spice-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-xl">
<div class="overflow-hidden">
<img src="http://static.photos/spices/640x360/7" alt="Black Pepper" class="spice-img w-full h-48 object-cover transition duration-500">
</div>
<div class="p-4">
<h3 class="font-bold text-xl text-primary-800 mb-2">Idukki Black Pepper</h3>
<p class="text-secondary-600 text-sm mb-3">Freshly harvested from the Western Ghats with intense aroma and flavor.</p>
<div class="flex justify-between items-center">
<span class="text-primary-600 font-bold">₹180 / 100g</span>
<button class="bg-primary-600 text-white px-3 py-1 rounded-full hover:bg-primary-700 transition">
<i data-feather="plus" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Product 2 -->
<div class="spice-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-xl">
<div class="overflow-hidden">
<img src="http://static.photos/spices/640x360/8" alt="Cardamom" class="spice-img w-full h-48 object-cover transition duration-500">
</div>
<div class="p-4">
<h3 class="font-bold text-xl text-primary-800 mb-2">Green Cardamom</h3>
<p class="text-secondary-600 text-sm mb-3">Aromatic pods with rich flavor, perfect for both sweet and savory dishes.</p>
<div class="flex justify-between items-center">
<span class="text-primary-600 font-bold">₹350 / 100g</span>
<button class="bg-primary-600 text-white px-3 py-1 rounded-full hover:bg-primary-700 transition">
<i data-feather="plus" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Product 3 -->
<div class="spice-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-xl">
<div class="overflow-hidden">
<img src="http://static.photos/spices/640x360/9" alt="Turmeric" class="spice-img w-full h-48 object-cover transition duration-500">
</div>
<div class="p-4">
<h3 class="font-bold text-xl text-primary-800 mb-2">Organic Turmeric</h3>
<p class="text-secondary-600 text-sm mb-3">Golden color with medicinal properties, sun-dried for maximum potency.</p>
<div class="flex justify-between items-center">
<span class="text-primary-600 font-bold">₹120 / 100g</span>
<button class="bg-primary-600 text-white px-3 py-1 rounded-full hover:bg-primary-700 transition">
<i data-feather="plus" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Product 4 -->
<div class="spice-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-xl">
<div class="overflow-hidden">
<img src="http://static.photos/spices/640x360/10" alt="Cinnamon" class="spice-img w-full h-48 object-cover transition duration-500">
</div>
<div class="p-4">
<h3 class="font-bold text-xl text-primary-800 mb-2">True Cinnamon</h3>
<p class="text-secondary-600 text-sm mb-3">Sweet and fragrant bark sticks, hand-rolled from the inner bark of cinnamon trees.</p>
<div class="flex justify-between items-center">
<span class="text-primary-600 font-bold">₹250 / 100g</span>
<button class="bg-primary-600 text-white px-3 py-1 rounded-full hover:bg-primary-700 transition">
<i data-feather="plus" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Product 5 -->
<div class="spice-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-xl">
<div class="overflow-hidden">
<img src="http://static.photos/spices/640x360/11" alt="Cloves" class="spice-img w-full h-48 object-cover transition duration-500">
</div>
<div class="p-4">
<h3 class="font-bold text-xl text-primary-800 mb-2">Premium Cloves</h3>
<p class="text-secondary-600 text-sm mb-3">Bold and aromatic flower buds with a warm, sweet flavor.</p>
<div class="flex justify-between items-center">
<span class="text-primary-600 font-bold">₹280 / 100g</span>
<button class="bg-primary-600 text-white px-3 py-1 rounded-full hover:bg-primary-700 transition">
<i data-feather="plus" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Product 6 -->
<div class="spice-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-xl">
<div class="overflow-hidden">
<img src="http://static.photos/spices/640x360/12" alt="Ginger" class="spice-img w-full h-48 object-cover transition duration-500">
</div>
<div class="p-4">
<h3 class="font-bold text-xl text-primary-800 mb-2">Dried Ginger</h3>
<p class="text-secondary-600 text-sm mb-3">Spicy and pungent, excellent for teas and traditional Ayurvedic remedies.</p>
<div class="flex justify-between items-center">
<span class="text-primary-600 font-bold">₹150 / 100g</span>
<button class="bg-primary-600 text-white px-3 py-1 rounded-full hover:bg-primary-700 transition">
<i data-feather="plus" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Pagination -->
<div class="flex justify-center mt-12">
<nav class="flex items-center space-x-2">
<button class="w-10 h-10 flex items-center justify-center rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white">
<i data-feather="chevron-left"></i>
</button>
<button class="w-10 h-10 flex items-center justify-center rounded-full bg-primary-600 text-white">1</button>
<button class="w-10 h-10 flex items-center justify-center rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white">2</button>
<button class="w-10 h-10 flex items-center justify-center rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white">3</button>
<button class="w-10 h-10 flex items-center justify-center rounded-full border border-primary-600 text-primary-600 hover:bg-primary-600 hover:text-white">
<i data-feather="chevron-right"></i>
</button>
</nav>
</div>
</div>
</section>
<!-- Quality Promise -->
<section class="py-16 bg-primary-50">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold text-primary-800 mb-8">Our Quality Promise</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="w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i data-feather="check-circle" class="text-primary-600"></i>
</div>
<h3 class="font-bold text-lg text-primary-800 mb-2">100% Natural</h3>
<p class="text-secondary-600">No artificial additives or preservatives</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i data-feather="sun" class="text-primary-600"></i>
</div>
<h3 class="font-bold text-lg text-primary-800 mb-2">Sun-Dried</h3>
<p class="text-secondary-600">Traditional drying methods preserve flavor</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i data-feather="heart" class="text-primary-600"></i>
</div>
<h3 class="font-bold text-lg text-primary-800 mb-2">Direct from Farmers</h3>
<p class="text-secondary-600">Supporting sustainable farming communities</p>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-secondary-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i data-feather="coffee" class="text-yellow-300"></i>
<span class="text-xl font-bold">Idukki Spices</span>
</div>
<p class="text-secondary-300 mb-4">Bringing the authentic taste of Kerala to your kitchen since 2005.</p>
<div class="flex space-x-4">
<a href="#" class="text-secondary-300 hover:text-white"><i data-feather="facebook"></i></a>
<a href="#" class="text-secondary-300 hover:text-white"><i data-feather="instagram"></i></a>
<a href="#" class="text-secondary-300 hover:text-white"><i data-feather="twitter"></i></a>
</div>
</div>
<div>
<h4 class="font-bold text-lg mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="index.html" class="text-secondary-300 hover:text-white">Home</a></li>
<li><a href="products.html" class="text-secondary-300 hover:text-white">Products</a></li>
<li><a href="#" class="text-secondary-300 hover:text-white">About Us</a></li>
<li><a href="#" class="text-secondary-300 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h4 class="font-bold text-lg mb-4">Products</h4>
<ul class="space-y-2">
<li><a href="#" class="text-secondary-300 hover:text-white">Black Pepper</a></li>
<li><a href="#" class="text-secondary-300 hover:text-white">Cardamom</a></li>
<li><a href="#" class="text-secondary-300 hover:text-white">Turmeric</a></li>
<li><a href="#" class="text-secondary-300 hover:text-white">Cinnamon</a></li>
</ul>
</div>
<div>
<h4 class="font-bold text-lg mb-4">Contact Us</h4>
<ul class="space-y-2 text-secondary-300">
<li class="flex items-start">
<i data-feather="map-pin" class="mr-2 mt-1"></i>
<span>Spice Valley, Peyad, Trivandrum, Kerala 695573</span>
</li>
<li class="flex items-center">
<i data-feather="phone" class="mr-2"></i>
<span>+91 9876543210</span>
</li>
<li class="flex items-center">
<i data-feather="mail" class="mr-2"></i>
<span>info@idukkispices.com</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-secondary-700 mt-8 pt-8 text-center text-secondary-400">
<p>© 2023 Idukki Spices. All rights reserved.</p>
</div>
</div>
</footer>
<script>
feather.replace();
// Category filter functionality
document.querySelectorAll('.category-btn').forEach(btn => {
btn.addEventListener('click', function() {
document.querySelector('.category-btn.active').classList.remove('active');
this.classList.add('active');
});
});
</script>
</body>
</html>