Sjokode commited on
Commit
2556c73
·
verified ·
1 Parent(s): ab4d0f0

Header du feed :

Browse files

Titre clair : “Promotions & Actualités”

Sous-texte inspirant (ex. “Découvrez les offres et nouveautés de nos artisans locaux”)

Barre de filtrage dynamique (haut de page) :

Ensemble de boutons toggle représentant les catégories (ex. Bâtiment, Beauté, Jardinage, Coaching, etc.)

Les boutons peuvent être activés/désactivés (multi-sélection possible)

Un bouton “Tous” pour réinitialiser le filtre

Zone du feed principal :

Disposition en cartes verticales (une par publication)

Deux types de publications :

🟩 Promotion / publicité :
Accent visuel fort (bannière, couleur vive, encadré promotionnel)
Contient : image, titre, texte court, bouton “Voir le service” ou “Contactez l’artisan”.

🟦 News / actualité :
Style plus sobre, ton informatif.
Contient : image (facultative), titre, texte de mise à jour, date, nom de l’artisan.

Chaque carte doit contenir la photo de profil et le nom de l’artisan (cliquable vers son profil).

Aucun système de likes ou commentaires — c’est un fil d’informations unidirectionnel.

Sidebar ou section supérieure (optionnelle) :

Bouton “Publier une annonce” (si visible pour les artisans)

Filtres supplémentaires (ex. Promotions actives, News récentes)

Style visuel recherché :

Minimaliste, élégant, professionnel

Palette : tons clairs avec accent coloré (ex. beige + terracotta ou bleu profond + blanc)

Typographie lisible et moderne (Poppins, Lato, Inter)

Effet actif sur les filtres toggle (par ex. bouton bleu/actif quand sélectionné)

Légers effets de survol sur les cartes

Interface responsive (mobile & desktop)

Contraintes et intentions :

Pas de likes, pas de commentaires, pas de partage.

La priorité est la visibilité des offres et la clarté de lecture.

Les filtres doivent être visuellement évidents et faciles à utiliser.

Le feed doit ressembler à un mur d’offres locales professionnelles, pas à un réseau social.

Objectif final :
Obtenir un design de page fluide, attrayant et structuré, qui met en avant les promotions des artisans tout en permettant de filtrer facilement selon la catégorie.

Files changed (1) hide show
  1. feed.html +365 -290
feed.html CHANGED
@@ -1,347 +1,422 @@
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>Fil - MatinikTaff</title>
7
- <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
  <script src="https://cdn.tailwindcss.com"></script>
9
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
- <script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
11
- <script src="https://unpkg.com/feather-icons"></script>
12
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
13
- <script>
14
- tailwind.config = {
15
- theme: {
16
- extend: {
17
- colors: {
18
- 'turquoise': {
19
- 50: '#f0fdfa',
20
- 100: '#ccfbf1',
21
- 200: '#99f6e4',
22
- 300: '#5eead4',
23
- 400: '#2dd4bf',
24
- 500: '#14b8a6',
25
- 600: '#0d9488',
26
- 700: '#0f766e',
27
- 800: '#115e59',
28
- 900: '#134e4a',
29
- },
30
- 'navy': {
31
- 50: '#f8fafc',
32
- 100: '#f1f5f9',
33
- 200: '#e2e8f0',
34
- 300: '#cbd5e1',
35
- 400: '#94a3b8',
36
- 500: '#64748b',
37
- 600: '#475569',
38
- 700: '#334155',
39
- 800: '#1e293b',
40
- 900: '#0f172a',
41
- },
42
- 'gold': {
43
- 50: '#fffbeb',
44
- 100: '#fef3c7',
45
- 200: '#fde68a',
46
- 300: '#fcd34d',
47
- 400: '#fbbf24',
48
- 500: '#f59e0b',
49
- 600: '#d97706',
50
- 700: '#b45309',
51
- 800: '#92400e',
52
- 900: '#78350f',
53
- }
54
- },
55
- fontFamily: {
56
- 'sans': ['Poppins', 'sans-serif'],
57
- }
58
- }
59
- }
60
- }
61
- </script>
62
  </head>
63
- <body class="bg-gray-50 font-sans">
64
  <!-- Navigation -->
65
  <nav class="bg-white shadow-sm border-b border-gray-100 sticky top-0 z-50">
66
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
67
  <div class="flex justify-between items-center h-16">
68
  <div class="flex items-center">
69
- <h1 class="text-2xl font-bold bg-gradient-to-r from-turquoise-500 to-navy-700 bg-clip-text text-transparent">MatinikTaff</h1>
 
 
 
 
 
 
 
 
 
 
70
  </div>
71
  <div class="flex items-center space-x-4">
72
- <div class="relative hidden md:block">
73
- <input type="text" placeholder="Rechercher dans le fil..." class="w-64 pl-10 pr-4 py-2 border border-gray-300 rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-turquoise-500">
74
- <i data-feather="search" class="absolute left-3 top-2.5 h-5 w-5 text-gray-400"></i>
 
 
 
75
  </div>
76
- <button class="bg-turquoise-500 text-white px-4 py-2 rounded-full text-sm font-medium hover:bg-turquoise-600 transition">
77
- Créer une Publication
78
- </button>
79
- </div>
80
  </div>
