Build me a website to list and sell fine jewellery with brand Baemont - Initial Deployment
Browse files- README.md +7 -5
- index.html +893 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: asheslab
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,893 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Baemont | Fine Jewellery</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Montserrat', sans-serif;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.heading-font {
|
| 17 |
+
font-family: 'Playfair Display', serif;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.hero-image {
|
| 21 |
+
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
|
| 22 |
+
background-size: cover;
|
| 23 |
+
background-position: center;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.jewellery-card:hover .jewellery-image {
|
| 27 |
+
transform: scale(1.05);
|
| 28 |
+
transition: transform 0.3s ease;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.cart-item-enter {
|
| 32 |
+
opacity: 0;
|
| 33 |
+
transform: translateY(-20px);
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.cart-item-enter-active {
|
| 37 |
+
opacity: 1;
|
| 38 |
+
transform: translateY(0);
|
| 39 |
+
transition: all 300ms ease-in;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.cart-item-exit {
|
| 43 |
+
opacity: 1;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.cart-item-exit-active {
|
| 47 |
+
opacity: 0;
|
| 48 |
+
transform: translateY(-20px);
|
| 49 |
+
transition: all 300ms ease-in;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
/* Custom scrollbar */
|
| 53 |
+
::-webkit-scrollbar {
|
| 54 |
+
width: 8px;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
::-webkit-scrollbar-track {
|
| 58 |
+
background: #f1f1f1;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
::-webkit-scrollbar-thumb {
|
| 62 |
+
background: #c0a080;
|
| 63 |
+
border-radius: 4px;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
::-webkit-scrollbar-thumb:hover {
|
| 67 |
+
background: #a08060;
|
| 68 |
+
}
|
| 69 |
+
</style>
|
| 70 |
+
</head>
|
| 71 |
+
<body class="bg-gray-50 text-gray-800">
|
| 72 |
+
<!-- Navigation -->
|
| 73 |
+
<nav class="bg-white shadow-md sticky top-0 z-50">
|
| 74 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
| 75 |
+
<a href="#" class="heading-font text-2xl font-bold text-amber-800">BAEMONT</a>
|
| 76 |
+
|
| 77 |
+
<div class="hidden md:flex space-x-8">
|
| 78 |
+
<a href="#collections" class="hover:text-amber-700 transition">Collections</a>
|
| 79 |
+
<a href="#rings" class="hover:text-amber-700 transition">Rings</a>
|
| 80 |
+
<a href="#necklaces" class="hover:text-amber-700 transition">Necklaces</a>
|
| 81 |
+
<a href="#earrings" class="hover:text-amber-700 transition">Earrings</a>
|
| 82 |
+
<a href="#about" class="hover:text-amber-700 transition">About</a>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<div class="flex items-center space-x-4">
|
| 86 |
+
<button id="search-btn" class="p-2">
|
| 87 |
+
<i class="fas fa-search text-gray-600 hover:text-amber-700"></i>
|
| 88 |
+
</button>
|
| 89 |
+
<button id="cart-btn" class="p-2 relative">
|
| 90 |
+
<i class="fas fa-shopping-bag text-gray-600 hover:text-amber-700"></i>
|
| 91 |
+
<span id="cart-count" class="absolute -top-1 -right-1 bg-amber-700 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center hidden">0</span>
|
| 92 |
+
</button>
|
| 93 |
+
<button id="mobile-menu-btn" class="md:hidden p-2">
|
| 94 |
+
<i class="fas fa-bars text-gray-600 hover:text-amber-700"></i>
|
| 95 |
+
</button>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
|
| 99 |
+
<!-- Mobile Menu -->
|
| 100 |
+
<div id="mobile-menu" class="hidden md:hidden bg-white py-2 px-4 shadow-lg">
|
| 101 |
+
<a href="#collections" class="block py-2 hover:text-amber-700 transition">Collections</a>
|
| 102 |
+
<a href="#rings" class="block py-2 hover:text-amber-700 transition">Rings</a>
|
| 103 |
+
<a href="#necklaces" class="block py-2 hover:text-amber-700 transition">Necklaces</a>
|
| 104 |
+
<a href="#earrings" class="block py-2 hover:text-amber-700 transition">Earrings</a>
|
| 105 |
+
<a href="#about" class="block py-2 hover:text-amber-700 transition">About</a>
|
| 106 |
+
</div>
|
| 107 |
+
|
| 108 |
+
<!-- Search Bar -->
|
| 109 |
+
<div id="search-bar" class="hidden bg-white py-3 px-4 shadow-md">
|
| 110 |
+
<div class="container mx-auto flex">
|
| 111 |
+
<input type="text" placeholder="Search our collections..." class="flex-grow px-4 py-2 border border-gray-300 rounded-l focus:outline-none focus:ring-2 focus:ring-amber-500">
|
| 112 |
+
<button class="bg-amber-700 text-white px-4 py-2 rounded-r hover:bg-amber-800 transition">
|
| 113 |
+
<i class="fas fa-search"></i>
|
| 114 |
+
</button>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</nav>
|
| 118 |
+
|
| 119 |
+
<!-- Hero Section -->
|
| 120 |
+
<section class="hero-image h-screen flex items-center justify-center text-center text-white">
|
| 121 |
+
<div class="px-4">
|
| 122 |
+
<h1 class="heading-font text-4xl md:text-6xl font-bold mb-6">Timeless Elegance</h1>
|
| 123 |
+
<p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto">Discover Baemont's exquisite collection of handcrafted jewellery, where tradition meets contemporary design.</p>
|
| 124 |
+
<a href="#collections" class="bg-transparent border-2 border-white text-white px-8 py-3 text-lg font-medium hover:bg-white hover:text-amber-800 transition duration-300">Explore Collections</a>
|
| 125 |
+
</div>
|
| 126 |
+
</section>
|
| 127 |
+
|
| 128 |
+
<!-- Featured Collections -->
|
| 129 |
+
<section id="collections" class="py-16 bg-white">
|
| 130 |
+
<div class="container mx-auto px-4">
|
| 131 |
+
<h2 class="heading-font text-3xl md:text-4xl font-bold text-center mb-12">Our Collections</h2>
|
| 132 |
+
|
| 133 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 134 |
+
<div class="relative overflow-hidden group rounded-lg shadow-lg h-96">
|
| 135 |
+
<img src="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 136 |
+
alt="Eternal Collection"
|
| 137 |
+
class="w-full h-full object-cover transition duration-500 group-hover:scale-110">
|
| 138 |
+
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center opacity-0 group-hover:opacity-100 transition duration-300">
|
| 139 |
+
<div class="text-center text-white p-4">
|
| 140 |
+
<h3 class="heading-font text-2xl font-bold mb-2">Eternal</h3>
|
| 141 |
+
<p class="mb-4">Classic designs that stand the test of time</p>
|
| 142 |
+
<a href="#" class="border border-white px-6 py-2 inline-block hover:bg-white hover:text-amber-800 transition">View Collection</a>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
|
| 147 |
+
<div class="relative overflow-hidden group rounded-lg shadow-lg h-96">
|
| 148 |
+
<img src="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=735&q=80"
|
| 149 |
+
alt="Modernist Collection"
|
| 150 |
+
class="w-full h-full object-cover transition duration-500 group-hover:scale-110">
|
| 151 |
+
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center opacity-0 group-hover:opacity-100 transition duration-300">
|
| 152 |
+
<div class="text-center text-white p-4">
|
| 153 |
+
<h3 class="heading-font text-2xl font-bold mb-2">Modernist</h3>
|
| 154 |
+
<p class="mb-4">Contemporary designs for the fashion-forward</p>
|
| 155 |
+
<a href="#" class="border border-white px-6 py-2 inline-block hover:bg-white hover:text-amber-800 transition">View Collection</a>
|
| 156 |
+
</div>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
|
| 160 |
+
<div class="relative overflow-hidden group rounded-lg shadow-lg h-96">
|
| 161 |
+
<img src="https://images.unsplash.com/photo-1603974372036-a6d054a1f8a5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 162 |
+
alt="Heritage Collection"
|
| 163 |
+
class="w-full h-full object-cover transition duration-500 group-hover:scale-110">
|
| 164 |
+
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center opacity-0 group-hover:opacity-100 transition duration-300">
|
| 165 |
+
<div class="text-center text-white p-4">
|
| 166 |
+
<h3 class="heading-font text-2xl font-bold mb-2">Heritage</h3>
|
| 167 |
+
<p class="mb-4">Heirloom pieces crafted with legacy in mind</p>
|
| 168 |
+
<a href="#" class="border border-white px-6 py-2 inline-block hover:bg-white hover:text-amber-800 transition">View Collection</a>
|
| 169 |
+
</div>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
</section>
|
| 175 |
+
|
| 176 |
+
<!-- Rings Section -->
|
| 177 |
+
<section id="rings" class="py-16 bg-gray-50">
|
| 178 |
+
<div class="container mx-auto px-4">
|
| 179 |
+
<h2 class="heading-font text-3xl md:text-4xl font-bold text-center mb-4">Exquisite Rings</h2>
|
| 180 |
+
<p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">Symbols of love, commitment, and personal expression crafted with precision and care.</p>
|
| 181 |
+
|
| 182 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
|
| 183 |
+
<!-- Ring 1 -->
|
| 184 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 185 |
+
<div class="relative overflow-hidden h-64">
|
| 186 |
+
<img src="https://images.unsplash.com/photo-1603974372036-a6d054a1f8a5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 187 |
+
alt="Solitaire Diamond Ring"
|
| 188 |
+
class="jewellery-image w-full h-full object-cover">
|
| 189 |
+
<div class="absolute top-2 right-2 bg-amber-700 text-white text-xs px-2 py-1 rounded">Bestseller</div>
|
| 190 |
+
</div>
|
| 191 |
+
<div class="p-4">
|
| 192 |
+
<h3 class="font-semibold text-lg mb-1">Solitaire Diamond Ring</h3>
|
| 193 |
+
<p class="text-gray-600 text-sm mb-2">18K White Gold</p>
|
| 194 |
+
<div class="flex justify-between items-center">
|
| 195 |
+
<span class="font-bold text-amber-800">$2,450</span>
|
| 196 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 197 |
+
data-id="1"
|
| 198 |
+
data-name="Solitaire Diamond Ring"
|
| 199 |
+
data-price="2450"
|
| 200 |
+
data-image="https://images.unsplash.com/photo-1603974372036-a6d054a1f8a5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80">
|
| 201 |
+
Add to Cart
|
| 202 |
+
</button>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
<!-- Ring 2 -->
|
| 208 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 209 |
+
<div class="relative overflow-hidden h-64">
|
| 210 |
+
<img src="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=735&q=80"
|
| 211 |
+
alt="Emerald Halo Ring"
|
| 212 |
+
class="jewellery-image w-full h-full object-cover">
|
| 213 |
+
</div>
|
| 214 |
+
<div class="p-4">
|
| 215 |
+
<h3 class="font-semibold text-lg mb-1">Emerald Halo Ring</h3>
|
| 216 |
+
<p class="text-gray-600 text-sm mb-2">Platinum with Diamond Accents</p>
|
| 217 |
+
<div class="flex justify-between items-center">
|
| 218 |
+
<span class="font-bold text-amber-800">$3,200</span>
|
| 219 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 220 |
+
data-id="2"
|
| 221 |
+
data-name="Emerald Halo Ring"
|
| 222 |
+
data-price="3200"
|
| 223 |
+
data-image="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=735&q=80">
|
| 224 |
+
Add to Cart
|
| 225 |
+
</button>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
<!-- Ring 3 -->
|
| 231 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 232 |
+
<div class="relative overflow-hidden h-64">
|
| 233 |
+
<img src="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
|
| 234 |
+
alt="Vintage Sapphire Ring"
|
| 235 |
+
class="jewellery-image w-full h-full object-cover">
|
| 236 |
+
<div class="absolute top-2 right-2 bg-amber-700 text-white text-xs px-2 py-1 rounded">Limited</div>
|
| 237 |
+
</div>
|
| 238 |
+
<div class="p-4">
|
| 239 |
+
<h3 class="font-semibold text-lg mb-1">Vintage Sapphire Ring</h3>
|
| 240 |
+
<p class="text-gray-600 text-sm mb-2">18K Yellow Gold</p>
|
| 241 |
+
<div class="flex justify-between items-center">
|
| 242 |
+
<span class="font-bold text-amber-800">$2,850</span>
|
| 243 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 244 |
+
data-id="3"
|
| 245 |
+
data-name="Vintage Sapphire Ring"
|
| 246 |
+
data-price="2850"
|
| 247 |
+
data-image="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80">
|
| 248 |
+
Add to Cart
|
| 249 |
+
</button>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
</div>
|
| 253 |
+
|
| 254 |
+
<!-- Ring 4 -->
|
| 255 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 256 |
+
<div class="relative overflow-hidden h-64">
|
| 257 |
+
<img src="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 258 |
+
alt="Eternity Band"
|
| 259 |
+
class="jewellery-image w-full h-full object-cover">
|
| 260 |
+
</div>
|
| 261 |
+
<div class="p-4">
|
| 262 |
+
<h3 class="font-semibold text-lg mb-1">Eternity Band</h3>
|
| 263 |
+
<p class="text-gray-600 text-sm mb-2">Platinum with Full Diamond Circle</p>
|
| 264 |
+
<div class="flex justify-between items-center">
|
| 265 |
+
<span class="font-bold text-amber-800">$4,500</span>
|
| 266 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 267 |
+
data-id="4"
|
| 268 |
+
data-name="Eternity Band"
|
| 269 |
+
data-price="4500"
|
| 270 |
+
data-image="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80">
|
| 271 |
+
Add to Cart
|
| 272 |
+
</button>
|
| 273 |
+
</div>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
|
| 278 |
+
<div class="text-center mt-12">
|
| 279 |
+
<a href="#" class="inline-block border-2 border-amber-700 text-amber-700 px-8 py-3 font-medium hover:bg-amber-700 hover:text-white transition duration-300">View All Rings</a>
|
| 280 |
+
</div>
|
| 281 |
+
</div>
|
| 282 |
+
</section>
|
| 283 |
+
|
| 284 |
+
<!-- Necklaces Section -->
|
| 285 |
+
<section id="necklaces" class="py-16 bg-white">
|
| 286 |
+
<div class="container mx-auto px-4">
|
| 287 |
+
<h2 class="heading-font text-3xl md:text-4xl font-bold text-center mb-4">Elegant Necklaces</h2>
|
| 288 |
+
<p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">Statement pieces that elevate every ensemble with sophistication.</p>
|
| 289 |
+
|
| 290 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 291 |
+
<!-- Necklace 1 -->
|
| 292 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 293 |
+
<div class="relative overflow-hidden h-80">
|
| 294 |
+
<img src="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 295 |
+
alt="Diamond Pendant Necklace"
|
| 296 |
+
class="jewellery-image w-full h-full object-cover">
|
| 297 |
+
<div class="absolute top-2 right-2 bg-amber-700 text-white text-xs px-2 py-1 rounded">New</div>
|
| 298 |
+
</div>
|
| 299 |
+
<div class="p-4">
|
| 300 |
+
<h3 class="font-semibold text-lg mb-1">Diamond Pendant Necklace</h3>
|
| 301 |
+
<p class="text-gray-600 text-sm mb-2">18K White Gold, 0.5ct Diamond</p>
|
| 302 |
+
<div class="flex justify-between items-center">
|
| 303 |
+
<span class="font-bold text-amber-800">$1,850</span>
|
| 304 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 305 |
+
data-id="5"
|
| 306 |
+
data-name="Diamond Pendant Necklace"
|
| 307 |
+
data-price="1850"
|
| 308 |
+
data-image="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80">
|
| 309 |
+
Add to Cart
|
| 310 |
+
</button>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
</div>
|
| 314 |
+
|
| 315 |
+
<!-- Necklace 2 -->
|
| 316 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 317 |
+
<div class="relative overflow-hidden h-80">
|
| 318 |
+
<img src="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=735&q=80"
|
| 319 |
+
alt="Pearl Strand Necklace"
|
| 320 |
+
class="jewellery-image w-full h-full object-cover">
|
| 321 |
+
</div>
|
| 322 |
+
<div class="p-4">
|
| 323 |
+
<h3 class="font-semibold text-lg mb-1">Pearl Strand Necklace</h3>
|
| 324 |
+
<p class="text-gray-600 text-sm mb-2">South Sea Pearls, 18K Gold Clasp</p>
|
| 325 |
+
<div class="flex justify-between items-center">
|
| 326 |
+
<span class="font-bold text-amber-800">$3,750</span>
|
| 327 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 328 |
+
data-id="6"
|
| 329 |
+
data-name="Pearl Strand Necklace"
|
| 330 |
+
data-price="3750"
|
| 331 |
+
data-image="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=735&q=80">
|
| 332 |
+
Add to Cart
|
| 333 |
+
</button>
|
| 334 |
+
</div>
|
| 335 |
+
</div>
|
| 336 |
+
</div>
|
| 337 |
+
|
| 338 |
+
<!-- Necklace 3 -->
|
| 339 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 340 |
+
<div class="relative overflow-hidden h-80">
|
| 341 |
+
<img src="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
|
| 342 |
+
alt="Emerald Choker"
|
| 343 |
+
class="jewellery-image w-full h-full object-cover">
|
| 344 |
+
<div class="absolute top-2 right-2 bg-amber-700 text-white text-xs px-2 py-1 rounded">Popular</div>
|
| 345 |
+
</div>
|
| 346 |
+
<div class="p-4">
|
| 347 |
+
<h3 class="font-semibold text-lg mb-1">Emerald Choker</h3>
|
| 348 |
+
<p class="text-gray-600 text-sm mb-2">Platinum with Colombian Emeralds</p>
|
| 349 |
+
<div class="flex justify-between items-center">
|
| 350 |
+
<span class="font-bold text-amber-800">$5,200</span>
|
| 351 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 352 |
+
data-id="7"
|
| 353 |
+
data-name="Emerald Choker"
|
| 354 |
+
data-price="5200"
|
| 355 |
+
data-image="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80">
|
| 356 |
+
Add to Cart
|
| 357 |
+
</button>
|
| 358 |
+
</div>
|
| 359 |
+
</div>
|
| 360 |
+
</div>
|
| 361 |
+
</div>
|
| 362 |
+
|
| 363 |
+
<div class="text-center mt-12">
|
| 364 |
+
<a href="#" class="inline-block border-2 border-amber-700 text-amber-700 px-8 py-3 font-medium hover:bg-amber-700 hover:text-white transition duration-300">View All Necklaces</a>
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
</section>
|
| 368 |
+
|
| 369 |
+
<!-- Earrings Section -->
|
| 370 |
+
<section id="earrings" class="py-16 bg-gray-50">
|
| 371 |
+
<div class="container mx-auto px-4">
|
| 372 |
+
<h2 class="heading-font text-3xl md:text-4xl font-bold text-center mb-4">Delicate Earrings</h2>
|
| 373 |
+
<p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">The perfect finishing touch to complete your look with grace.</p>
|
| 374 |
+
|
| 375 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
|
| 376 |
+
<!-- Earring 1 -->
|
| 377 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 378 |
+
<div class="relative overflow-hidden h-64">
|
| 379 |
+
<img src="https://images.unsplash.com/photo-1603974372036-a6d054a1f8a5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 380 |
+
alt="Diamond Stud Earrings"
|
| 381 |
+
class="jewellery-image w-full h-full object-cover">
|
| 382 |
+
</div>
|
| 383 |
+
<div class="p-4">
|
| 384 |
+
<h3 class="font-semibold text-lg mb-1">Diamond Stud Earrings</h3>
|
| 385 |
+
<p class="text-gray-600 text-sm mb-2">Platinum, 0.25ct each</p>
|
| 386 |
+
<div class="flex justify-between items-center">
|
| 387 |
+
<span class="font-bold text-amber-800">$1,250</span>
|
| 388 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 389 |
+
data-id="8"
|
| 390 |
+
data-name="Diamond Stud Earrings"
|
| 391 |
+
data-price="1250"
|
| 392 |
+
data-image="https://images.unsplash.com/photo-1603974372036-a6d054a1f8a5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80">
|
| 393 |
+
Add to Cart
|
| 394 |
+
</button>
|
| 395 |
+
</div>
|
| 396 |
+
</div>
|
| 397 |
+
</div>
|
| 398 |
+
|
| 399 |
+
<!-- Earring 2 -->
|
| 400 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 401 |
+
<div class="relative overflow-hidden h-64">
|
| 402 |
+
<img src="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=735&q=80"
|
| 403 |
+
alt="Pearl Drop Earrings"
|
| 404 |
+
class="jewellery-image w-full h-full object-cover">
|
| 405 |
+
<div class="absolute top-2 right-2 bg-amber-700 text-white text-xs px-2 py-1 rounded">Bestseller</div>
|
| 406 |
+
</div>
|
| 407 |
+
<div class="p-4">
|
| 408 |
+
<h3 class="font-semibold text-lg mb-1">Pearl Drop Earrings</h3>
|
| 409 |
+
<p class="text-gray-600 text-sm mb-2">18K Gold with Akoya Pearls</p>
|
| 410 |
+
<div class="flex justify-between items-center">
|
| 411 |
+
<span class="font-bold text-amber-800">$950</span>
|
| 412 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 413 |
+
data-id="9"
|
| 414 |
+
data-name="Pearl Drop Earrings"
|
| 415 |
+
data-price="950"
|
| 416 |
+
data-image="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=735&q=80">
|
| 417 |
+
Add to Cart
|
| 418 |
+
</button>
|
| 419 |
+
</div>
|
| 420 |
+
</div>
|
| 421 |
+
</div>
|
| 422 |
+
|
| 423 |
+
<!-- Earring 3 -->
|
| 424 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 425 |
+
<div class="relative overflow-hidden h-64">
|
| 426 |
+
<img src="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
|
| 427 |
+
alt="Hoop Earrings"
|
| 428 |
+
class="jewellery-image w-full h-full object-cover">
|
| 429 |
+
</div>
|
| 430 |
+
<div class="p-4">
|
| 431 |
+
<h3 class="font-semibold text-lg mb-1">Hoop Earrings</h3>
|
| 432 |
+
<p class="text-gray-600 text-sm mb-2">18K Yellow Gold, Diamond Accents</p>
|
| 433 |
+
<div class="flex justify-between items-center">
|
| 434 |
+
<span class="font-bold text-amber-800">$1,650</span>
|
| 435 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 436 |
+
data-id="10"
|
| 437 |
+
data-name="Hoop Earrings"
|
| 438 |
+
data-price="1650"
|
| 439 |
+
data-image="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80">
|
| 440 |
+
Add to Cart
|
| 441 |
+
</button>
|
| 442 |
+
</div>
|
| 443 |
+
</div>
|
| 444 |
+
</div>
|
| 445 |
+
|
| 446 |
+
<!-- Earring 4 -->
|
| 447 |
+
<div class="jewellery-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition duration-300">
|
| 448 |
+
<div class="relative overflow-hidden h-64">
|
| 449 |
+
<img src="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 450 |
+
alt="Sapphire Cluster Earrings"
|
| 451 |
+
class="jewellery-image w-full h-full object-cover">
|
| 452 |
+
<div class="absolute top-2 right-2 bg-amber-700 text-white text-xs px-2 py-1 rounded">New</div>
|
| 453 |
+
</div>
|
| 454 |
+
<div class="p-4">
|
| 455 |
+
<h3 class="font-semibold text-lg mb-1">Sapphire Cluster Earrings</h3>
|
| 456 |
+
<p class="text-gray-600 text-sm mb-2">Platinum with Ceylon Sapphires</p>
|
| 457 |
+
<div class="flex justify-between items-center">
|
| 458 |
+
<span class="font-bold text-amber-800">$2,350</span>
|
| 459 |
+
<button class="add-to-cart bg-amber-700 text-white px-3 py-1 rounded hover:bg-amber-800 transition"
|
| 460 |
+
data-id="11"
|
| 461 |
+
data-name="Sapphire Cluster Earrings"
|
| 462 |
+
data-price="2350"
|
| 463 |
+
data-image="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80">
|
| 464 |
+
Add to Cart
|
| 465 |
+
</button>
|
| 466 |
+
</div>
|
| 467 |
+
</div>
|
| 468 |
+
</div>
|
| 469 |
+
</div>
|
| 470 |
+
|
| 471 |
+
<div class="text-center mt-12">
|
| 472 |
+
<a href="#" class="inline-block border-2 border-amber-700 text-amber-700 px-8 py-3 font-medium hover:bg-amber-700 hover:text-white transition duration-300">View All Earrings</a>
|
| 473 |
+
</div>
|
| 474 |
+
</div>
|
| 475 |
+
</section>
|
| 476 |
+
|
| 477 |
+
<!-- About Section -->
|
| 478 |
+
<section id="about" class="py-16 bg-white">
|
| 479 |
+
<div class="container mx-auto px-4">
|
| 480 |
+
<div class="flex flex-col lg:flex-row items-center">
|
| 481 |
+
<div class="lg:w-1/2 mb-8 lg:mb-0 lg:pr-12">
|
| 482 |
+
<h2 class="heading-font text-3xl md:text-4xl font-bold mb-6">The Baemont Legacy</h2>
|
| 483 |
+
<p class="text-gray-600 mb-4">Founded in 1923, Baemont has been crafting exceptional jewellery for nearly a century. Our family-owned atelier combines traditional techniques with contemporary design to create pieces that stand the test of time.</p>
|
| 484 |
+
<p class="text-gray-600 mb-4">Each Baemont creation is meticulously handcrafted by our master jewellers using only the finest materials. We source our gemstones and precious metals with the utmost care for quality and ethical standards.</p>
|
| 485 |
+
<p class="text-gray-600 mb-6">Whether you're marking a special occasion or simply celebrating everyday elegance, a Baemont piece is designed to be treasured for generations.</p>
|
| 486 |
+
<a href="#" class="inline-block bg-amber-700 text-white px-8 py-3 font-medium hover:bg-amber-800 transition duration-300">Our Story</a>
|
| 487 |
+
</div>
|
| 488 |
+
<div class="lg:w-1/2">
|
| 489 |
+
<div class="relative rounded-lg overflow-hidden shadow-xl h-96">
|
| 490 |
+
<img src="https://images.unsplash.com/photo-1603974372036-a6d054a1f8a5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
|
| 491 |
+
alt="Baemont Workshop"
|
| 492 |
+
class="w-full h-full object-cover">
|
| 493 |
+
<div class="absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center">
|
| 494 |
+
<button class="bg-white bg-opacity-80 rounded-full p-4 hover:bg-opacity-100 transition">
|
| 495 |
+
<i class="fas fa-play text-amber-700 text-xl"></i>
|
| 496 |
+
</button>
|
| 497 |
+
</div>
|
| 498 |
+
</div>
|
| 499 |
+
</div>
|
| 500 |
+
</div>
|
| 501 |
+
</div>
|
| 502 |
+
</section>
|
| 503 |
+
|
| 504 |
+
<!-- Testimonials -->
|
| 505 |
+
<section class="py-16 bg-gray-50">
|
| 506 |
+
<div class="container mx-auto px-4">
|
| 507 |
+
<h2 class="heading-font text-3xl md:text-4xl font-bold text-center mb-12">Client Testimonials</h2>
|
| 508 |
+
|
| 509 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 510 |
+
<div class="bg-white p-8 rounded-lg shadow-md">
|
| 511 |
+
<div class="flex items-center mb-4">
|
| 512 |
+
<div class="text-amber-500 mr-2">
|
| 513 |
+
<i class="fas fa-star"></i>
|
| 514 |
+
<i class="fas fa-star"></i>
|
| 515 |
+
<i class="fas fa-star"></i>
|
| 516 |
+
<i class="fas fa-star"></i>
|
| 517 |
+
<i class="fas fa-star"></i>
|
| 518 |
+
</div>
|
| 519 |
+
<span class="text-gray-600 text-sm">5.0</span>
|
| 520 |
+
</div>
|
| 521 |
+
<p class="text-gray-600 mb-6">"My Baemont engagement ring is absolutely stunning. The craftsmanship is impeccable, and I receive compliments daily. Worth every penny."</p>
|
| 522 |
+
<div class="flex items-center">
|
| 523 |
+
<div class="h-10 w-10 rounded-full bg-gray-300 mr-3 overflow-hidden">
|
| 524 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Sarah J." class="w-full h-full object-cover">
|
| 525 |
+
</div>
|
| 526 |
+
<div>
|
| 527 |
+
<h4 class="font-semibold">Sarah J.</h4>
|
| 528 |
+
<p class="text-gray-500 text-sm">New York</p>
|
| 529 |
+
</div>
|
| 530 |
+
</div>
|
| 531 |
+
</div>
|
| 532 |
+
|
| 533 |
+
<div class="bg-white p-8 rounded-lg shadow-md">
|
| 534 |
+
<div class="flex items-center mb-4">
|
| 535 |
+
<div class="text-amber-500 mr-2">
|
| 536 |
+
<i class="fas fa-star"></i>
|
| 537 |
+
<i class="fas fa-star"></i>
|
| 538 |
+
<i class="fas fa-star"></i>
|
| 539 |
+
<i class="fas fa-star"></i>
|
| 540 |
+
<i class="fas fa-star"></i>
|
| 541 |
+
</div>
|
| 542 |
+
<span class="text-gray-600 text-sm">5.0</span>
|
| 543 |
+
</div>
|
| 544 |
+
<p class="text-gray-600 mb-6">"The pearl necklace I purchased for my wife's anniversary was even more beautiful in person. Baemont's attention to detail is remarkable."</p>
|
| 545 |
+
<div class="flex items-center">
|
| 546 |
+
<div class="h-10 w-10 rounded-full bg-gray-300 mr-3 overflow-hidden">
|
| 547 |
+
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Michael T." class="w-full h-full object-cover">
|
| 548 |
+
</div>
|
| 549 |
+
<div>
|
| 550 |
+
<h4 class="font-semibold">Michael T.</h4>
|
| 551 |
+
<p class="text-gray-500 text-sm">Chicago</p>
|
| 552 |
+
</div>
|
| 553 |
+
</div>
|
| 554 |
+
</div>
|
| 555 |
+
|
| 556 |
+
<div class="bg-white p-8 rounded-lg shadow-md">
|
| 557 |
+
<div class="flex items-center mb-4">
|
| 558 |
+
<div class="text-amber-500 mr-2">
|
| 559 |
+
<i class="fas fa-star"></i>
|
| 560 |
+
<i class="fas fa-star"></i>
|
| 561 |
+
<i class="fas fa-star"></i>
|
| 562 |
+
<i class="fas fa-star"></i>
|
| 563 |
+
<i class="fas fa-star-half-alt"></i>
|
| 564 |
+
</div>
|
| 565 |
+
<span class="text-gray-600 text-sm">4.5</span>
|
| 566 |
+
</div>
|
| 567 |
+
<p class="text-gray-600 mb-6">"I've purchased multiple pieces from Baemont over the years. Their jewellery maintains its beauty and quality, truly heirloom pieces."</p>
|
| 568 |
+
<div class="flex items-center">
|
| 569 |
+
<div class="h-10 w-10 rounded-full bg-gray-300 mr-3 overflow-hidden">
|
| 570 |
+
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Elizabeth R." class="w-full h-full object-cover">
|
| 571 |
+
</div>
|
| 572 |
+
<div>
|
| 573 |
+
<h4 class="font-semibold">Elizabeth R.</h4>
|
| 574 |
+
<p class="text-gray-500 text-sm">San Francisco</p>
|
| 575 |
+
</div>
|
| 576 |
+
</div>
|
| 577 |
+
</div>
|
| 578 |
+
</div>
|
| 579 |
+
</div>
|
| 580 |
+
</section>
|
| 581 |
+
|
| 582 |
+
<!-- Newsletter -->
|
| 583 |
+
<section class="py-16 bg-amber-800 text-white">
|
| 584 |
+
<div class="container mx-auto px-4 text-center">
|
| 585 |
+
<h2 class="heading-font text-3xl md:text-4xl font-bold mb-4">Join Our Community</h2>
|
| 586 |
+
<p class="max-w-2xl mx-auto mb-8">Subscribe to receive updates on new collections, exclusive offers, and jewellery care tips.</p>
|
| 587 |
+
|
| 588 |
+
<form class="max-w-md mx-auto flex">
|
| 589 |
+
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-l focus:outline-none text-gray-800">
|
| 590 |
+
<button type="submit" class="bg-amber-900 text-white px-6 py-3 rounded-r hover:bg-amber-950 transition">Subscribe</button>
|
| 591 |
+
</form>
|
| 592 |
+
|
| 593 |
+
<p class="text-sm mt-4 text-amber-200">We respect your privacy. Unsubscribe at any time.</p>
|
| 594 |
+
</div>
|
| 595 |
+
</section>
|
| 596 |
+
|
| 597 |
+
<!-- Footer -->
|
| 598 |
+
<footer class="bg-gray-900 text-white py-12">
|
| 599 |
+
<div class="container mx-auto px-4">
|
| 600 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 601 |
+
<div>
|
| 602 |
+
<h3 class="heading-font text-xl font-bold mb-4">BAEMONT</h3>
|
| 603 |
+
<p class="text-gray-400">Crafting exceptional jewellery since 1923. Each piece tells a story of artistry, quality, and timeless beauty.</p>
|
| 604 |
+
</div>
|
| 605 |
+
|
| 606 |
+
<div>
|
| 607 |
+
<h4 class="font-semibold text-lg mb-4">Shop</h4>
|
| 608 |
+
<ul class="space-y-2">
|
| 609 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">All Jewellery</a></li>
|
| 610 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Rings</a></li>
|
| 611 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Necklaces</a></li>
|
| 612 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Earrings</a></li>
|
| 613 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Bracelets</a></li>
|
| 614 |
+
</ul>
|
| 615 |
+
</div>
|
| 616 |
+
|
| 617 |
+
<div>
|
| 618 |
+
<h4 class="font-semibold text-lg mb-4">Information</h4>
|
| 619 |
+
<ul class="space-y-2">
|
| 620 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
|
| 621 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Jewellery Care</a></li>
|
| 622 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Shipping & Returns</a></li>
|
| 623 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a></li>
|
| 624 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a></li>
|
| 625 |
+
</ul>
|
| 626 |
+
</div>
|
| 627 |
+
|
| 628 |
+
<div>
|
| 629 |
+
<h4 class="font-semibold text-lg mb-4">Contact</h4>
|
| 630 |
+
<address class="not-italic text-gray-400">
|
| 631 |
+
<p class="mb-2">123 Jewel Street</p>
|
| 632 |
+
<p class="mb-2">New York, NY 10001</p>
|
| 633 |
+
<p class="mb-2">United States</p>
|
| 634 |
+
<p class="mb-4">+1 (555) 123-4567</p>
|
| 635 |
+
<div class="flex space-x-4">
|
| 636 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook-f"></i></a>
|
| 637 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-instagram"></i></a>
|
| 638 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-pinterest-p"></i></a>
|
| 639 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a>
|
| 640 |
+
</div>
|
| 641 |
+
</address>
|
| 642 |
+
</div>
|
| 643 |
+
</div>
|
| 644 |
+
|
| 645 |
+
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500 text-sm">
|
| 646 |
+
<p>© 2023 Baemont Fine Jewellery. All rights reserved.</p>
|
| 647 |
+
</div>
|
| 648 |
+
</div>
|
| 649 |
+
</footer>
|
| 650 |
+
|
| 651 |
+
<!-- Shopping Cart Sidebar -->
|
| 652 |
+
<div id="cart-sidebar" class="fixed top-0 right-0 h-full w-full md:w-96 bg-white shadow-xl transform translate-x-full transition-transform duration-300 ease-in-out z-50 overflow-y-auto">
|
| 653 |
+
<div class="p-6">
|
| 654 |
+
<div class="flex justify-between items-center mb-6">
|
| 655 |
+
<h3 class="text-xl font-bold">Your Cart</h3>
|
| 656 |
+
<button id="close-cart" class="text-gray-500 hover:text-gray-700">
|
| 657 |
+
<i class="fas fa-times"></i>
|
| 658 |
+
</button>
|
| 659 |
+
</div>
|
| 660 |
+
|
| 661 |
+
<div id="cart-items" class="mb-6">
|
| 662 |
+
<!-- Cart items will be added here dynamically -->
|
| 663 |
+
<div class="text-center py-8 text-gray-500" id="empty-cart-message">
|
| 664 |
+
<i class="fas fa-shopping-bag text-4xl mb-4 text-gray-300"></i>
|
| 665 |
+
<p>Your cart is empty</p>
|
| 666 |
+
</div>
|
| 667 |
+
</div>
|
| 668 |
+
|
| 669 |
+
<div class="border-t border-gray-200 pt-4 mb-4 hidden" id="cart-summary">
|
| 670 |
+
<div class="flex justify-between mb-2">
|
| 671 |
+
<span class="text-gray-600">Subtotal</span>
|
| 672 |
+
<span id="cart-subtotal" class="font-semibold">$0.00</span>
|
| 673 |
+
</div>
|
| 674 |
+
<div class="flex justify-between mb-4">
|
| 675 |
+
<span class="text-gray-600">Shipping</span>
|
| 676 |
+
<span class="font-semibold">Free</span>
|
| 677 |
+
</div>
|
| 678 |
+
<div class="flex justify-between text-lg font-bold">
|
| 679 |
+
<span>Total</span>
|
| 680 |
+
<span id="cart-total">$0.00</span>
|
| 681 |
+
</div>
|
| 682 |
+
</div>
|
| 683 |
+
|
| 684 |
+
<button id="checkout-btn" class="w-full bg-amber-700 text-white py-3 font-medium hover:bg-amber-800 transition hidden">Proceed to Checkout</button>
|
| 685 |
+
<a href="#" class="block text-center text-amber-700 mt-4 hover:text-amber-800 transition hidden" id="continue-shopping">Continue Shopping</a>
|
| 686 |
+
</div>
|
| 687 |
+
</div>
|
| 688 |
+
|
| 689 |
+
<!-- Overlay -->
|
| 690 |
+
<div id="overlay" class="fixed inset-0 bg-black bg-opacity-50 z-40 hidden"></div>
|
| 691 |
+
|
| 692 |
+
<script>
|
| 693 |
+
// Mobile Menu Toggle
|
| 694 |
+
const mobileMenuBtn = document.getElementById('mobile-menu-btn');
|
| 695 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
| 696 |
+
|
| 697 |
+
mobileMenuBtn.addEventListener('click', () => {
|
| 698 |
+
mobileMenu.classList.toggle('hidden');
|
| 699 |
+
});
|
| 700 |
+
|
| 701 |
+
// Search Bar Toggle
|
| 702 |
+
const searchBtn = document.getElementById('search-btn');
|
| 703 |
+
const searchBar = document.getElementById('search-bar');
|
| 704 |
+
|
| 705 |
+
searchBtn.addEventListener('click', () => {
|
| 706 |
+
searchBar.classList.toggle('hidden');
|
| 707 |
+
});
|
| 708 |
+
|
| 709 |
+
// Cart Functionality
|
| 710 |
+
const cartBtn = document.getElementById('cart-btn');
|
| 711 |
+
const cartSidebar = document.getElementById('cart-sidebar');
|
| 712 |
+
const closeCart = document.getElementById('close-cart');
|
| 713 |
+
const overlay = document.getElementById('overlay');
|
| 714 |
+
const cartCount = document.getElementById('cart-count');
|
| 715 |
+
const cartItemsContainer = document.getElementById('cart-items');
|
| 716 |
+
const emptyCartMessage = document.getElementById('empty-cart-message');
|
| 717 |
+
const cartSummary = document.getElementById('cart-summary');
|
| 718 |
+
const cartSubtotal = document.getElementById('cart-subtotal');
|
| 719 |
+
const cartTotal = document.getElementById('cart-total');
|
| 720 |
+
const checkoutBtn = document.getElementById('checkout-btn');
|
| 721 |
+
const continueShopping = document.getElementById('continue-shopping');
|
| 722 |
+
|
| 723 |
+
let cart = [];
|
| 724 |
+
|
| 725 |
+
// Open/Close Cart
|
| 726 |
+
cartBtn.addEventListener('click', () => {
|
| 727 |
+
cartSidebar.classList.remove('translate-x-full');
|
| 728 |
+
overlay.classList.remove('hidden');
|
| 729 |
+
document.body.style.overflow = 'hidden';
|
| 730 |
+
});
|
| 731 |
+
|
| 732 |
+
closeCart.addEventListener('click', () => {
|
| 733 |
+
cartSidebar.classList.add('translate-x-full');
|
| 734 |
+
overlay.classList.add('hidden');
|
| 735 |
+
document.body.style.overflow = '';
|
| 736 |
+
});
|
| 737 |
+
|
| 738 |
+
overlay.addEventListener('click', () => {
|
| 739 |
+
cartSidebar.classList.add('translate-x-full');
|
| 740 |
+
overlay.classList.add('hidden');
|
| 741 |
+
document.body.style.overflow = '';
|
| 742 |
+
});
|
| 743 |
+
|
| 744 |
+
// Add to Cart
|
| 745 |
+
const addToCartButtons = document.querySelectorAll('.add-to-cart');
|
| 746 |
+
|
| 747 |
+
addToCartButtons.forEach(button => {
|
| 748 |
+
button.addEventListener('click', () => {
|
| 749 |
+
const id = button.getAttribute('data-id');
|
| 750 |
+
const name = button.getAttribute('data-name');
|
| 751 |
+
const price = parseFloat(button.getAttribute('data-price'));
|
| 752 |
+
const image = button.getAttribute('data-image');
|
| 753 |
+
|
| 754 |
+
// Check if item already exists in cart
|
| 755 |
+
const existingItem = cart.find(item => item.id === id);
|
| 756 |
+
|
| 757 |
+
if (existingItem) {
|
| 758 |
+
existingItem.quantity += 1;
|
| 759 |
+
} else {
|
| 760 |
+
cart.push({
|
| 761 |
+
id,
|
| 762 |
+
name,
|
| 763 |
+
price,
|
| 764 |
+
image,
|
| 765 |
+
quantity: 1
|
| 766 |
+
});
|
| 767 |
+
}
|
| 768 |
+
|
| 769 |
+
updateCart();
|
| 770 |
+
|
| 771 |
+
// Show cart sidebar when item is added
|
| 772 |
+
cartSidebar.classList.remove('translate-x-full');
|
| 773 |
+
overlay.classList.remove('hidden');
|
| 774 |
+
document.body.style.overflow = 'hidden';
|
| 775 |
+
|
| 776 |
+
// Animation feedback
|
| 777 |
+
button.textContent = 'Added!';
|
| 778 |
+
button.classList.remove('bg-amber-700');
|
| 779 |
+
button.classList.add('bg-green-600');
|
| 780 |
+
|
| 781 |
+
setTimeout(() => {
|
| 782 |
+
button.textContent = 'Add to Cart';
|
| 783 |
+
button.classList.remove('bg-green-600');
|
| 784 |
+
button.classList.add('bg-amber-700');
|
| 785 |
+
}, 1000);
|
| 786 |
+
});
|
| 787 |
+
});
|
| 788 |
+
|
| 789 |
+
// Update Cart
|
| 790 |
+
function updateCart() {
|
| 791 |
+
// Update cart count
|
| 792 |
+
const totalItems = cart.reduce((total, item) => total + item.quantity, 0);
|
| 793 |
+
cartCount.textContent = totalItems;
|
| 794 |
+
|
| 795 |
+
if (totalItems > 0) {
|
| 796 |
+
cartCount.classList.remove('hidden');
|
| 797 |
+
} else {
|
| 798 |
+
cartCount.classList.add('hidden');
|
| 799 |
+
}
|
| 800 |
+
|
| 801 |
+
// Update cart items
|
| 802 |
+
cartItemsContainer.innerHTML = '';
|
| 803 |
+
|
| 804 |
+
if (cart.length === 0) {
|
| 805 |
+
emptyCartMessage.classList.remove('hidden');
|
| 806 |
+
cartSummary.classList.add('hidden');
|
| 807 |
+
checkoutBtn.classList.add('hidden');
|
| 808 |
+
continueShopping.classList.add('hidden');
|
| 809 |
+
} else {
|
| 810 |
+
emptyCartMessage.classList.add('hidden');
|
| 811 |
+
cartSummary.classList.remove('hidden');
|
| 812 |
+
checkoutBtn.classList.remove('hidden');
|
| 813 |
+
continueShopping.classList.remove('hidden');
|
| 814 |
+
|
| 815 |
+
let subtotal = 0;
|
| 816 |
+
|
| 817 |
+
cart.forEach(item => {
|
| 818 |
+
subtotal += item.price * item.quantity;
|
| 819 |
+
|
| 820 |
+
const cartItemElement = document.createElement('div');
|
| 821 |
+
cartItemElement.className = 'flex py-4 border-b border-gray-200';
|
| 822 |
+
cartItemElement.innerHTML = `
|
| 823 |
+
<div class="w-20 h-20 flex-shrink-0 overflow-hidden rounded-md border border-gray-200">
|
| 824 |
+
<img src="${item.image}" alt="${item.name}" class="w-full h-full object-cover">
|
| 825 |
+
</div>
|
| 826 |
+
<div class="ml-4 flex-grow">
|
| 827 |
+
<div class="flex justify-between">
|
| 828 |
+
<h4 class="font-medium">${item.name}</h4>
|
| 829 |
+
<button class="remove-item text-gray-500 hover:text-red-500" data-id="${item.id}">
|
| 830 |
+
<i class="fas fa-times"></i>
|
| 831 |
+
</button>
|
| 832 |
+
</div>
|
| 833 |
+
<div class="flex justify-between items-center mt-2">
|
| 834 |
+
<div class="flex items-center border border-gray-300 rounded">
|
| 835 |
+
<button class="decrease-quantity px-2 py-1 text-gray-600 hover:bg-gray-100" data-id="${item.id}">-</button>
|
| 836 |
+
<span class="px-2">${item.quantity}</span>
|
| 837 |
+
<button class="increase-quantity px-2 py-1 text-gray-600 hover:bg-gray-100" data-id="${item.id}">+</button>
|
| 838 |
+
</div>
|
| 839 |
+
<span class="font-medium">$${(item.price * item.quantity).toFixed(2)}</span>
|
| 840 |
+
</div>
|
| 841 |
+
</div>
|
| 842 |
+
`;
|
| 843 |
+
|
| 844 |
+
cartItemsContainer.appendChild(cartItemElement);
|
| 845 |
+
});
|
| 846 |
+
|
| 847 |
+
// Update totals
|
| 848 |
+
cartSubtotal.textContent = `$${subtotal.toFixed(2)}`;
|
| 849 |
+
cartTotal.textContent = `$${subtotal.toFixed(2)}`;
|
| 850 |
+
|
| 851 |
+
// Add event listeners to quantity buttons
|
| 852 |
+
document.querySelectorAll('.decrease-quantity').forEach(button => {
|
| 853 |
+
button.addEventListener('click', (e) => {
|
| 854 |
+
const id = e.target.getAttribute('data-id');
|
| 855 |
+
const item = cart.find(item => item.id === id);
|
| 856 |
+
|
| 857 |
+
if (item.quantity > 1) {
|
| 858 |
+
item.quantity -= 1;
|
| 859 |
+
} else {
|
| 860 |
+
cart = cart.filter(item => item.id !== id);
|
| 861 |
+
}
|
| 862 |
+
|
| 863 |
+
updateCart();
|
| 864 |
+
});
|
| 865 |
+
});
|
| 866 |
+
|
| 867 |
+
document.querySelectorAll('.increase-quantity').forEach(button => {
|
| 868 |
+
button.addEventListener('click', (e) => {
|
| 869 |
+
const id = e.target.getAttribute('data-id');
|
| 870 |
+
const item = cart.find(item => item.id === id);
|
| 871 |
+
item.quantity += 1;
|
| 872 |
+
updateCart();
|
| 873 |
+
});
|
| 874 |
+
});
|
| 875 |
+
|
| 876 |
+
document.querySelectorAll('.remove-item').forEach(button => {
|
| 877 |
+
button.addEventListener('click', (e) => {
|
| 878 |
+
const id = e.target.closest('button').getAttribute('data-id');
|
| 879 |
+
cart = cart.filter(item => item.id !== id);
|
| 880 |
+
updateCart();
|
| 881 |
+
});
|
| 882 |
+
});
|
| 883 |
+
}
|
| 884 |
+
}
|
| 885 |
+
|
| 886 |
+
// Checkout Button
|
| 887 |
+
checkoutBtn.addEventListener('click', () => {
|
| 888 |
+
alert('Proceeding to checkout with ' + cart.reduce((total, item) => total + item.quantity, 0) + ' items.');
|
| 889 |
+
// In a real implementation, this would redirect to a checkout page
|
| 890 |
+
});
|
| 891 |
+
</script>
|
| 892 |
+
<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://deepsite.hf.co/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://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=ashesw/asheslab" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 893 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Build me a website to list and sell fine jewellery with brand Baemont
|