File size: 17,368 Bytes
eabaa66
 
 
 
 
5b0d773
eabaa66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5b0d773
eabaa66
 
 
5b0d773
 
 
eabaa66
 
 
 
 
 
 
 
 
 
 
5b0d773
eabaa66
 
 
5b0d773
 
 
 
eabaa66
 
 
 
 
 
 
 
 
 
 
 
 
 
5b0d773
eabaa66
 
 
 
 
5b0d773
eabaa66
 
 
 
 
5b0d773
eabaa66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5b0d773
 
eabaa66
 
 
 
 
5b0d773
eabaa66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5b0d773
 
eabaa66
 
 
 
 
 
 
 
5b0d773
eabaa66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5b0d773
 
eabaa66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Shop - Sarra Swidi</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
    </style>
</head>
<body class="bg-gray-50 font-sans antialiased">
    <nav class="bg-white/80 backdrop-blur-md shadow-sm">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16 items-center">
                <div class="flex items-center">
                    <a href="index.html" class="text-primary-600 font-bold text-xl flex items-center">
                        <i data-feather="shopping-bag" class="mr-2"></i> Sarra Swidi
                    </a>
                </div>
                <div class="hidden md:flex space-x-8">
                    <a href="index.html" class="text-gray-700 hover:text-primary-600 transition">home page</a>
                    <a href="shop.html" class="text-primary-600 font-medium">Shop</a>
                    <a href="#" class="text-gray-700 hover:text-primary-600 transition">Basket</a>
                    <a href="#" class="text-gray-700 hover:text-primary-600 transition">Contact</a>
                </div>
                <button class="md:hidden text-gray-700">
                    <i data-feather="menu"></i>
                </button>
            </div>
        </div>
    </nav>

    <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <div class="flex justify-between items-center mb-12">
            <h1 class="text-3xl font-bold text-gray-900">Our products</h1>
            <div class="flex items-center space-x-4">
                <div class="relative">
                    <select class="appearance-none bg-white border border-gray-300 rounded-lg px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-primary-500">
                        <option>sort by</option>
                        <option>Ascending price</option>
                        <option>Price descending<option>
                        <option>what's new</option>
                    </select>
                    <i data-feather="chevron-down" class="absolute right-3 top-2.5 text-gray-500 w-4 h-4"></i>
                </div>
                <button class="bg-white p-2 rounded-lg border border-gray-300">
                    <i data-feather="filter" class="text-gray-700 w-5 h-5"></i>
                </button>
            </div>
        </div>

        <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8">
            <!-- Product 1 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/1" alt="Product" class="w-full h-64 object-cover">
                    <div class="absolute top-3 right-3 bg-primary-600 text-white px-2 py-1 rounded-full text-xs font-medium">New</div>
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Smartphone Pro</h3>
                            <p class="text-gray-600 text-sm">High performance</p>
                        </div>
                        <span class="text-primary-600 font-bold">599€</span>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                            Add to cart
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Product 2 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/2" alt="Product" class="w-full h-64 object-cover">
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Headphones</h3>
                            <p class="text-gray-600 text-sm">Studio quality</p>
                        </div>
                        <span class="text-primary-600 font-bold">199€</span>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                           add to cart
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Product 3 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/3" alt="Product" class="w-full h-64 object-cover">
                    <div class="absolute top-3 right-3 bg-red-500 text-white px-2 py-1 rounded-full text-xs font-medium">-20%</div>
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Smart Watch</h3>
                            <p class="text-gray-600 text-sm">Health monitoring</p>
                        </div>
                        <div>
                            <span class="text-gray-400 line-through text-sm mr-2">249€</span>
                            <span class="text-primary-600 font-bold">199€</span>
                        </div>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                            Add to cart
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Product 4 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/4" alt="Product" class="w-full h-64 object-cover">
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Bluetooth speaker</h3>
                            <p class="text-gray-600 text-sm">Powerful sound</p>
                        </div>
                        <span class="text-primary-600 font-bold">129€</span>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                            Ajouter au panier
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Product 5 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/5" alt="Product" class="w-full h-64 object-cover">
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Clavier Mécanique</h3>
                            <p class="text-gray-600 text-sm">RGB personnalisable</p>
                        </div>
                        <span class="text-primary-600 font-bold">89€</span>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                            Ajouter au panier
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Product 6 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/6" alt="Product" class="w-full h-64 object-cover">
                    <div class="absolute top-3 right-3 bg-primary-600 text-white px-2 py-1 rounded-full text-xs font-medium">Bestseller</div>
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Souris Gaming</h3>
                            <p class="text-gray-600 text-sm">16000 DPI</p>
                        </div>
                        <span class="text-primary-600 font-bold">79€</span>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                            Ajouter au panier
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Product 7 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/7" alt="Product" class="w-full h-64 object-cover">
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Chargeur Sans Fil</h3>
                            <p class="text-gray-600 text-sm">15W rapide</p>
                        </div>
                        <span class="text-primary-600 font-bold">39€</span>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                            Ajouter au panier
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Product 8 -->
            <div class="bg-white rounded-xl overflow-hidden shadow-md transition duration-300 product-card">
                <div class="relative">
                    <img src="http://static.photos/technology/640x360/8" alt="Product" class="w-full h-64 object-cover">
                </div>
                <div class="p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-lg font-bold text-gray-900">Écran 4K</h3>
                            <p class="text-gray-600 text-sm">27 pouces</p>
                        </div>
                        <span class="text-primary-600 font-bold">349€</span>
                    </div>
                    <div class="mt-4 flex justify-between items-center">
                        <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition">
                            Ajouter au panier
                        </button>
                        <button class="text-gray-500 hover:text-primary-600 transition">
                            <i data-feather="heart" class="w-5 h-5"></i>
                        </button>
                    </div>
                </div>
            </div>
        </div>

        <div class="mt-12 flex justify-center">
            <nav class="flex items-center space-x-2">
                <button class="px-3 py-1 rounded-lg border border-gray-300 bg-white text-gray-700 hover:bg-gray-50 transition">
                    <i data-feather="chevron-left" class="w-4 h-4"></i>
                </button>
                <button class="px-3 py-1 rounded-lg bg-primary-600 text-white">1</button>
                <button class="px-3 py-1 rounded-lg border border-gray-300 bg-white text-gray-700 hover:bg-gray-50 transition">2</button>
                <button class="px-3 py-1 rounded-lg border border-gray-300 bg-white text-gray-700 hover:bg-gray-50 transition">3</button>
                <button class="px-3 py-1 rounded-lg border border-gray-300 bg-white text-gray-700 hover:bg-gray-50 transition">
                    <i data-feather="chevron-right" class="w-4 h-4"></i>
                </button>
            </nav>
        </div>
    </main>

    <footer class="bg-gray-900 text-white py-12">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-lg font-bold mb-4">Colorful Commerce</h3>
                    <p class="text-gray-400">Votre destination pour des produits créatifs et uniques.</p>
                </div>
                <div>
                    <h4 class="text-sm font-semibold uppercase tracking-wider mb-4">Navigation</h4>
                    <ul class="space-y-2">
                        <li><a href="index.html" class="text-gray-400 hover:text-white transition">Accueil</a></li>
                        <li><a href="shop.html" class="text-gray-400 hover:text-white transition">Boutique</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Panier</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-sm font-semibold uppercase tracking-wider mb-4">Aide</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition">FAQ</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Livraison</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Retours</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Paiement</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-sm font-semibold uppercase tracking-wider mb-4">Contact</h4>
                    <ul class="space-y-2">
                        <li class="text-gray-400">contact@colorfulcommerce.com</li>
                        <li class="text-gray-400">+33 1 23 45 67 89</li>
                        <li class="text-gray-400">Paris, France</li>
                    </ul>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400 text-sm">
                <p>© 2023 Colorful Commerce. Tous droits réservés.</p>
            </div>
        </div>
    </footer>

    <script>
        feather.replace();
    </script>
</body>
</html>