81
  </div>
82
  </nav>
83
 
84
- <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
85
- <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
86
- <!-- Main Feed -->
87
- <div class="lg:col-span-2">
88
- <!-- Create Post -->
89
- <div class="bg-white rounded-xl shadow-sm p-4 mb-6">
90
- <div class="flex items-start space-x-3">
91
- <img src="http://static.photos/people/200x200/1" alt="Profile" class="h-10 w-10 rounded-full">
92
- <div class="flex-1">
93
- <textarea placeholder="Partagez votre travail ou demandez des recommandations..." class="w-full p-3 border border-gray-200 rounded-lg resize-none focus:outline-none focus:ring-2 focus:ring-turquoise-500" rows="3"></textarea>
94
- <div class="flex items-center justify-between mt-3">
95
- <div class="flex space-x-4">
96
- <button class="text-gray-600 hover:text-turquoise-600">
97
- <i data-feather="image" class="h-5 w-5"></i>
98
- </button>
99
- <button class="text-gray-600 hover:text-turquoise-600">
100
- <i data-feather="video" class="h-5 w-5"></i>
101
- </button>
102
- <button class="text-gray-600 hover:text-turquoise-600">
103
- <i data-feather="map-pin" class="h-5 w-5"></i>
104
- </button>
105
- </div>
106
- <button class="bg-turquoise-500 text-white px-4 py-2 rounded-full text-sm font-medium hover:bg-turquoise-600 transition">
107
- Publier
108
- </button>
109
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  </div>
111
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  </div>
 
113
 
114
- <!-- Feed Posts -->
115
- <div class="space-y-6">
116
- <!-- Post 1 -->
117
- <div class="bg-white rounded-xl shadow-sm">
118
- <div class="p-4">
119
- <div class="flex items-center mb-4">
120
- <img src="http://static.photos/people/200x200/7" alt="User" class="h-12 w-12 rounded-full">
121
- <div class="ml-3">
122
- <h4 class="font-semibold text-gray-900">Elena Martinez</h4>
123
- <p class="text-sm text-gray-600">Designer d'Intérieur • Trinité</p>
124
- <p class="text-xs text-gray-500">il y a 3 heures</p>
125
- </div>
126
- <button class="ml-auto text-gray-400 hover:text-gray-600">
127
- <i data-feather="more-horizontal" class="h-5 w-5"></i>
128
- </button>
129
- </div>
130
- <p class="text-gray-700 mb-4">Vient de terminer cet intérieur de maison de plage époustouflant à Tobago ! Le client voulait une ambiance caraïbes moderne avec des textures naturelles. Faites défiler pour plus de photos ! 🏝️✨</p>
131
- <div class="grid grid-cols-2 gap-2 mb-4">
132
- <img src="http://static.photos/interior/320x240/1" alt="Interior" class="w-full h-48 object-cover rounded-lg">
133
- <img src="http://static.photos/interior/320x240/2" alt="Interior" class="w-full h-48 object-cover rounded-lg">
134
- </div>
135
- <div class="flex items-center space-x-6 text-gray-600">
136
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
137
- <i data-feather="heart" class="h-5 w-5"></i>
138
- <span>247</span>
139
- </button>
140
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
141
- <i data-feather="message-circle" class="h-5 w-5"></i>
142
- <span>42</span>
143
- </button>
144
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
145
- <i data-feather="bookmark" class="h-5 w-5"></i>
146
- <span>Save</span>
147
- </button>
148
- <button class="flex items-center space-x-2 hover:text-turquoise-600 ml-auto">
149
- <i data-feather="share-2" class="h-5 w-5"></i>
150
- </button>
151
- </div>
152
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
153
  </div>
 
 
154
 
155
- <!-- Post 2 -->
156
- <div class="bg-white rounded-xl shadow-sm">
157
- <div class="p-4">
158
- <div class="flex items-center mb-4">
159
- <img src="http://static.photos/people/200x200/8" alt="User" class="h-12 w-12 rounded-full">
160
- <div class="ml-3">
161
- <h4 class="font-semibold text-gray-900">Carlos Mendoza</h4>
162
- <p class="text-sm text-gray-600">Chef • République Dominicaine</p>
163
- <p class="text-xs text-gray-500">il y a 5 heures</p>
164
- </div>
165
- <button class="ml-auto text-gray-400 hover:text-gray-600">
166
- <i data-feather="more-horizontal" class="h-5 w-5"></i>
167
- </button>
168
- </div>
169
- <p class="text-gray-700 mb-4">Nouveau menu en alerte ! 🍽️ Vient de lancer mon menu dégustation fusion caraïbes. Réservations ouvertes pour le prochain week-end. Qui est prêt pour des saveurs insulaires innovantes ?</p>
170
- <img src="http://static.photos/food/640x360/1" alt="Food" class="w-full h-64 object-cover rounded-lg mb-4">
171
- <div class="flex items-center space-x-6 text-gray-600">
172
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
173
- <i data-feather="heart" class="h-5 w-5 text-red-500 fill-current"></i>
174
- <span>189</span>
175
- </button>
176
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
177
- <i data-feather="message-circle" class="h-5 w-5"></i>
178
- <span>67</span>
179
- </button>
180
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
181
- <i data-feather="bookmark" class="h-5 w-5"></i>
182
- <span>Save</span>
183
- </button>
184
- <button class="flex items-center space-x-2 hover:text-turquoise-600 ml-auto">
185
- <i data-feather="share-2" class="h-5 w-5"></i>
186
- </button>
187
- </div>
188
  </div>
 
 
 
