undefined / index.html
Arash0048's picture
Design and develop a custom WordPress theme for an e-commerce website in the beauty and cosmetics industry.
cc31eab verified
Raw History Blame Contribute Delete
21.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GlowCart Beauty</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#FADADD',
secondary: '#E8E8E8',
accent: '#C4A484',
dark: '#333333'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Poppins:wght@300;400;500&display=swap');
body {
font-family: 'Poppins', sans-serif;
}
.heading-font {
font-family: 'Playfair Display', serif;
}
.product-card:hover {
transform: translateY(-5px);
transition: all 0.3s ease;
}
.banner-text {
text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
</style>
</head>
<body class="bg-primary">
<!-- Header -->
<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-10">
<h1 class="text-2xl font-bold heading-font text-accent">GlowCart</h1>
<nav class="hidden md:flex space-x-6">
<a href="index.html" class="text-dark hover:text-accent font-medium">Home</a>
<a href="shop.html" class="text-dark hover:text-accent font-medium">Shop</a>
<a href="#" class="text-dark hover:text-accent font-medium">Brands</a>
<a href="#" class="text-dark hover:text-accent font-medium">Blog</a>
<a href="profile.html" class="text-dark hover:text-accent font-medium">Vendors</a>
</nav>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." class="border rounded-full py-2 px-4 text-sm w-40 md:w-64 focus:outline-none focus:ring-1 focus:ring-accent">
<i data-feather="search" class="absolute right-3 top-2.5 text-gray-400"></i>
</div>
<div class="flex space-x-4">
<a href="#" class="relative">
<i data-feather="heart" class="text-dark"></i>
<span class="absolute -top-2 -right-2 bg-accent text-white rounded-full w-5 h-5 flex items-center justify-center text-xs">3</span>
</a>
<a href="#" class="relative">
<i data-feather="shopping-cart" class="text-dark"></i>
<span class="absolute -top-2 -right-2 bg-accent text-white rounded-full w-5 h-5 flex items-center justify-center text-xs">5</span>
</a>
<a href="#"><i data-feather="user" class="text-dark"></i></a>
</div>
</div>
</div>
</header>
<!-- Hero Banner -->
<section class="relative bg-gradient-to-r from-primary to-pink-100 h-96 md:h-[500px] flex items-center">
<div class="container mx-auto px-4 z-10">
<div class="max-w-lg">
<h2 class="text-4xl md:text-5xl font-bold heading-font text-dark banner-text">Discover Your Perfect Glow</h2>
<p class="mt-4 text-gray-600">Premium beauty products curated just for you. Natural ingredients, stunning results.</p>
<button class="mt-6 bg-accent hover:bg-rose-500 text-white font-medium py-3 px-8 rounded-full transition duration-300">Shop Now</button>
</div>
</div>
<div class="absolute right-0 top-0 w-1/2 h-full overflow-hidden">
<img src="http://static.photos/beauty/1200x630/1" alt="Beauty Products" class="object-cover h-full w-full">
</div>
</section>
<!-- Categories -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold heading-font text-center text-dark">Shop By Category</h2>
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 mt-10">
<div class="text-center group">
<div class="bg-primary rounded-full w-32 h-32 mx-auto flex items-center justify-center group-hover:bg-pink-200 transition duration-300">
<i data-feather="droplet" class="text-accent w-12 h-12"></i>
</div>
<h3 class="mt-4 font-medium text-dark">Skincare</h3>
</div>
<div class="text-center group">
<div class="bg-primary rounded-full w-32 h-32 mx-auto flex items-center justify-center group-hover:bg-pink-200 transition duration-300">
<i data-feather="heart" class="text-accent w-12 h-12"></i>
</div>
<h3 class="mt-4 font-medium text-dark">Makeup</h3>
</div>
<div class="text-center group">
<div class="bg-primary rounded-full w-32 h-32 mx-auto flex items-center justify-center group-hover:bg-pink-200 transition duration-300">
<i data-feather="sun" class="text-accent w-12 h-12"></i>
</div>
<h3 class="mt-4 font-medium text-dark">Body Care</h3>
</div>
<div class="text-center group">
<div class="bg-primary rounded-full w-32 h-32 mx-auto flex items-center justify-center group-hover:bg-pink-200 transition duration-300">
<i data-feather="wind" class="text-accent w-12 h-12"></i>
</div>
<h3 class="mt-4 font-medium text-dark">Hair Care</h3>
</div>
</div>
</div>
</section>
<!-- Featured Products -->
<section class="py-12 bg-secondary">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center">
<h2 class="text-3xl font-bold heading-font text-dark">Featured Products</h2>
<a href="shop.html" class="text-accent hover:underline">View All</a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8 mt-8">
<!-- Product Card 1 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card">
<div class="relative">
<img src="http://static.photos/cosmetic/320x240/1" alt="Product" class="w-full h-60 object-cover">
<span class="absolute top-2 right-2 bg-accent text-white text-xs px-2 py-1 rounded">New</span>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium text-dark">Rose Glow Moisturizer</h3>
<p class="text-sm text-gray-500">Hydrating Cream</p>
</div>
<i data-feather="heart" class="text-gray-400 cursor-pointer hover:text-red-500"></i>
</div>
<div class="mt-2 flex items-center">
<span class="text-accent font-bold">$24.99</span>
<span class="ml-2 text-gray-400 line-through text-sm">$29.99</span>
</div>
<button class="mt-4 w-full bg-primary hover:bg-pink-200 text-accent py-2 rounded-full text-sm font-medium transition duration-300">Add to Cart</button>
</div>
</div>
<!-- Product Card 2 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card">
<div class="relative">
<img src="http://static.photos/cosmetic/320x240/2" alt="Product" class="w-full h-60 object-cover">
<span class="absolute top-2 right-2 bg-red-500 text-white text-xs px-2 py-1 rounded">Sale</span>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium text-dark">Lip Blush Kit</h3>
<p class="text-sm text-gray-500">Matte Finish</p>
</div>
<i data-feather="heart" class="text-gray-400 cursor-pointer hover:text-red-500"></i>
</div>
<div class="mt-2 flex items-center">
<span class="text-accent font-bold">$19.99</span>
</div>
<button class="mt-4 w-full bg-primary hover:bg-pink-200 text-accent py-2 rounded-full text-sm font-medium transition duration-300">Add to Cart</button>
</div>
</div>
<!-- Product Card 3 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card">
<div class="relative">
<img src="http://static.photos/cosmetic/320x240/3" alt="Product" class="w-full h-60 object-cover">
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium text-dark">Charcoal Face Mask</h3>
<p class="text-sm text-gray-500">Detoxifying</p>
</div>
<i data-feather="heart" class="text-gray-400 cursor-pointer hover:text-red-500"></i>
</div>
<div class="mt-2 flex items-center">
<span class="text-accent font-bold">$16.50</span>
</div>
<button class="mt-4 w-full bg-primary hover:bg-pink-200 text-accent py-2 rounded-full text-sm font-medium transition duration-300">Add to Cart</button>
</div>
</div>
<!-- Product Card 4 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden product-card">
<div class="relative">
<img src="http://static.photos/cosmetic/320x240/4" alt="Product" class="w-full h-60 object-cover">
<span class="absolute top-2 right-2 bg-accent text-white text-xs px-2 py-1 rounded">Hot</span>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium text-dark">Vitamin C Serum</h3>
<p class="text-sm text-gray-500">Brightening</p>
</div>
<i data-feather="heart" class="text-gray-400 cursor-pointer hover:text-red-500"></i>
</div>
<div class="mt-2 flex items-center">
<span class="text-accent font-bold">$28.75</span>
</div>
<button class="mt-4 w-full bg-primary hover:bg-pink-200 text-accent py-2 rounded-full text-sm font-medium transition duration-300">Add to Cart</button>
</div>
</div>
</div>
</div>
</section>
<!-- Special Offers -->
<section class="py-12 bg-gradient-to-r from-accent to-rose-300">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold heading-font text-white">Special Offers</h2>
<p class="mt-2 text-white max-w-2xl mx-auto">Limited time deals on our best-selling beauty products. Don't miss out!</p>
<div class="mt-8 bg-white rounded-xl shadow-lg p-6 max-w-4xl mx-auto">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/3">
<img src="http://static.photos/cosmetic/640x360/5" alt="Special Offer" class="rounded-lg">
</div>
<div class="md:w-2/3 mt-6 md:mt-0 md:pl-8 text-left">
<h3 class="text-2xl font-bold heading-font text-dark">Summer Glow Bundle</h3>
<p class="mt-2 text-gray-600">Get our complete skincare set for radiant summer skin at 30% off!</p>
<div class="mt-4 flex items-center">
<span class="text-2xl font-bold text-accent">$49.99</span>
<span class="ml-3 text-gray-400 line-through text-lg">$69.99</span>
</div>
<div class="mt-4 flex items-center">
<span class="bg-red-500 text-white text-sm px-3 py-1 rounded">30% OFF</span>
<span class="ml-4 text-gray-600">Offer ends in:</span>
<span class="ml-2 font-bold text-dark">2d 14h 32m</span>
</div>
<button class="mt-6 bg-accent hover:bg-rose-500 text-white font-medium py-3 px-8 rounded-full transition duration-300">Shop Bundle</button>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold heading-font text-center text-dark">What Our Customers Say</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mt-10">
<div class="bg-primary rounded-lg p-6">
<div class="flex items-center">
<div class="w-12 h-12 rounded-full overflow-hidden">
<img src="http://static.photos/people/200x200/1" alt="Customer" class="w-full h-full object-cover">
</div>
<div class="ml-4">
<h4 class="font-medium text-dark">Sarah Johnson</h4>
<div class="flex text-yellow-400">
<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="mt-4 text-gray-600 italic">"The Vitamin C serum transformed my skin in just two weeks. My complexion is brighter and more even!"</p>
</div>
<div class="bg-primary rounded-lg p-6">
<div class="flex items-center">
<div class="w-12 h-12 rounded-full overflow-hidden">
<img src="http://static.photos/people/200x200/2" alt="Customer" class="w-full h-full object-cover">
</div>
<div class="ml-4">
<h4 class="font-medium text-dark">Michael Chen</h4>
<div class="flex text-yellow-400">
<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="mt-4 text-gray-600 italic">"Fast shipping and authentic products. The lip blush kit has become my everyday go-to!"</p>
</div>
<div class="bg-primary rounded-lg p-6">
<div class="flex items-center">
<div class="w-12 h-12 rounded-full overflow-hidden">
<img src="http://static.photos/people/200x200/3" alt="Customer" class="w-full h-full object-cover">
</div>
<div class="ml-4">
<h4 class="font-medium text-dark">Emma Rodriguez</h4>
<div class="flex text-yellow-400">
<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="mt-4 text-gray-600 italic">"I've tried many moisturizers, but this rose glow cream is unmatched. My skin feels hydrated all day!"</p>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-dark text-white pt-12 pb-6">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold heading-font text-accent">GlowCart</h3>
<p class="mt-4 text-gray-300">Premium beauty products for radiant skin and confident you.</p>
<div class="flex space-x-4 mt-6">
<a href="#" class="text-gray-300 hover:text-white"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-300 hover:text-white"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-300 hover:text-white"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-300 hover:text-white"><i data-feather="youtube"></i></a>
</div>
</div>
<div>
<h4 class="font-bold text-lg mb-4">Shop</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white">Skincare</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Makeup</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Body Care</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Hair Care</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">New Arrivals</a></li>
</ul>
</div>
<div>
<h4 class="font-bold text-lg mb-4">Information</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white">About Us</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Contact Us</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Terms & Conditions</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Privacy Policy</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">FAQs</a></li>
</ul>
</div>
<div>
<h4 class="font-bold text-lg mb-4">Newsletter</h4>
<p class="text-gray-300">Subscribe for beauty tips and exclusive offers.</p>
<div class="mt-4 flex">
<input type="email" placeholder="Your email" class="px-4 py-2 w-full rounded-l focus:outline-none text-dark">
<button class="bg-accent hover:bg-rose-500 px-4 rounded-r"><i data-feather="send" class="text-white"></i></button>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>&copy; 2023 GlowCart Beauty. All rights reserved.</p>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
feather.replace();
</script>
</body>
</html>