Add 2 files
Browse files- README.md +7 -5
- index.html +601 -19
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: bilquar
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: gray
|
5 |
+
colorTo: pink
|
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,601 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="fr">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Artisanat Marocain | Trésors du Maroc</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;700&family=Poppins:wght@300;400;600&display=swap');
|
11 |
+
|
12 |
+
body {
|
13 |
+
font-family: 'Poppins', sans-serif;
|
14 |
+
background-color: #f8f5f2;
|
15 |
+
}
|
16 |
+
|
17 |
+
.title-font {
|
18 |
+
font-family: 'Playfair Display', serif;
|
19 |
+
}
|
20 |
+
|
21 |
+
.hero-pattern {
|
22 |
+
background-image: url('https://images.unsplash.com/photo-1552733407-5d5c46c0bb2b?ixlib=rb-4.0.3');
|
23 |
+
background-size: cover;
|
24 |
+
background-position: center;
|
25 |
+
background-blend-mode: overlay;
|
26 |
+
}
|
27 |
+
|
28 |
+
.product-card:hover .product-overlay {
|
29 |
+
opacity: 1;
|
30 |
+
}
|
31 |
+
|
32 |
+
.product-overlay {
|
33 |
+
transition: all 0.3s ease;
|
34 |
+
opacity: 0;
|
35 |
+
}
|
36 |
+
|
37 |
+
.cart-item {
|
38 |
+
transition: all 0.3s ease;
|
39 |
+
}
|
40 |
+
|
41 |
+
.cart-item:hover {
|
42 |
+
transform: translateY(-3px);
|
43 |
+
}
|
44 |
+
|
45 |
+
/* Animation for cart notification */
|
46 |
+
@keyframes pulse {
|
47 |
+
0% { transform: scale(1); }
|
48 |
+
50% { transform: scale(1.1); }
|
49 |
+
100% { transform: scale(1); }
|
50 |
+
}
|
51 |
+
|
52 |
+
.pulse {
|
53 |
+
animation: pulse 1s infinite;
|
54 |
+
}
|
55 |
+
</style>
|
56 |
+
</head>
|
57 |
+
<body>
|
58 |
+
<!-- Header -->
|
59 |
+
<header class="bg-white shadow-md">
|
60 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
61 |
+
<div class="flex items-center">
|
62 |
+
<div class="w-12 h-12 bg-amber-600 rounded-full flex items-center justify-center mr-3">
|
63 |
+
<i class="fas fa-hands text-white text-xl"></i>
|
64 |
+
</div>
|
65 |
+
<h1 class="title-font text-2xl font-bold text-amber-800">Trésors du Maroc</h1>
|
66 |
+
</div>
|
67 |
+
|
68 |
+
<nav class="hidden md:flex space-x-8">
|
69 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium">Accueil</a>
|
70 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium">Produits</a>
|
71 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium">Artisans</a>
|
72 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium">Histoire</a>
|
73 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium">Contact</a>
|
74 |
+
</nav>
|
75 |
+
|
76 |
+
<div class="flex items-center space-x-4">
|
77 |
+
<div class="relative">
|
78 |
+
<button id="cart-btn" class="text-amber-900 hover:text-amber-600">
|
79 |
+
<i class="fas fa-shopping-cart text-xl"></i>
|
80 |
+
<span id="cart-count" class="absolute -top-2 -right-2 bg-amber-600 text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center hidden">0</span>
|
81 |
+
</button>
|
82 |
+
|
83 |
+
<!-- Cart Dropdown -->
|
84 |
+
<div id="cart-dropdown" class="hidden absolute right-0 mt-2 w-72 bg-white rounded-md shadow-lg z-50 py-2">
|
85 |
+
<div class="px-4 py-2 border-b">
|
86 |
+
<h3 class="font-bold text-amber-900">Votre Panier</h3>
|
87 |
+
</div>
|
88 |
+
<div id="cart-items" class="max-h-60 overflow-y-auto px-2">
|
89 |
+
<!-- Cart items will be added here dynamically -->
|
90 |
+
<p class="text-gray-500 text-center py-4">Votre panier est vide</p>
|
91 |
+
</div>
|
92 |
+
<div class="px-4 py-2 border-t">
|
93 |
+
<div class="flex justify-between mb-2">
|
94 |
+
<span class="font-medium">Total:</span>
|
95 |
+
<span id="cart-total" class="font-bold">0 MAD</span>
|
96 |
+
</div>
|
97 |
+
<button class="w-full bg-amber-600 hover:bg-amber-700 text-white py-2 rounded-md font-medium transition">
|
98 |
+
Commander
|
99 |
+
</button>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
|
104 |
+
<button class="md:hidden text-amber-900" id="mobile-menu-btn">
|
105 |
+
<i class="fas fa-bars text-xl"></i>
|
106 |
+
</button>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
|
110 |
+
<!-- Mobile Menu -->
|
111 |
+
<div id="mobile-menu" class="hidden md:hidden bg-white border-t">
|
112 |
+
<div class="container mx-auto px-4 py-3 flex flex-col space-y-3">
|
113 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium py-1">Accueil</a>
|
114 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium py-1">Produits</a>
|
115 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium py-1">Artisans</a>
|
116 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium py-1">Histoire</a>
|
117 |
+
<a href="#" class="text-amber-900 hover:text-amber-600 font-medium py-1">Contact</a>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
</header>
|
121 |
+
|
122 |
+
<!-- Hero Section -->
|
123 |
+
<section class="hero-pattern bg-amber-800 bg-opacity-90 text-white py-16 md:py-24">
|
124 |
+
<div class="container mx-auto px-4 text-center">
|
125 |
+
<h2 class="title-font text-4xl md:text-5xl font-bold mb-4">L'Artisanat Marocain Authentique</h2>
|
126 |
+
<p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto">Découvrez des pièces uniques façonnées à la main par nos maîtres artisans</p>
|
127 |
+
<button class="bg-white text-amber-800 hover:bg-amber-100 font-bold py-3 px-8 rounded-full transition duration-300 transform hover:scale-105">
|
128 |
+
Explorer la Collection
|
129 |
+
</button>
|
130 |
+
</div>
|
131 |
+
</section>
|
132 |
+
|
133 |
+
<!-- Categories -->
|
134 |
+
<section class="py-12 bg-white">
|
135 |
+
<div class="container mx-auto px-4">
|
136 |
+
<h2 class="title-font text-3xl text-center text-amber-900 mb-12">Nos Catégories</h2>
|
137 |
+
|
138 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-8">
|
139 |
+
<div class="category-card bg-amber-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
140 |
+
<div class="h-40 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1598300042247-d088f8ab3c91?ixlib=rb-4.0.3');"></div>
|
141 |
+
<div class="p-4">
|
142 |
+
<h3 class="font-bold text-amber-900">Céramique & Poterie</h3>
|
143 |
+
<p class="text-sm text-gray-600 mt-1">Zellige et tajines artisanaux</p>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
|
147 |
+
<div class="category-card bg-amber-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
148 |
+
<div class="h-40 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3');"></div>
|
149 |
+
<div class="p-4">
|
150 |
+
<h3 class="font-bold text-amber-900">Textiles & Tapis</h3>
|
151 |
+
<p class="text-sm text-gray-600 mt-1">Tapis berbères et caftans</p>
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<div class="category-card bg-amber-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
156 |
+
<div class="h-40 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1584735429098-c17bf4c1c37f?ixlib=rb-4.0.3');"></div>
|
157 |
+
<div class="p-4">
|
158 |
+
<h3 class="font-bold text-amber-900">Bois Sculpté</h3>
|
159 |
+
<p class="text-sm text-gray-600 mt-1">Meubles et objets décoratifs</p>
|
160 |
+
</div>
|
161 |
+
</div>
|
162 |
+
|
163 |
+
<div class="category-card bg-amber-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
164 |
+
<div class="h-40 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?ixlib=rb-4.0.3');"></div>
|
165 |
+
<div class="p-4">
|
166 |
+
<h3 class="font-bold text-amber-900">Cuivre & Métal</h3>
|
167 |
+
<p class="text-sm text-gray-600 mt-1">Luminaires et ustensiles</p>
|
168 |
+
</div>
|
169 |
+
</div>
|
170 |
+
</div>
|
171 |
+
</div>
|
172 |
+
</section>
|
173 |
+
|
174 |
+
<!-- Featured Products -->
|
175 |
+
<section class="py-16 bg-amber-50">
|
176 |
+
<div class="container mx-auto px-4">
|
177 |
+
<div class="flex justify-between items-center mb-12">
|
178 |
+
<h2 class="title-font text-3xl text-amber-900">Produits Phares</h2>
|
179 |
+
<a href="#" class="text-amber-700 hover:text-amber-900 font-medium flex items-center">
|
180 |
+
Voir tout <i class="fas fa-arrow-right ml-2"></i>
|
181 |
+
</a>
|
182 |
+
</div>
|
183 |
+
|
184 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
|
185 |
+
<!-- Product 1 -->
|
186 |
+
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md relative">
|
187 |
+
<div class="h-64 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?ixlib=rb-4.0.3');"></div>
|
188 |
+
<div class="p-4">
|
189 |
+
<div class="flex justify-between items-start">
|
190 |
+
<div>
|
191 |
+
<h3 class="font-bold text-amber-900">Lampe en Cuivre</h3>
|
192 |
+
<p class="text-gray-600 text-sm">Fès</p>
|
193 |
+
</div>
|
194 |
+
<span class="bg-amber-100 text-amber-800 text-xs font-bold px-2 py-1 rounded">Nouveau</span>
|
195 |
+
</div>
|
196 |
+
<div class="mt-3 flex justify-between items-center">
|
197 |
+
<span class="font-bold text-amber-800">450 MAD</span>
|
198 |
+
<button class="add-to-cart text-amber-700 hover:text-amber-900" data-id="1" data-name="Lampe en Cuivre" data-price="450" data-image="https://images.unsplash.com/photo-1605000797499-95a51c5269ae?ixlib=rb-4.0.3">
|
199 |
+
<i class="fas fa-plus-circle text-xl"></i>
|
200 |
+
</button>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
<div class="product-overlay absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center">
|
204 |
+
<button class="bg-white text-amber-800 font-bold py-2 px-6 rounded-full hover:bg-amber-100 transition">
|
205 |
+
Voir Détails
|
206 |
+
</button>
|
207 |
+
</div>
|
208 |
+
</div>
|
209 |
+
|
210 |
+
<!-- Product 2 -->
|
211 |
+
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md relative">
|
212 |
+
<div class="h-64 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3');"></div>
|
213 |
+
<div class="p-4">
|
214 |
+
<div class="flex justify-between items-start">
|
215 |
+
<div>
|
216 |
+
<h3 class="font-bold text-amber-900">Tapis Berbère</h3>
|
217 |
+
<p class="text-gray-600 text-sm">Atlas</p>
|
218 |
+
</div>
|
219 |
+
<span class="bg-amber-100 text-amber-800 text-xs font-bold px-2 py-1 rounded">Populaire</span>
|
220 |
+
</div>
|
221 |
+
<div class="mt-3 flex justify-between items-center">
|
222 |
+
<span class="font-bold text-amber-800">1,200 MAD</span>
|
223 |
+
<button class="add-to-cart text-amber-700 hover:text-amber-900" data-id="2" data-name="Tapis Berbère" data-price="1200" data-image="https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3">
|
224 |
+
<i class="fas fa-plus-circle text-xl"></i>
|
225 |
+
</button>
|
226 |
+
</div>
|
227 |
+
</div>
|
228 |
+
<div class="product-overlay absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center">
|
229 |
+
<button class="bg-white text-amber-800 font-bold py-2 px-6 rounded-full hover:bg-amber-100 transition">
|
230 |
+
Voir Détails
|
231 |
+
</button>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
|
235 |
+
<!-- Product 3 -->
|
236 |
+
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md relative">
|
237 |
+
<div class="h-64 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1598300042247-d088f8ab3c91?ixlib=rb-4.0.3');"></div>
|
238 |
+
<div class="p-4">
|
239 |
+
<div class="flex justify-between items-start">
|
240 |
+
<div>
|
241 |
+
<h3 class="font-bold text-amber-900">Assiette Zellige</h3>
|
242 |
+
<p class="text-gray-600 text-sm">Marrakech</p>
|
243 |
+
</div>
|
244 |
+
</div>
|
245 |
+
<div class="mt-3 flex justify-between items-center">
|
246 |
+
<span class="font-bold text-amber-800">280 MAD</span>
|
247 |
+
<button class="add-to-cart text-amber-700 hover:text-amber-900" data-id="3" data-name="Assiette Zellige" data-price="280" data-image="https://images.unsplash.com/photo-1598300042247-d088f8ab3c91?ixlib=rb-4.0.3">
|
248 |
+
<i class="fas fa-plus-circle text-xl"></i>
|
249 |
+
</button>
|
250 |
+
</div>
|
251 |
+
</div>
|
252 |
+
<div class="product-overlay absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center">
|
253 |
+
<button class="bg-white text-amber-800 font-bold py-2 px-6 rounded-full hover:bg-amber-100 transition">
|
254 |
+
Voir Détails
|
255 |
+
</button>
|
256 |
+
</div>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<!-- Product 4 -->
|
260 |
+
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md relative">
|
261 |
+
<div class="h-64 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1584735429098-c17bf4c1c37f?ixlib=rb-4.0.3');"></div>
|
262 |
+
<div class="p-4">
|
263 |
+
<div class="flex justify-between items-start">
|
264 |
+
<div>
|
265 |
+
<h3 class="font-bold text-amber-900">Boîte en Bois</h3>
|
266 |
+
<p class="text-gray-600 text-sm">Essaouira</p>
|
267 |
+
</div>
|
268 |
+
<span class="bg-amber-100 text-amber-800 text-xs font-bold px-2 py-1 rounded">Édition limitée</span>
|
269 |
+
</div>
|
270 |
+
<div class="mt-3 flex justify-between items-center">
|
271 |
+
<span class="font-bold text-amber-800">350 MAD</span>
|
272 |
+
<button class="add-to-cart text-amber-700 hover:text-amber-900" data-id="4" data-name="Boîte en Bois" data-price="350" data-image="https://images.unsplash.com/photo-1584735429098-c17bf4c1c37f?ixlib=rb-4.0.3">
|
273 |
+
<i class="fas fa-plus-circle text-xl"></i>
|
274 |
+
</button>
|
275 |
+
</div>
|
276 |
+
</div>
|
277 |
+
<div class="product-overlay absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center">
|
278 |
+
<button class="bg-white text-amber-800 font-bold py-2 px-6 rounded-full hover:bg-amber-100 transition">
|
279 |
+
Voir Détails
|
280 |
+
</button>
|
281 |
+
</div>
|
282 |
+
</div>
|
283 |
+
</div>
|
284 |
+
</div>
|
285 |
+
</section>
|
286 |
+
|
287 |
+
<!-- Artisans Section -->
|
288 |
+
<section class="py-16 bg-white">
|
289 |
+
<div class="container mx-auto px-4">
|
290 |
+
<h2 class="title-font text-3xl text-center text-amber-900 mb-12">Rencontrez Nos Artisans</h2>
|
291 |
+
|
292 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
293 |
+
<div class="bg-amber-50 rounded-lg overflow-hidden shadow-md">
|
294 |
+
<div class="h-64 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1589156280159-27698a70f0de?ixlib=rb-4.0.3');"></div>
|
295 |
+
<div class="p-6">
|
296 |
+
<h3 class="font-bold text-xl text-amber-900 mb-2">Mohamed El Fassi</h3>
|
297 |
+
<p class="text-amber-700 font-medium mb-3">Maître Céramiste</p>
|
298 |
+
<p class="text-gray-600">Mohamed perpétue la tradition familiale de la céramique de Fès depuis plus de 30 ans. Ses pièces sont reconnues pour leurs motifs géométriques complexes.</p>
|
299 |
+
</div>
|
300 |
+
</div>
|
301 |
+
|
302 |
+
<div class="bg-amber-50 rounded-lg overflow-hidden shadow-md">
|
303 |
+
<div class="h-64 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1562787186-13a35b5d2393?ixlib=rb-4.0.3');"></div>
|
304 |
+
<div class="p-6">
|
305 |
+
<h3 class="font-bold text-xl text-amber-900 mb-2">Amina Taznakht</h3>
|
306 |
+
<p class="text-amber-700 font-medium mb-3">Tisserande Berbère</p>
|
307 |
+
<p class="text-gray-600">Amina crée des tapis berbères selon des techniques ancestrales transmises de mère en fille. Chaque tapis raconte une histoire à travers ses motifs symboliques.</p>
|
308 |
+
</div>
|
309 |
+
</div>
|
310 |
+
|
311 |
+
<div class="bg-amber-50 rounded-lg overflow-hidden shadow-md">
|
312 |
+
<div class="h-64 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1580489944761-15a19d654956?ixlib=rb-4.0.3');"></div>
|
313 |
+
<div class="p-6">
|
314 |
+
<h3 class="font-bold text-xl text-amber-900 mb-2">Youssef Marraki</h3>
|
315 |
+
<p class="text-amber-700 font-medium mb-3">Maâlem du Cuivre</p>
|
316 |
+
<p class="text-gray-600">Youssef, maâlem (maître artisan) de la médina de Marrakech, transforme le cuivre en objets d'art depuis 40 ans avec un savoir-faire exceptionnel.</p>
|
317 |
+
</div>
|
318 |
+
</div>
|
319 |
+
</div>
|
320 |
+
|
321 |
+
<div class="text-center mt-12">
|
322 |
+
<button class="bg-amber-600 hover:bg-amber-700 text-white font-bold py-3 px-8 rounded-full transition">
|
323 |
+
Découvrir Tous Nos Artisans
|
324 |
+
</button>
|
325 |
+
</div>
|
326 |
+
</div>
|
327 |
+
</section>
|
328 |
+
|
329 |
+
<!-- Testimonials -->
|
330 |
+
<section class="py-16 bg-amber-100">
|
331 |
+
<div class="container mx-auto px-4">
|
332 |
+
<h2 class="title-font text-3xl text-center text-amber-900 mb-12">Témoignages</h2>
|
333 |
+
|
334 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
335 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
336 |
+
<div class="flex items-center mb-4">
|
337 |
+
<div class="w-12 h-12 bg-amber-200 rounded-full flex items-center justify-center mr-4">
|
338 |
+
<i class="fas fa-user text-amber-700"></i>
|
339 |
+
</div>
|
340 |
+
<div>
|
341 |
+
<h4 class="font-bold text-amber-900">Sophie Martin</h4>
|
342 |
+
<div class="flex text-amber-500">
|
343 |
+
<i class="fas fa-star"></i>
|
344 |
+
<i class="fas fa-star"></i>
|
345 |
+
<i class="fas fa-star"></i>
|
346 |
+
<i class="fas fa-star"></i>
|
347 |
+
<i class="fas fa-star"></i>
|
348 |
+
</div>
|
349 |
+
</div>
|
350 |
+
</div>
|
351 |
+
<p class="text-gray-600">"La lampe en cuivre que j'ai achetée est magnifique. La qualité du travail est exceptionnelle et elle apporte une touche magique à mon salon."</p>
|
352 |
+
</div>
|
353 |
+
|
354 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
355 |
+
<div class="flex items-center mb-4">
|
356 |
+
<div class="w-12 h-12 bg-amber-200 rounded-full flex items-center justify-center mr-4">
|
357 |
+
<i class="fas fa-user text-amber-700"></i>
|
358 |
+
</div>
|
359 |
+
<div>
|
360 |
+
<h4 class="font-bold text-amber-900">Jean Dupont</h4>
|
361 |
+
<div class="flex text-amber-500">
|
362 |
+
<i class="fas fa-star"></i>
|
363 |
+
<i class="fas fa-star"></i>
|
364 |
+
<i class="fas fa-star"></i>
|
365 |
+
<i class="fas fa-star"></i>
|
366 |
+
<i class="fas fa-star"></i>
|
367 |
+
</div>
|
368 |
+
</div>
|
369 |
+
</div>
|
370 |
+
<p class="text-gray-600">"Le tapis berbère est encore plus beau en vrai que sur les photos. Livraison rapide et emballage soigné. Je recommande vivement!"</p>
|
371 |
+
</div>
|
372 |
+
|
373 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
374 |
+
<div class="flex items-center mb-4">
|
375 |
+
<div class="w-12 h-12 bg-amber-200 rounded-full flex items-center justify-center mr-4">
|
376 |
+
<i class="fas fa-user text-amber-700"></i>
|
377 |
+
</div>
|
378 |
+
<div>
|
379 |
+
<h4 class="font-bold text-amber-900">Amélie Leroy</h4>
|
380 |
+
<div class="flex text-amber-500">
|
381 |
+
<i class="fas fa-star"></i>
|
382 |
+
<i class="fas fa-star"></i>
|
383 |
+
<i class="fas fa-star"></i>
|
384 |
+
<i class="fas fa-star"></i>
|
385 |
+
<i class="fas fa-star-half-alt"></i>
|
386 |
+
</div>
|
387 |
+
</div>
|
388 |
+
</div>
|
389 |
+
<p class="text-gray-600">"J'ai offert la boîte en bois à ma mère qui collectionne les objets artisanaux. Elle a adoré! Le travail de marqueterie est d'une finesse incroyable."</p>
|
390 |
+
</div>
|
391 |
+
</div>
|
392 |
+
</div>
|
393 |
+
</section>
|
394 |
+
|
395 |
+
<!-- Newsletter -->
|
396 |
+
<section class="py-16 bg-amber-800 text-white">
|
397 |
+
<div class="container mx-auto px-4 text-center">
|
398 |
+
<h2 class="title-font text-3xl mb-4">Restez Connectés</h2>
|
399 |
+
<p class="max-w-2xl mx-auto mb-8">Abonnez-vous à notre newsletter pour recevoir nos nouveautés, offres spéciales et histoires d'artisans.</p>
|
400 |
+
|
401 |
+
<form class="max-w-md mx-auto flex">
|
402 |
+
<input type="email" placeholder="Votre email" class="flex-grow px-4 py-3 rounded-l-md focus:outline-none text-gray-800">
|
403 |
+
<button type="submit" class="bg-amber-600 hover:bg-amber-700 px-6 py-3 rounded-r-md font-medium transition">
|
404 |
+
S'abonner
|
405 |
+
</button>
|
406 |
+
</form>
|
407 |
+
</div>
|
408 |
+
</section>
|
409 |
+
|
410 |
+
<!-- Footer -->
|
411 |
+
<footer class="bg-amber-900 text-white pt-12 pb-6">
|
412 |
+
<div class="container mx-auto px-4">
|
413 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
|
414 |
+
<div>
|
415 |
+
<h3 class="title-font text-xl font-bold mb-4">Trésors du Maroc</h3>
|
416 |
+
<p class="text-amber-100">Depuis 2010, nous mettons en valeur l'artisanat marocain authentique et soutenons les artisans locaux dans leur travail.</p>
|
417 |
+
<div class="flex space-x-4 mt-4">
|
418 |
+
<a href="#" class="text-amber-200 hover:text-white"><i class="fab fa-facebook-f"></i></a>
|
419 |
+
<a href="#" class="text-amber-200 hover:text-white"><i class="fab fa-instagram"></i></a>
|
420 |
+
<a href="#" class="text-amber-200 hover:text-white"><i class="fab fa-pinterest-p"></i></a>
|
421 |
+
</div>
|
422 |
+
</div>
|
423 |
+
|
424 |
+
<div>
|
425 |
+
<h4 class="font-bold mb-4">Navigation</h4>
|
426 |
+
<ul class="space-y-2">
|
427 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Accueil</a></li>
|
428 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Boutique</a></li>
|
429 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Artisans</a></li>
|
430 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Blog</a></li>
|
431 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Contact</a></li>
|
432 |
+
</ul>
|
433 |
+
</div>
|
434 |
+
|
435 |
+
<div>
|
436 |
+
<h4 class="font-bold mb-4">Service Client</h4>
|
437 |
+
<ul class="space-y-2">
|
438 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Livraison & Retours</a></li>
|
439 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Paiement Sécurisé</a></li>
|
440 |
+
<li><a href="#" class="text-amber-200 hover:text-white">FAQ</a></li>
|
441 |
+
<li><a href="#" class="text-amber-200 hover:text-white">Conditions Générales</a></li>
|
442 |
+
</ul>
|
443 |
+
</div>
|
444 |
+
|
445 |
+
<div>
|
446 |
+
<h4 class="font-bold mb-4">Contact</h4>
|
447 |
+
<ul class="space-y-2">
|
448 |
+
<li class="flex items-center">
|
449 |
+
<i class="fas fa-map-marker-alt mr-2 text-amber-300"></i>
|
450 |
+
<span>123 Rue de l'Artisanat, Marrakech</span>
|
451 |
+
</li>
|
452 |
+
<li class="flex items-center">
|
453 |
+
<i class="fas fa-phone-alt mr-2 text-amber-300"></i>
|
454 |
+
<span>+212 6 12 34 56 78</span>
|
455 |
+
</li>
|
456 |
+
<li class="flex items-center">
|
457 |
+
<i class="fas fa-envelope mr-2 text-amber-300"></i>
|
458 |
+
<span>[email protected]</span>
|
459 |
+
</li>
|
460 |
+
</ul>
|
461 |
+
</div>
|
462 |
+
</div>
|
463 |
+
|
464 |
+
<div class="border-t border-amber-800 pt-6 flex flex-col md:flex-row justify-between items-center">
|
465 |
+
<p class="text-amber-200 text-sm mb-4 md:mb-0">© 2023 Trésors du Maroc. Tous droits réservés.</p>
|
466 |
+
<div class="flex space-x-6">
|
467 |
+
<img src="https://via.placeholder.com/40x25" alt="Payment Method" class="h-6">
|
468 |
+
<img src="https://via.placeholder.com/40x25" alt="Payment Method" class="h-6">
|
469 |
+
<img src="https://via.placeholder.com/40x25" alt="Payment Method" class="h-6">
|
470 |
+
</div>
|
471 |
+
</div>
|
472 |
+
</div>
|
473 |
+
</footer>
|
474 |
+
|
475 |
+
<script>
|
476 |
+
// Mobile Menu Toggle
|
477 |
+
const mobileMenuBtn = document.getElementById('mobile-menu-btn');
|
478 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
479 |
+
|
480 |
+
mobileMenuBtn.addEventListener('click', () => {
|
481 |
+
mobileMenu.classList.toggle('hidden');
|
482 |
+
});
|
483 |
+
|
484 |
+
// Cart Functionality
|
485 |
+
const cartBtn = document.getElementById('cart-btn');
|
486 |
+
const cartDropdown = document.getElementById('cart-dropdown');
|
487 |
+
const cartCount = document.getElementById('cart-count');
|
488 |
+
const cartItems = document.getElementById('cart-items');
|
489 |
+
const cartTotal = document.getElementById('cart-total');
|
490 |
+
|
491 |
+
let cart = [];
|
492 |
+
|
493 |
+
// Toggle cart dropdown
|
494 |
+
cartBtn.addEventListener('click', (e) => {
|
495 |
+
e.stopPropagation();
|
496 |
+
cartDropdown.classList.toggle('hidden');
|
497 |
+
});
|
498 |
+
|
499 |
+
// Close cart when clicking outside
|
500 |
+
document.addEventListener('click', (e) => {
|
501 |
+
if (!cartDropdown.contains(e.target) && e.target !== cartBtn) {
|
502 |
+
cartDropdown.classList.add('hidden');
|
503 |
+
}
|
504 |
+
});
|
505 |
+
|
506 |
+
// Add to cart functionality
|
507 |
+
const addToCartButtons = document.querySelectorAll('.add-to-cart');
|
508 |
+
|
509 |
+
addToCartButtons.forEach(button => {
|
510 |
+
button.addEventListener('click', (e) => {
|
511 |
+
e.stopPropagation();
|
512 |
+
|
513 |
+
const id = button.getAttribute('data-id');
|
514 |
+
const name = button.getAttribute('data-name');
|
515 |
+
const price = parseFloat(button.getAttribute('data-price'));
|
516 |
+
const image = button.getAttribute('data-image');
|
517 |
+
|
518 |
+
// Check if item already in cart
|
519 |
+
const existingItem = cart.find(item => item.id === id);
|
520 |
+
|
521 |
+
if (existingItem) {
|
522 |
+
existingItem.quantity += 1;
|
523 |
+
} else {
|
524 |
+
cart.push({
|
525 |
+
id,
|
526 |
+
name,
|
527 |
+
price,
|
528 |
+
image,
|
529 |
+
quantity: 1
|
530 |
+
});
|
531 |
+
}
|
532 |
+
|
533 |
+
updateCart();
|
534 |
+
|
535 |
+
// Show notification
|
536 |
+
cartCount.classList.remove('hidden');
|
537 |
+
cartCount.classList.add('pulse');
|
538 |
+
setTimeout(() => {
|
539 |
+
cartCount.classList.remove('pulse');
|
540 |
+
}, 1000);
|
541 |
+
});
|
542 |
+
});
|
543 |
+
|
544 |
+
// Update cart UI
|
545 |
+
function updateCart() {
|
546 |
+
// Update count
|
547 |
+
const totalItems = cart.reduce((sum, item) => sum + item.quantity, 0);
|
548 |
+
cartCount.textContent = totalItems;
|
549 |
+
|
550 |
+
// Update items list
|
551 |
+
cartItems.innerHTML = '';
|
552 |
+
|
553 |
+
if (cart.length === 0) {
|
554 |
+
cartItems.innerHTML = '<p class="text-gray-500 text-center py-4">Votre panier est vide</p>';
|
555 |
+
cartTotal.textContent = '0 MAD';
|
556 |
+
return;
|
557 |
+
}
|
558 |
+
|
559 |
+
let total = 0;
|
560 |
+
|
561 |
+
cart.forEach(item => {
|
562 |
+
total += item.price * item.quantity;
|
563 |
+
|
564 |
+
const itemElement = document.createElement('div');
|
565 |
+
itemElement.className = 'cart-item mb-3 p-2 bg-amber-50 rounded-md flex items-center';
|
566 |
+
itemElement.innerHTML = `
|
567 |
+
<div class="w-12 h-12 bg-cover bg-center mr-3 rounded-md" style="background-image: url('${item.image}')"></div>
|
568 |
+
<div class="flex-grow">
|
569 |
+
<h4 class="font-medium text-amber-900">${item.name}</h4>
|
570 |
+
<div class="flex justify-between items-center">
|
571 |
+
<span class="text-sm text-amber-700">${item.price} MAD x ${item.quantity}</span>
|
572 |
+
<span class="font-bold text-amber-900">${(item.price * item.quantity).toFixed(2)} MAD</span>
|
573 |
+
</div>
|
574 |
+
</div>
|
575 |
+
<button class="remove-item ml-3 text-amber-700 hover:text-amber-900" data-id="${item.id}">
|
576 |
+
<i class="fas fa-times"></i>
|
577 |
+
</button>
|
578 |
+
`;
|
579 |
+
|
580 |
+
cartItems.appendChild(itemElement);
|
581 |
+
});
|
582 |
+
|
583 |
+
// Update total
|
584 |
+
cartTotal.textContent = `${total.toFixed(2)} MAD`;
|
585 |
+
|
586 |
+
// Add event listeners to remove buttons
|
587 |
+
document.querySelectorAll('.remove-item').forEach(button => {
|
588 |
+
button.addEventListener('click', (e) => {
|
589 |
+
e.stopPropagation();
|
590 |
+
const id = button.getAttribute('data-id');
|
591 |
+
cart = cart.filter(item => item.id !== id);
|
592 |
+
updateCart();
|
593 |
+
});
|
594 |
+
});
|
595 |
+
}
|
596 |
+
|
597 |
+
// Initialize cart
|
598 |
+
updateCart();
|
599 |
+
</script>
|
600 |
+
<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://enzostvs-deepsite.hf.space/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://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Bilquar/bilquar" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
601 |
+
</html>
|