189
  </div>
 
 
190
 
191
- <!-- Post 3 -->
192
- <div class="bg-white rounded-xl shadow-sm">
193
- <div class="p-4">
194
- <div class="flex items-center mb-4">
195
- <img src="http://static.photos/people/200x200/9" alt="User" class="h-12 w-12 rounded-full">
196
- <div class="ml-3">
197
- <h4 class="font-semibold text-gray-900">Aisha Williams</h4>
198
- <p class="text-sm text-gray-600">Développeuse Tech • Jamaïque</p>
199
- <p class="text-xs text-gray-500">il y a 1 jour</p>
200
- </div>
201
- <button class="ml-auto text-gray-400 hover:text-gray-600">
202
- <i data-feather="more-horizontal" class="h-5 w-5"></i>
203
- </button>
204
- </div>
205
- <p class="text-gray-700 mb-4">Ravie de partager mon dernier projet ! Construit un système de réservation pour les opérateurs touristiques locaux en utilisant React et Node.js. Cette plateforme aide les petites entreprises à gérer leurs réservations et paiements de manière transparente. 🚀</p>
206
- <div class="bg-gray-100 rounded-lg p-4 mb-4">
207
- <p class="text-sm font-medium text-gray-900">Stack Technique :</p>
208
- <p class="text-sm text-gray-600 mt-1">React, Node.js, MongoDB, Stripe API</p>
209
- </div>
210
- <div class="flex items-center space-x-6 text-gray-600">
211
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
212
- <i data-feather="heart" class="h-5 w-5"></i>
213
- <span>312</span>
214
- </button>
215
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
216
- <i data-feather="message-circle" class="h-5 w-5"></i>
217
- <span>94</span>
218
- </button>
219
- <button class="flex items-center space-x-2 hover:text-turquoise-600">
220
- <i data-feather="bookmark" class="h-5 w-5"></i>
221
- <span>Save</span>
222
- </button>
223
- <button class="flex items-center space-x-2 hover:text-turquoise-600 ml-auto">
224
- <i data-feather="share-2" class="h-5 w-5"></i>
225
- </button>
226
- </div>
227
  </div>
228
  </div>
 
 
 
 
 
 
 
 
 
229
  </div>
 
230
 
231
- <!-- Sidebar -->
232
- <div class="space-y-6">
233
- <!-- Trending Topics -->
234
- <div class="bg-white rounded-xl shadow-sm p-4">
235
- <h3 class="font-semibold text-gray-900 mb-4">Sujets Tendances</h3>
236
- <div class="space-y-3">
237
- <a href="#" class="block text-sm text-turquoise-600 hover:text-turquoise-700">#CaribbeanCrafts</a>
238
- <a href="#" class="block text-sm text-turquoise-600 hover:text-turquoise-700">#IslandRenovation</a>
239
- <a href="#" class="block text-sm text-turquoise-600 hover:text-turquoise-700">#LocalBusiness</a>
240
- <a href="#" class="block text-sm text-turquoise-600 hover:text-turquoise-700">#TechCaribbean</a>
241
- <a href="#" class="block text-sm text-turquoise-600 hover:text-turquoise-700">#FoodieCI</a>
 
 
 
 
 
 
 
 
 
 
 
 
242
  </div>
 
 
 
243
  </div>
 
 
244
 
245
- <!-- Featured Artisans -->
246
- <div class="bg-white rounded-xl shadow-sm p-4">
247
- <h3 class="font-semibold text-gray-900 mb-4">Artisans en Vedette</h3>
248
- <div class="space-y-4">
249
- <div class="flex items-center">
250
- <img src="http://static.photos/people/200x200/10" alt="Artisan" class="h-10 w-10 rounded-full">
251
- <div class="ml-3">
252
- <p class="text-sm font-medium text-gray-900">Michael Brown</p>
253
- <p class="text-xs text-gray-600">Menuisier • Bahamas</p>
254
- </div>
255
- <button class="ml-auto text-turquoise-600 text-sm">Follow</button>
256
- </div>
257
- <div class="flex items-center">
258
- <img src="http://static.photos/people/200x200/11" alt="Artisan" class="h-10 w-10 rounded-full">
259
- <div class="ml-3">
260
- <p class="text-sm font-medium text-gray-900">Lisa Johnson</p>
261
- <p class="text-xs text-gray-600">Artiste Maquillage • Barbade</p>
262
- </div>
263
- <button class="ml-auto text-turquoise-600 text-sm">Follow</button>
264
- </div>
265
- <div class="flex items-center">
266
- <img src="http://static.photos/people/200x200/12" alt="Artisan" class="h-10 w-10 rounded-full">
267
- <div class="ml-3">
268
- <p class="text-sm font-medium text-gray-900">Robert Singh</p>
269
- <p class="text-xs text-gray-600">Développeur Web • Trinité</p>
270
- </div>
271
- <button class="ml-auto text-turquoise-600 text-sm">Follow</button>
272
- </div>
273
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
274
  </div>
 
 
275
 
276
- <!-- Suggested Missions -->
277
- <div class="bg-white rounded-xl shadow-sm p-4">
278
- <h3 class="font-semibold text-gray-900 mb-4">Missions Suggérées</h3>
279
- <div class="space-y-4">
280
- <div class="border border-gray-200 rounded-lg p-3">
281
- <p class="text-sm font-medium text-gray-900">Besoin de photographe de mariage</p>
282
- <p class="text-xs text-gray-600 mt-1">Sainte-Lucie • Budget : $800</p>
283
- <p class="text-xs text-turquoise-600 mt-2">3 jours restants • 12 candidatures</p>
284
- </div>
285
- <div class="border border-gray-200 rounded-lg p-3">
286
- <p class="text-sm font-medium text-gray-900">Design de logo pour restaurant</p>
287
- <p class="text-xs text-gray-600 mt-1">Jamaïque • Budget : $300</p>
288
- <p class="text-xs text-turquoise-600 mt-2">5 jours restants • 8 candidatures</p>
289
- </div>
 
 
 
 
 
 
 
 
 
290
  </div>
 
 
 
291
  </div>
292
  </div>
293
  </div>
 
294
  </div>
295
  </div>
296
 
297
- <!-- Mobile Bottom Navigation -->
298
- <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 md:hidden">
299
- <div class="flex justify-around py-2">
300
- <button class="flex flex-col items-center py-2 px-3 text-gray-600">
301
- <i data-feather="home" class="h-6 w-6"></i>
302
- <span class="text-xs mt-1">Accueil</span>
303
- </button>
304
- <button class="flex flex-col items-center py-2 px-3 text-turquoise-600">
305
- <i data-feather="compass" class="h-6 w-6"></i>
306
- <span class="text-xs mt-1">Fil</span>
307
- </button>
308
- <button class="flex flex-col items-center py-2 px-3 text-gray-600">
309
- <i data-feather="message-square" class="h-6 w-6"></i>
310
- <span class="text-xs mt-1">Messages</span>
311
- </button>
312
- <button class="flex flex-col items-center py-2 px-3 text-gray-600">
313
- <i data-feather="user" class="h-6 w-6"></i>
314
- <span class="text-xs mt-1">Profil</span>
315
- </button>
316
- </div>
317
- </div>
 
 
 
 
 
 
 
 
318
 
319
  <script>
 
320
  feather.replace();
321
-
322
- // Animate posts on scroll
323
- const observerOptions = {
324
- threshold: 0.1,
325
- rootMargin: '0px 0px -50px 0px'
326
- };
327
 
328
- const observer = new IntersectionObserver((entries) => {
329
- entries.forEach(entry => {
330
- if (entry.isIntersecting) {
331
- entry.target.style.opacity = '0';
332
- entry.target.style.transform = 'translateY(20px)';
333
- setTimeout(() => {
334
- entry.target.style.transition = 'all 0.6s ease-out';
335
- entry.target.style.opacity = '1';
336
- entry.target.style.transform = 'translateY(0)';
337
- }, 100);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  }
339
  });
340
- }, observerOptions);
341
 
342
- document.querySelectorAll('.bg-white.rounded-xl.shadow-sm').forEach(el => {
343
- observer.observe(el);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  });
345
  </script>
346
  </body>
347
- </html>
 
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>Promotions & Actualités | MatinikTaff</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
  <script src="https://cdn.tailwindcss.com"></script>
9
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
 
 
10
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ body { font-family: 'Poppins', sans-serif; }
13
+ .promo-card { border-left: 4px solid #c2410c; }
14
+ .news-card { border-left: 4px solid #64748b; }
15
+ .filter-btn.active { background-color: #c2410c; color: white; }
16
+ .filter-btn { transition: all 0.2s ease; }
17
+ .filter-btn:hover { transform: translateY(-1px); }
18
+ .card-hover { transition: all 0.3s ease; }
19
+ .card-hover:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
20
+ </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  </head>
22
+ <body class="bg-stone-50">
23
  <!-- Navigation -->
24
  <nav class="bg-white shadow-sm border-b border-gray-100 sticky top-0 z-50">
25
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
26
  <div class="flex justify-between items-center h-16">
27
  <div class="flex items-center">
28
+ <div class="flex-shrink-0">
29
+ <h1 class="text-2xl font-bold bg-gradient-to-r from-orange-600 to-orange-800 bg-clip-text text-transparent">MatinikTaff</h1>
30
+ </div>
31
+ <div class="hidden md:block ml-10">
32
+ <div class="flex items-center space-x-4">
33
+ <a href="index.html" class="text-gray-700 hover:text-orange-600 px-3 py-2 rounded-md text-sm font-medium">Accueil</a>
34
+ <a href="feed.html" class="text-orange-600 px-3 py-2 rounded-md text-sm font-medium border-b-2 border-orange-600">Fil</a>
35
+ <a href="#" class="text-gray-700 hover:text-orange-600 px-3 py-2 rounded-md text-sm font-medium">Messages</a>
36
+ <a href="search.html" class="text-gray-700 hover:text-orange-600 px-3 py-2 rounded-md text-sm font-medium">Services</a>
37
+ </div>
38
+ </div>
39
  </div>
40
  <div class="flex items-center space-x-4">
41
+ <div class="relative">
42
+ <input type="text" placeholder="Rechercher..." class="w-64 pl-10 pr-4 py-2 border border-gray-300 rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-orange-500">
43
+ <i data-feather="search" class="absolute left-3 top-2.5 h-5 w-5 text-gray-400"></i>
44
+ </div>
45
+ <div class="relative">
46
+ <img src="http://static.photos/people/200x200/1" alt="Profile" class="h-8 w-8 rounded-full">
47
  </div>
48
+ </div>
 
 
 
49
  </div>
50
  </div>
51
  </nav>
52
 
53
+ <!-- Header Section -->
54
+ <div class="bg-gradient-to-r from-orange-50 to-amber-50 py-12">
55
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
56
+ <h1 class="text-4xl font-bold text-gray-900 mb-4">Promotions & Actualités</h1>
57
+ <p class="text-lg text-gray-600 max-w-2xl mx-auto">Découvrez les offres et nouveautés de nos artisans locaux</p>
58
+ </div>
59
+ </div>
60
+
61
+ <!-- Filter Bar -->
62
+ <div class="bg-white border-b border-gray-200 sticky top-16 z-40">
63
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
64
+ <div class="flex flex-wrap gap-3 items-center">
65
+ <button class="filter-btn active px-4 py-2 rounded-full text-sm font-medium border border-gray-300" data-category="all">
66
+ Tous
67
+ </button>
68
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium border border-gray-300 bg-gray-100 text-gray-700" data-category="construction">
69
+ Bâtiment
70
+ </button>
71
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium border border-gray-300 bg-gray-100 text-gray-700" data-category="beauty">
72
+ Beauté
73
+ </button>
74
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium border border-gray-300 bg-gray-100 text-gray-700" data-category="gardening">
75
+ Jardinage
76
+ </button>
77
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium border border-gray-300 bg-gray-100 text-gray-700" data-category="coaching">
78
+ Coaching
79
+ </button>
80
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium border border-gray-300 bg-gray-100 text-gray-700" data-category="tech">
81
+ Tech
82
+ </button>
83
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium border border-gray-300 bg-gray-100 text-gray-700" data-category="wellness">
84
+ Wellness
85
+ </button>
86
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium border border-gray-300 bg-gray-100 text-gray-700" data-category="education">
87
+ Éducation
88
+ </button>
89
+ </div>
90
+ </div>
91
+ </div>
92
+
93
+ <!-- Main Content -->
94
+ <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
95
+
96
+ <!-- Publish Button (for artisans) -->
97
+ <div class="mb-8 text-center">
98
+ <button class="bg-orange-600 text-white px-6 py-3 rounded-full font-semibold hover:bg-orange-700 transition shadow-lg">
99
+ <i data-feather="plus" class="inline h-5 w-5 mr-2"></i>
100
+ Publier une annonce
101
+ </button>
102
+ </div>
103
+
104
+ <!-- Feed Posts -->
105
+ <div class="space-y-6" id="feed-container">
106
+
107
+ <!-- Promotion Card 1 -->
108
+ <div class="promo-card bg-white rounded-xl shadow-sm card-hover" data-category="construction">
109
+ <div class="p-6">
110
+ <div class="flex items-center mb-4">
111
+ <img src="http://static.photos/people/200x200/2" alt="Marcus Johnson" class="h-12 w-12 rounded-full cursor-pointer hover:opacity-80">
112
+ <div class="ml-3">
113
+ <h4 class="font-semibold text-gray-900 cursor-pointer hover:text-orange-600">Marcus Johnson</h4>
114
+ <p class="text-sm text-gray-500">Expert en Construction • il y a 3 heures</p>
115
+ </div>
116
+ <div class="ml-auto">
117
+ <span class="bg-orange-100 text-orange-700 px-3 py-1 rounded-full text-xs font-semibold">PROMOTION</span>
118
  </div>
119
  </div>
120
+ <img src="http://static.photos/construction/640x360/15" alt="Promotion construction" class="w-full h-64 object-cover rounded-lg mb-4">
121
+ <h3 class="text-xl font-bold text-gray-900 mb-2">🎯 Rénovation de cuisine - 20% de réduction !</h3>
122
+ <p class="text-gray-600 mb-4">
123
+ Profitez de notre offre spéciale automne : 20% de réduction sur toutes les rénovations de cuisine.
124
+ Offre valable jusqu'au 30 novembre. Matériaux inclus, finitions haut de gamme.
125
+ </p>
126
+ <div class="flex items-center justify-between">
127
+ <div class="text-sm text-gray-500">
128
+ <i data-feather="map-pin" class="inline h-4 w-4 mr-1"></i>
129
+ Bridgetown, Barbade
130
+ </div>
131
+ <button class="bg-orange-600 text-white px-6 py-2 rounded-full font-semibold hover:bg-orange-700 transition">
132
+ Voir le service
133
+ </button>
134
+ </div>
135
  </div>
136
+ </div>
137
 
138
+ <!-- News Card 1 -->
139
+ <div class="news-card bg-white rounded-xl shadow-sm card-hover" data-category="beauty">
140
+ <div class="p-6">
141
+ <div class="flex items-center mb-4">
142
+ <img src="http://static.photos/people/200x200/3" alt="Sophia Laurent" class="h-12 w-12 rounded-full cursor-pointer hover:opacity-80">
143
+ <div class="ml-3">
144
+ <h4 class="font-semibold text-gray-900 cursor-pointer hover:text-orange-600">Sophia Laurent</h4>
145
+ <p class="text-sm text-gray-500">Spécialiste Beauté • il y a 5 heures</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  </div>
147
+ <div class="ml-auto">
148
+ <span class="bg-gray-100 text-gray-700 px-3 py-1 rounded-full text-xs font-semibold">ACTUALITÉ</span>
149
+ </div>
150
+ </div>
151
+ <h3 class="text-lg font-semibold text-gray-900 mb-2">Nouveau service : Soins du visage bio</h3>
152
+ <p class="text-gray-600 mb-4">
153
+ Je suis heureuse d'annoncer l'ajout de soins du visage entièrement bios à ma carte de services.
154
+ Utilisant des produits locaux et naturels, parfait pour les peaux sensibles.
155
+ </p>
156
+ <div class="flex items-center justify-between text-sm text-gray-500">
157
+ <span><i data-feather="clock" class="inline h-4 w-4 mr-1"></i>Disponible sur rendez-vous</span>
158
+ <span>Fort-de-France, Martinique</span>
159
  </div>
160
+ </div>
161
+ </div>
162
 
163
+ <!-- Promotion Card 2 -->
164
+ <div class="promo-card bg-white rounded-xl shadow-sm card-hover" data-category="gardening">
165
+ <div class="p-6">
166
+ <div class="flex items-center mb-4">
167
+ <img src="http://static.photos/people/200x200/7" alt="Carlos Mendez" class="h-12 w-12 rounded-full cursor-pointer hover:opacity-80">
168
+ <div class="ml-3">
169
+ <h4 class="font-semibold text-gray-900 cursor-pointer hover:text-orange-600">Carlos Mendez</h4>
170
+ <p class="text-sm text-gray-500">Paysagiste • il y a 1 jour</p>
171
+ </div>
172
+ <div class="ml-auto">
173
+ <span class="bg-orange-100 text-orange-700 px-3 py-1 rounded-full text-xs font-semibold">PROMOTION</span>
174
+ </div>
175
+ </div>
176
+ <img src="http://static.photos/nature/640x360/16" alt="Jardinage promotion" class="w-full h-64 object-cover rounded-lg mb-4">
177
+ <h3 class="text-xl font-bold text-gray-900 mb-2">🌿 Création de jardin tropical - Offre spéciale</h3>
178
+ <p class="text-gray-600 mb-4">
179
+ Transformez votre extérieur en paradis tropical ! Forfait complet incluant conception, plantation
180
+ et système d'arrosage automatique. 15% de réduction pour les commandes avant décembre.
181
+ </p>
182
+ <div class="flex items-center justify-between">
183
+ <div class="text-sm text-gray-500">
184
+ <i data-feather="map-pin" class="inline h-4 w-4 mr-1"></i>
185
+ Kingston, Jamaïque
 
 
 
 
 
 
 
 
 
 
186
  </div>
187
+ <button class="bg-orange-600 text-white px-6 py-2 rounded-full font-semibold hover:bg-orange-700 transition">
188
+ Contactez l'artisan
189
+ </button>
190
  </div>
191
+ </div>
192
+ </div>
193
 
194
+ <!-- News Card 2 -->
195
+ <div class="news-card bg-white rounded-xl shadow-sm card-hover" data-category="coaching">
196
+ <div class="p-6">
197
+ <div class="flex items-center mb-4">
198
+ <img src="http://static.photos/people/200x200/8" alt="Isabelle Dubois" class="h-12 w-12 rounded-full cursor-pointer hover:opacity-80">
199
+ <div class="ml-3">
200
+ <h4 class="font-semibold text-gray-900 cursor-pointer hover:text-orange-600">Isabelle Dubois</h4>
201
+ <p class="text-sm text-gray-500">Coach Professionnel • il y a 2 jours</p>
202
+ </div>
203
+ <div class="ml-auto">
204
+ <span class="bg-gray-100 text-gray-700 px-3 py-1 rounded-full text-xs font-semibold">ACTUALITÉ</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  </div>
206
  </div>
207
+ <h3 class="text-lg font-semibold text-gray-900 mb-2">Atelier gratuit : Gestion du stress au travail</h3>
208
+ <p class="text-gray-600 mb-4">
209
+ Rejoignez-moi pour un atelier interactif de 2 heures sur la gestion du stress en milieu professionnel.
210
+ Places limitées, inscription obligatoire.
211
+ </p>
212
+ <div class="flex items-center justify-between text-sm text-gray-500">
213
+ <span><i data-feather="calendar" class="inline h-4 w-4 mr-1"></i>Samedi 25 novembre, 14h-16h</span>
214
+ <span>Pointe-à-Pitre, Guadeloupe</span>
215
+ </div>
216
  </div>
217
+ </div>
218
 
219
+ <!-- Promotion Card 3 -->
220
+ <div class="promo-card bg-white rounded-xl shadow-sm card-hover" data-category="tech">
221
+ <div class="p-6">
222
+ <div class="flex items-center mb-4">
223
+ <img src="http://static.photos/people/200x200/4" alt="David Chen" class="h-12 w-12 rounded-full cursor-pointer hover:opacity-80">
224
+ <div class="ml-3">
225
+ <h4 class="font-semibold text-gray-900 cursor-pointer hover:text-orange-600">David Chen</h4>
226
+ <p class="text-sm text-gray-500">Développeur • il y a 3 jours</p>
227
+ </div>
228
+ <div class="ml-auto">
229
+ <span class="bg-orange-100 text-orange-700 px-3 py-1 rounded-full text-xs font-semibold">PROMOTION</span>
230
+ </div>
231
+ </div>
232
+ <img src="http://static.photos/technology/640x360/17" alt="Tech promotion" class="w-full h-64 object-cover rounded-lg mb-4">
233
+ <h3 class="text-xl font-bold text-gray-900 mb-2">💻 Site web e-commerce - Package complet à prix réduit</h3>
234
+ <p class="text-gray-600 mb-4">
235
+ Lancez votre boutique en ligne avec notre package tout-compris : design, développement, hébergement 1 an.
236
+ 25% de réduction pour les artisans locaux. Offre limitée aux 5 premiers clients.
237
+ </p>
238
+ <div class="flex items-center justify-between">
239
+ <div class="text-sm text-gray-500">
240
+ <i data-feather="map-pin" class="inline h-4 w-4 mr-1"></i>
241
+ Port of Spain, Trinité-et-Tobago
242
  </div>
243
+ <button class="bg-orange-600 text-white px-6 py-2 rounded-full font-semibold hover:bg-orange-700 transition">
244
+ Voir le service
245
+ </button>
246
  </div>
247
+ </div>
248
+ </div>
249
 
250
+ <!-- News Card 3 -->
251
+ <div class="news-card bg-white rounded-xl shadow-sm card-hover" data-category="wellness">
252
+ <div class="p-6">
253
+ <div class="flex items-center mb-4">
254
+ <img src="http://static.photos/people/200x200/9" alt="Elena Martinez" class="h-12 w-12 rounded-full cursor-pointer hover:opacity-80">
255
+ <div class="ml-3">
256
+ <h4 class="font-semibold text-gray-900 cursor-pointer hover:text-orange-600">Elena Martinez</h4>
257
+ <p class="text-sm text-gray-500">Massothérapeute • il y a 4 jours</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  </div>
259
+ <div class="ml-auto">
260
+ <span class="bg-gray-100 text-gray-700 px-3 py-1 rounded-full text-xs font-semibold">ACTUALITÉ</span>
261
+ </div>
262
+ </div>
263
+ <h3 class="text-lg font-semibold text-gray-900 mb-2">Formation continue en massage thaïlandais</h3>
264
+ <p class="text-gray-600 mb-4">
265
+ Je viens de terminer une formation intensive de 50 heures en massage thaïlandais traditionnel.
266
+ Nouveau service disponible dès la semaine prochaine !
267
+ </p>
268
+ <div class="flex items-center justify-between text-sm text-gray-500">
269
+ <span><i data-feather="award" class="inline h-4 w-4 mr-1"></i>Certification internationale</span>
270
+ <span>Saint-Georges, Grenade</span>
271
  </div>
272
+ </div>
273
+ </div>
274
 
275
+ <!-- Promotion Card 4 -->
276
+ <div class="promo-card bg-white rounded-xl shadow-sm card-hover" data-category="education">
277
+ <div class="p-6">
278
+ <div class="flex items-center mb-4">
279
+ <img src="http://static.photos/people/200x200/10" alt="Robert Taylor" class="h-12 w-12 rounded-full cursor-pointer hover:opacity-80">
280
+ <div class="ml-3">
281
+ <h4 class="font-semibold text-gray-900 cursor-pointer hover:text-orange-600">Robert Taylor</h4>
282
+ <p class="text-sm text-gray-500">Tuteur Math/Physique • il y a 5 jours</p>
283
+ </div>
284
+ <div class="ml-auto">
285
+ <span class="bg-orange-100 text-orange-700 px-3 py-1 rounded-full text-xs font-semibold">PROMOTION</span>
286
+ </div>
287
+ </div>
288
+ <img src="http://static.photos/education/640x360/18" alt="Education promotion" class="w-full h-64 object-cover rounded-lg mb-4">
289
+ <h3 class="text-xl font-bold text-gray-900 mb-2">📚 Cours intensifs de révision - 30% de réduction</h3>
290
+ <p class="text-gray-600 mb-4">
291
+ Préparez vos examens avec nos cours intensifs de révision en mathématiques et physique.
292
+ Groupes de 3-5 élèves, sessions de 2 heures. Réduction valable jusqu'à fin décembre.
293
+ </p>
294
+ <div class="flex items-center justify-between">
295
+ <div class="text-sm text-gray-500">
296
+ <i data-feather="map-pin" class="inline h-4 w-4 mr-1"></i>
297
+ Castries, Sainte-Lucie
298
  </div>
299
+ <button class="bg-orange-600 text-white px-6 py-2 rounded-full font-semibold hover:bg-orange-700 transition">
300
+ Contactez l'artisan
301
+ </button>
302
  </div>
303
  </div>
304
  </div>
305
+
306
  </div>
307
  </div>
308
 
309
+ <!-- Footer -->
310
+ <footer class="bg-gray-900 text-white mt-16">
311
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
312
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
313
+ <div>
314
+ <h3 class="text-lg font-semibold mb-4">MatinikTaff</h3>
315
+ <p class="text-gray-300 text-sm">La plateforme de référence pour découvrir les meilleurs artisans et promotions aux Caraïbes.</p>
316
+ </div>
317
+ <div>
318
+ <h4 class="font-semibold mb-4">Navigation</h4>
319
+ <ul class="space-y-2 text-sm text-gray-300">
320
+ <li><a href="index.html" class="hover:text-orange-400">Accueil</a></li>
321
+ <li><a href="feed.html" class="hover:text-orange-400">Fil d'actualité</a></li>
322
+ <li><a href="search.html" class="hover:text-orange-400">Services</a></li>
323
+ </ul>
324
+ </div>
325
+ <div>
326
+ <h4 class="font-semibold mb-4">Contact</h4>
327
+ <div class="space-y-2 text-sm text-gray-300">
328
+ <p><i data-feather="mail" class="inline h-4 w-4 mr-2"></i>contact@matiniktaff.com</p>
329
+ <p><i data-feather="phone" class="inline h-4 w-4 mr-2"></i>+1 (555) 123-4567</p>
330
+ </div>
331
+ </div>
332
+ </div>
333
+ <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400 text-sm">
334
+ <p>&copy; 2024 MatinikTaff. Tous droits réservés.</p>
335
+ </div>
336
+ </div>
337
+ </footer>
338
 
339
  <script>
340
+ // Initialize Feather Icons
341
  feather.replace();
 
 
 
 
 
 
342
 
343
+ // Filter functionality
344
+ const filterBtns = document.querySelectorAll('.filter-btn');
345
+ const feedContainer = document.getElementById('feed-container');
346
+ const cards = feedContainer.querySelectorAll('.promo-card, .news-card');
347
+
348
+ filterBtns.forEach(btn => {
349
+ btn.addEventListener('click', () => {
350
+ const category = btn.getAttribute('data-category');
351
+
352
+ // Toggle active state
353
+ if (category === 'all') {
354
+ // Reset all filters
355
+ filterBtns.forEach(b => {
356
+ b.classList.remove('active');
357
+ b.classList.add('bg-gray-100', 'text-gray-700');
358
+ });
359
+ btn.classList.add('active');
360
+ btn.classList.remove('bg-gray-100', 'text-gray-700');
361
+
362
+ // Show all cards
363
+ cards.forEach(card => {
364
+ card.style.display = 'block';
365
+ card.style.animation = 'fadeIn 0.3s ease-in';
366
+ });
367
+ } else {
368
+ // Toggle individual filter
369
+ btn.classList.toggle('active');
370
+ btn.classList.toggle('bg-gray-100');
371
+ btn.classList.toggle('text-gray-700');
372
+
373
+ // Check if any filters are active
374
+ const activeFilters = document.querySelectorAll('.filter-btn.active:not([data-category="all"])');
375
+
376
+ if (activeFilters.length === 0) {
377
+ // No filters active, show all
378
+ document.querySelector('[data-category="all"]').click();
379
+ } else {
380
+ // Filter by active categories
381
+ const activeCategories = Array.from(activeFilters).map(f => f.getAttribute('data-category'));
382
+
383
+ cards.forEach(card => {
384
+ const cardCategory = card.getAttribute('data-category');
385
+ if (activeCategories.includes(cardCategory)) {
386
+ card.style.display = 'block';
387
+ card.style.animation = 'fadeIn 0.3s ease-in';
388
+ } else {
389
+ card.style.display = 'none';
390
+ }
391
+ });
392
+ }
393
  }
394
  });
395
+ });
396
 
397
+ // Add fade-in animation
398
+ const style = document.createElement('style');
399
+ style.textContent = `
400
+ @keyframes fadeIn {
401
+ from { opacity: 0; transform: translateY(10px); }
402
+ to { opacity: 1; transform: translateY(0); }
403
+ }
404
+ `;
405
+ document.head.appendChild(style);
406
+
407
+ // Smooth scroll for anchor links
408
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
409
+ anchor.addEventListener('click', function (e) {
410
+ e.preventDefault();
411
+ const target = document.querySelector(this.getAttribute('href'));
412
+ if (target) {
413
+ target.scrollIntoView({
414
+ behavior: 'smooth',
415
+ block: 'start'
416
+ });
417
+ }
418
+ });
419
  });
420
  </script>
421
  </body>
422
+ </html>