jcarnel commited on
Commit
940ac0a
·
verified ·
1 Parent(s): 1878d4d

Add 2 files

Browse files
Files changed (2) hide show
  1. index.html +668 -666
  2. prompts.txt +2 -1
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Truism Marketplace - Connecting Farmers to Markets</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
  <script>
@@ -22,29 +22,38 @@
22
  }
23
  </script>
24
  <style>
25
- .hero-gradient {
26
- background: linear-gradient(135deg, #1F7349 0%, #0D4D2B 100%);
27
  }
28
 
29
- .product-card:hover {
30
- transform: translateY(-5px);
31
- box-shadow: 0 10px 25px rgba(0,0,0,0.1);
 
32
  }
33
 
34
  .transition-smooth {
35
  transition: all 0.3s ease-in-out;
36
  }
37
 
38
- .nav-link:hover {
39
- color: #F9A51A;
 
40
  }
41
 
42
- .btn-primary:hover {
43
- background-color: #0D4D2B;
 
44
  }
45
 
46
- .btn-secondary:hover {
47
- background-color: #e69500;
 
 
 
 
 
 
48
  }
49
 
50
  /* Custom scrollbar */
@@ -64,741 +73,734 @@
64
  </style>
65
  </head>
66
  <body class="font-sans bg-gray-50">
67
- <!-- Navigation -->
68
- <nav class="bg-white shadow-md sticky top-0 z-50">
69
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
70
- <div class="flex justify-between h-20 items-center">
71
- <div class="flex items-center">
72
- <div class="flex-shrink-0">
73
- <img src="https://truismhl.com/wp-content/uploads/2023/05/logo.png" alt="Truism Logo" class="h-12">
74
- </div>
75
- <div class="hidden md:ml-10 md:flex md:space-x-8">
76
- <a href="#" class="text-truismPrimary font-medium border-b-2 border-truismPrimary py-2 px-1">Home</a>
77
- <a href="#marketplace" class="nav-link text-gray-600 hover:text-truismSecondary py-2 px-1">Marketplace</a>
78
- <a href="#services" class="nav-link text-gray-600 hover:text-truismSecondary py-2 px-1">Services</a>
79
- <a href="#about" class="nav-link text-gray-600 hover:text-truismSecondary py-2 px-1">About</a>
80
- <a href="#contact" class="nav-link text-gray-600 hover:text-truismSecondary py-2 px-1">Contact</a>
81
  </div>
82
  </div>
83
- <div class="hidden md:flex items-center space-x-4">
84
- <button class="relative text-gray-600 hover:text-truismPrimary">
85
- <i class="fas fa-shopping-cart text-xl"></i>
86
- <span class="absolute -top-2 -right-2 bg-truismSecondary text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">3</span>
87
- </button>
88
- <button onclick="toggleLoginModal()" class="bg-truismPrimary text-white px-6 py-2 rounded-md font-medium hover:bg-truismDark transition-smooth">
89
- Login
90
- </button>
 
 
 
 
 
 
 
91
  </div>
92
- <div class="-mr-2 flex items-center md:hidden">
93
- <button type="button" onclick="toggleMobileMenu()" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-truismPrimary">
94
- <span class="sr-only">Open main menu</span>
95
- <i class="fas fa-bars text-xl"></i>
96
- </button>
 
 
 
 
 
 
 
 
 
 
97
  </div>
98
- </div>
99
- </div>
100
-
101
- <!-- Mobile menu -->
102
- <div class="md:hidden hidden" id="mobile-menu">
103
- <div class="pt-2 pb-3 space-y-1 px-4">
104
- <a href="#" class="block py-2 px-3 text-base font-medium text-truismPrimary bg-truismLight rounded-md">Home</a>
105
- <a href="#marketplace" class="block py-2 px-3 text-base font-medium text-gray-600 hover:text-truismSecondary hover:bg-gray-50 rounded-md">Marketplace</a>
106
- <a href="#services" class="block py-2 px-3 text-base font-medium text-gray-600 hover:text-truismSecondary hover:bg-gray-50 rounded-md">Services</a>
107
- <a href="#about" class="block py-2 px-3 text-base font-medium text-gray-600 hover:text-truismSecondary hover:bg-gray-50 rounded-md">About</a>
108
- <a href="#contact" class="block py-2 px-3 text-base font-medium text-gray-600 hover:text-truismSecondary hover:bg-gray-50 rounded-md">Contact</a>
109
- <div class="pt-4 border-t border-gray-200">
110
- <div class="flex items-center space-x-4">
111
- <button class="relative text-gray-600 hover:text-truismPrimary">
112
- <i class="fas fa-shopping-cart text-xl"></i>
113
- <span class="absolute -top-2 -right-2 bg-truismSecondary text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">3</span>
114
- </button>
115
- <button onclick="toggleLoginModal()" class="bg-truismPrimary text-white px-6 py-2 rounded-md font-medium hover:bg-truismDark transition-smooth w-full">
116
- Login
117
- </button>
118
- </div>
119
  </div>
120
  </div>
121
  </div>
122
- </nav>
123
 
124
- <!-- Hero Section -->
125
- <div class="hero-gradient text-white">
126
- <div class="max-w-7xl mx-auto px-4 py-24 sm:px-6 lg:px-8">
127
- <div class="lg:grid lg:grid-cols-2 lg:gap-12 items-center">
128
- <div class="mb-12 lg:mb-0">
129
- <h1 class="text-4xl font-bold tracking-tight sm:text-5xl md:text-6xl">
130
- Truism Marketplace
131
- </h1>
132
- <p class="mt-6 text-xl leading-8">
133
- Connecting farmers directly to buyers through our transparent agricultural marketplace.
134
- </p>
135
- <div class="mt-10 flex flex-wrap gap-4">
136
- <a href="#marketplace" class="bg-truismSecondary text-white px-8 py-3 rounded-md font-medium hover:bg-yellow-600 transition-smooth">
137
- Browse Products
138
- </a>
139
- <a href="#" class="bg-white text-truismPrimary px-8 py-3 rounded-md font-medium hover:bg-gray-100 transition-smooth">
140
- Sell With Us
141
- </a>
 
 
 
 
 
 
 
 
142
  </div>
143
  </div>
144
- <div class="relative">
145
- <img src="https://images.unsplash.com/photo-1605000797499-95a51c5269ae?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80" alt="Farm produce" class="rounded-lg shadow-2xl">
146
- <div class="absolute -bottom-6 -left-6 bg-white p-4 rounded-lg shadow-lg hidden md:block">
 
 
 
 
147
  <div class="flex items-center">
148
- <div class="bg-truismLight p-3 rounded-full mr-4">
149
- <i class="fas fa-leaf text-truismPrimary text-xl"></i>
150
  </div>
151
  <div>
152
- <p class="text-sm text-gray-500">Farmers Connected</p>
153
- <p class="text-2xl font-bold text-truismPrimary">2,500+</p>
154
  </div>
155
  </div>
156
  </div>
157
- </div>
158
- </div>
159
- </div>
160
- </div>
161
-
162
- <!-- Stats Section -->
163
- <div class="bg-white py-16">
164
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
165
- <div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
166
- <div class="p-6">
167
- <p class="text-4xl font-bold text-truismPrimary">95%</p>
168
- <p class="mt-2 text-gray-600">Supply Chain Efficiency</p>
169
- </div>
170
- <div class="p-6">
171
- <p class="text-4xl font-bold text-truismPrimary">30%</p>
172
- <p class="mt-2 text-gray-600">Increased Farmer Income</p>
173
- </div>
174
- <div class="p-6">
175
- <p class="text-4xl font-bold text-truismPrimary">1,200+</p>
176
- <p class="mt-2 text-gray-600">Active Buyers</p>
177
- </div>
178
- <div class="p-6">
179
- <p class="text-4xl font-bold text-truismPrimary">24h</p>
180
- <p class="mt-2 text-gray-600">Average Delivery Time</p>
181
- </div>
182
- </div>
183
- </div>
184
- </div>
185
-
186
- <!-- Marketplace Section -->
187
- <div id="marketplace" class="py-16 bg-gray-50">
188
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
189
- <div class="text-center mb-12">
190
- <h2 class="text-3xl font-bold text-truismPrimary">Agricultural Marketplace</h2>
191
- <p class="mt-4 text-lg text-gray-600 max-w-3xl mx-auto">
192
- Browse our selection of high-quality agricultural products sourced directly from farmers.
193
- </p>
194
- </div>
195
-
196
- <div class="flex justify-center mb-8">
197
- <div class="inline-flex rounded-md shadow-sm" role="group">
198
- <button type="button" onclick="filterProducts('all')" class="px-4 py-2 text-sm font-medium rounded-l-lg bg-truismPrimary text-white">
199
- All Products
200
- </button>
201
- <button type="button" onclick="filterProducts('pulses')" class="px-4 py-2 text-sm font-medium bg-white text-gray-700 hover:bg-gray-50">
202
- Dry Pulses
203
- </button>
204
- <button type="button" onclick="filterProducts('herbs')" class="px-4 py-2 text-sm font-medium bg-white text-gray-700 hover:bg-gray-50">
205
- Herbs & Spices
206
- </button>
207
- <button type="button" onclick="filterProducts('oil')" class="px-4 py-2 text-sm font-medium rounded-r-lg bg-white text-gray-700 hover:bg-gray-50">
208
- Oil Seeds
209
- </button>
210
- </div>
211
- </div>
212
-
213
- <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8" id="product-container">
214
- <!-- Products will be loaded here via JavaScript -->
215
- </div>
216
-
217
- <div class="mt-12 text-center">
218
- <button class="bg-white text-truismPrimary px-8 py-3 rounded-md font-medium border border-truismPrimary hover:bg-truismLight transition-smooth">
219
- Load More Products
220
- </button>
221
- </div>
222
- </div>
223
- </div>
224
-
225
- <!-- Services Section -->
226
- <div id="services" class="py-16 bg-white">
227
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
228
- <div class="text-center mb-12">
229
- <h2 class="text-3xl font-bold text-truismPrimary">Our Services</h2>
230
- <p class="mt-4 text-lg text-gray-600 max-w-3xl mx-auto">
231
- Comprehensive solutions for farmers and buyers across the agricultural value chain.
232
- </p>
233
- </div>
234
-
235
- <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
236
- <div class="bg-truismLight p-8 rounded-lg hover:shadow-lg transition-smooth">
237
- <div class="bg-truismPrimary w-16 h-16 rounded-full flex items-center justify-center text-white mb-6">
238
- <i class="fas fa-truck text-2xl"></i>
239
- </div>
240
- <h3 class="text-xl font-bold text-truismPrimary mb-3">Logistics Solutions</h3>
241
- <p class="text-gray-600">
242
- Our optimized logistics network ensures timely delivery of agricultural products from farm to buyer with minimal waste.
243
- </p>
244
- </div>
245
- <div class="bg-truismLight p-8 rounded-lg hover:shadow-lg transition-smooth">
246
- <div class="bg-truismPrimary w-16 h-16 rounded-full flex items-center justify-center text-white mb-6">
247
- <i class="fas fa-chart-line text-2xl"></i>
248
- </div>
249
- <h3 class="text-xl font-bold text-truismPrimary mb-3">Market Insights</h3>
250
- <p class="text-gray-600">
251
- Access real-time pricing data and market trends to make informed buying and selling decisions.
252
- </p>
253
- </div>
254
- <div class="bg-truismLight p-8 rounded-lg hover:shadow-lg transition-smooth">
255
- <div class="bg-truismPrimary w-16 h-16 rounded-full flex items-center justify-center text-white mb-6">
256
- <i class="fas fa-hand-holding-usd text-2xl"></i>
257
- </div>
258
- <h3 class="text-xl font-bold text-truismPrimary mb-3">Financial Services</h3>
259
- <p class="text-gray-600">
260
- Flexible payment solutions and financing options for both farmers and buyers to facilitate smooth transactions.
261
- </p>
262
- </div>
263
- </div>
264
- </div>
265
- </div>
266
-
267
- <!-- Testimonials Section -->
268
- <div class="py-16 bg-gray-50">
269
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
270
- <div class="text-center mb-12">
271
- <h2 class="text-3xl font-bold text-truismPrimary">What Our Partners Say</h2>
272
- </div>
273
-
274
- <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
275
- <div class="bg-white p-8 rounded-lg shadow-sm">
276
- <div class="flex items-center mb-4">
277
- <div class="w-12 h-12 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold mr-4">JK</div>
278
- <div>
279
- <h4 class="font-medium text-gray-900">James Kariuki</h4>
280
- <p class="text-sm text-gray-500">Smallholder Farmer</p>
281
  </div>
282
  </div>
283
- <p class="text-gray-600 mb-4">
284
- "Truism has transformed my farming business. I now get fair prices for my produce and payments come quickly."
285
- </p>
286
- <div class="text-truismSecondary">
287
- <i class="fas fa-star"></i>
288
- <i class="fas fa-star"></i>
289
- <i class="fas fa-star"></i>
290
- <i class="fas fa-star"></i>
291
- <i class="fas fa-star"></i>
292
- </div>
293
- </div>
294
-
295
- <div class="bg-white p-8 rounded-lg shadow-sm">
296
- <div class="flex items-center mb-4">
297
- <div class="w-12 h-12 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold mr-4">AM</div>
298
- <div>
299
- <h4 class="font-medium text-gray-900">Amina Mohamed</h4>
300
- <p class="text-sm text-gray-500">Food Processor</p>
301
  </div>
302
  </div>
303
- <p class="text-gray-600 mb-4">
304
- "The quality of products through Truism is consistently high, and their logistics are reliable. It's changed how we source raw materials."
305
- </p>
306
- <div class="text-truismSecondary">
307
- <i class="fas fa-star"></i>
308
- <i class="fas fa-star"></i>
309
- <i class="fas fa-star"></i>
310
- <i class="fas fa-star"></i>
311
- <i class="fas fa-star-half-alt"></i>
 
312
  </div>
313
  </div>
314
 
315
- <div class="bg-white p-8 rounded-lg shadow-sm">
316
- <div class="flex items-center mb-4">
317
- <div class="w-12 h-12 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold mr-4">PO</div>
318
- <div>
319
- <h4 class="font-medium text-gray-900">Paul Omondi</h4>
320
- <p class="text-sm text-gray-500">Retail Distributor</p>
321
  </div>
322
  </div>
323
- <p class="text-gray-600 mb-4">
324
- "Truism's platform gives me visibility into inventory levels and pricing trends. It's reduced our stockouts by 70%."
325
- </p>
326
- <div class="text-truismSecondary">
327
- <i class="fas fa-star"></i>
328
- <i class="fas fa-star"></i>
329
- <i class="fas fa-star"></i>
330
- <i class="fas fa-star"></i>
331
- <i class="fas fa-star"></i>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  </div>
333
  </div>
334
- </div>
335
- </div>
336
- </div>
337
 
338
- <!-- About Section -->
339
- <div id="about" class="py-16 bg-white">
340
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
341
- <div class="lg:grid lg:grid-cols-2 lg:gap-12 items-center">
342
- <div class="mb-12 lg:mb-0">
343
- <h2 class="text-3xl font-bold text-truismPrimary mb-6">About Truism</h2>
344
- <p class="text-gray-600 mb-4">
345
- Truism is an agricultural technology company dedicated to creating equitable and efficient supply chains that benefit all stakeholders.
346
- </p>
347
- <p class="text-gray-600 mb-6">
348
- Founded in 2020, our platform connects smallholder farmers directly with processors, distributors, and retailers, eliminating middlemen and ensuring fair prices.
349
- </p>
350
- <div class="bg-truismLight p-6 rounded-lg">
351
- <h4 class="font-bold text-truismPrimary mb-3">Our Mission</h4>
352
- <p class="text-gray-600">
353
- To empower farmers through technology while providing buyers with reliable access to high-quality agricultural products.
354
- </p>
355
  </div>
356
- </div>
357
- <div>
358
- <img src="https://images.unsplash.com/photo-1601134467661-3d775b999c8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1075&q=80" alt="Farmers working" class="rounded-lg shadow-lg">
359
- </div>
360
- </div>
361
- </div>
362
- </div>
363
-
364
- <!-- CTA Section -->
365
- <div class="py-16 bg-truismPrimary text-white">
366
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
367
- <h2 class="text-3xl font-bold mb-6">Ready to Join Our Marketplace?</h2>
368
- <p class="text-xl mb-8 max-w-3xl mx-auto">
369
- Whether you're a farmer looking to sell your produce or a buyer seeking quality agricultural products, Truism has you covered.
370
- </p>
371
- <div class="flex flex-wrap justify-center gap-4">
372
- <a href="#" class="bg-truismSecondary text-white px-8 py-3 rounded-md font-medium hover:bg-yellow-600 transition-smooth">
373
- Sign Up as Farmer
374
- </a>
375
- <a href="#" class="bg-white text-truismPrimary px-8 py-3 rounded-md font-medium hover:bg-gray-100 transition-smooth">
376
- Register as Buyer
377
- </a>
378
- </div>
379
- </div>
380
- </div>
381
-
382
- <!-- Contact Section -->
383
- <div id="contact" class="py-16 bg-white">
384
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
385
- <div class="lg:grid lg:grid-cols-2 lg:gap-12">
386
- <div class="mb-12 lg:mb-0">
387
- <h2 class="text-3xl font-bold text-truismPrimary mb-6">Contact Us</h2>
388
- <div class="space-y-6">
389
- <div class="flex items-start">
390
- <div class="flex-shrink-0">
391
- <i class="fas fa-map-marker-alt text-truismSecondary mt-1"></i>
392
  </div>
393
- <div class="ml-4">
394
- <h4 class="font-medium text-gray-900">Headquarters</h4>
395
- <p class="text-gray-600">Nairobi, Kenya</p>
 
 
 
 
 
 
 
 
 
 
 
 
396
  </div>
397
  </div>
398
- <div class="flex items-start">
399
- <div class="flex-shrink-0">
400
- <i class="fas fa-phone-alt text-truismSecondary mt-1"></i>
 
 
 
401
  </div>
402
- <div class="ml-4">
403
- <h4 class="font-medium text-gray-900">Phone</h4>
404
- <p class="text-gray-600">+254 700 123456</p>
405
- <p class="text-sm text-gray-500">Mon-Fri, 8am-5pm</p>
 
 
 
 
 
 
 
 
 
 
 
406
  </div>
407
  </div>
408
- <div class="flex items-start">
409
- <div class="flex-shrink-0">
410
- <i class="fas fa-envelope text-truismSecondary mt-1"></i>
 
 
 
411
  </div>
412
- <div class="ml-4">
413
- <h4 class="font-medium text-gray-900">Email</h4>
414
- <p class="text-gray-600">info@truismhl.com</p>
 
 
 
 
 
 
 
 
 
 
 
 
415
  </div>
416
  </div>
417
- </div>
418
- <div class="mt-8">
419
- <h4 class="font-medium text-gray-900 mb-4">Follow Us</h4>
420
- <div class="flex space-x-4">
421
- <a href="#" class="text-gray-600 hover:text-truismPrimary text-xl">
422
- <i class="fab fa-facebook-f"></i>
423
- </a>
424
- <a href="#" class="text-gray-600 hover:text-truismPrimary text-xl">
425
- <i class="fab fa-twitter"></i>
426
- </a>
427
- <a href="#" class="text-gray-600 hover:text-truismPrimary text-xl">
428
- <i class="fab fa-linkedin-in"></i>
429
- </a>
430
- <a href="#" class="text-gray-600 hover:text-truismPrimary text-xl">
431
- <i class="fab fa-instagram"></i>
432
- </a>
 
 
 
 
 
 
 
433
  </div>
434
  </div>
435
  </div>
436
- <div>
437
- <form class="space-y-6">
438
- <div>
439
- <label for="name" class="block text-sm font-medium text-gray-700">Full Name</label>
440
- <input type="text" id="name" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-truismPrimary focus:border-truismPrimary">
441
- </div>
442
- <div>
443
- <label for="email" class="block text-sm font-medium text-gray-700">Email Address</label>
444
- <input type="email" id="email" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-truismPrimary focus:border-truismPrimary">
445
- </div>
446
- <div>
447
- <label for="subject" class="block text-sm font-medium text-gray-700">Subject</label>
448
- <select id="subject" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-truismPrimary focus:border-truismPrimary">
449
- <option>General Inquiry</option>
450
- <option>Farmer Registration</option>
451
- <option>Buyer Registration</option>
452
- <option>Technical Support</option>
453
- </select>
454
- </div>
455
- <div>
456
- <label for="message" class="block text-sm font-medium text-gray-700">Message</label>
457
- <textarea id="message" rows="4" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-truismPrimary focus:border-truismPrimary"></textarea>
458
- </div>
459
- <div>
460
- <button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-truismPrimary hover:bg-truismDark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-truismPrimary">
461
- Send Message
462
- </button>
463
- </div>
464
- </form>
465
- </div>
466
- </div>
467
  </div>
468
  </div>
469
 
470
- <!-- Footer -->
471
- <footer class="bg-truismDark text-white">
472
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
473
- <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
474
- <div>
475
- <img src="https://truismhl.com/wp-content/uploads/2023/05/logo.png" alt="Truism Logo" class="h-12 mb-4">
476
- <p class="text-gray-300 text-sm">
477
- Connecting farmers to markets through technology and innovation.
478
- </p>
479
- </div>
480
- <div>
481
- <h3 class="text-lg font-medium mb-4">Quick Links</h3>
482
- <ul class="space-y-2 text-sm text-gray-300">
483
- <li><a href="#" class="hover:text-white">Home</a></li>
484
- <li><a href="#marketplace" class="hover:text-white">Marketplace</a></li>
485
- <li><a href="#services" class="hover:text-white">Services</a></li>
486
- <li><a href="#about" class="hover:text-white">About Us</a></li>
487
- <li><a href="#contact" class="hover:text-white">Contact</a></li>
488
- </ul>
489
- </div>
490
- <div>
491
- <h3 class="text-lg font-medium mb-4">Products</h3>
492
- <ul class="space-y-2 text-sm text-gray-300">
493
- <li><a href="#" class="hover:text-white">Dry Pulses</a></li>
494
- <li><a href="#" class="hover:text-white">Herbs & Spices</a></li>
495
- <li><a href="#" class="hover:text-white">Oil Seeds</a></li>
496
- <li><a href="#" class="hover:text-white">Logistics</a></li>
497
- <li><a href="#" class="hover:text-white">Market Data</a></li>
498
- </ul>
499
- </div>
500
- <div>
501
- <h3 class="text-lg font-medium mb-4">Newsletter</h3>
502
- <p class="text-gray-300 text-sm mb-4">
503
- Subscribe to our newsletter for the latest updates.
504
- </p>
505
- <form class="flex">
506
- <input type="email" placeholder="Your email" class="bg-truismPrimary text-white placeholder-gray-300 px-4 py-2 rounded-l-md focus:outline-none focus:ring-1 focus:ring-truismSecondary w-full">
507
- <button type="submit" class="bg-truismSecondary text-truismDark px-4 py-2 rounded-r-md hover:bg-yellow-600 focus:outline-none focus:ring-1 focus:ring-truismSecondary">
508
- <i class="fas fa-paper-plane"></i>
509
- </button>
510
- </form>
511
  </div>
512
- </div>
513
- <div class="border-t border-truismPrimary mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
514
- <p class="text-sm text-gray-300">
515
- &copy; 2023 Truism. All rights reserved.
516
- </p>
517
- <div class="flex space-x-6 mt-4 md:mt-0">
518
- <a href="#" class="text-gray-300 hover:text-white">
519
- <span class="sr-only">Facebook</span>
520
- <i class="fab fa-facebook-f"></i>
521
- </a>
522
- <a href="#" class="text-gray-300 hover:text-white">
523
- <span class="sr-only">Twitter</span>
524
- <i class="fab fa-twitter"></i>
525
- </a>
526
- <a href="#" class="text-gray-300 hover:text-white">
527
- <span class="sr-only">Instagram</span>
528
- <i class="fab fa-instagram"></i>
529
- </a>
530
- <a href="#" class="text-gray-300 hover:text-white">
531
- <span class="sr-only">LinkedIn</span>
532
- <i class="fab fa-linkedin-in"></i>
533
- </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
534
  </div>
535
  </div>
536
- </div>
537
- </footer>
538
 
539
- <!-- Login Modal -->
540
- <div id="loginModal" class="fixed inset-0 z-50 hidden overflow-y-auto">
541
- <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
542
- <div class="fixed inset-0 transition-opacity" aria-hidden="true">
543
- <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
544
- </div>
545
- <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
546
- <div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
547
- <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
548
- <div class="sm:flex sm:items-start">
549
- <div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-truismPrimary sm:mx-0 sm:h-10 sm:w-10">
550
- <i class="fas fa-user text-white"></i>
551
- </div>
552
- <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
553
- <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
554
- Login to Your Account
555
- </h3>
556
- <div class="mt-2">
557
- <form class="space-y-4">
558
- <div>
559
- <label for="modalEmail" class="block text-sm font-medium text-gray-700">Email</label>
560
- <input type="email" id="modalEmail" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-truismPrimary focus:border-truismPrimary">
561
- </div>
562
- <div>
563
- <label for="modalPassword" class="block text-sm font-medium text-gray-700">Password</label>
564
- <input type="password" id="modalPassword" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-truismPrimary focus:border-truismPrimary">
565
- </div>
566
- <div class="flex items-center justify-between">
567
- <div class="flex items-center">
568
- <input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-truismPrimary focus:ring-truismPrimary border-gray-300 rounded">
569
- <label for="remember-me" class="ml-2 block text-sm text-gray-900">
570
- Remember me
571
- </label>
572
- </div>
573
- <div class="text-sm">
574
- <a href="#" class="font-medium text-truismPrimary hover:text-truismDark">
575
- Forgot your password?
576
- </a>
577
- </div>
578
- </div>
579
- <div>
580
- <button type="button" onclick="loginUser()" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-truismPrimary hover:bg-truismDark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-truismPrimary">
581
- Sign in
582
- </button>
583
- </div>
584
- </form>
585
- <div class="mt-4 text-center">
586
- <p class="text-sm text-gray-600">
587
- Don't have an account?
588
- <a href="#" class="font-medium text-truismPrimary hover:text-truismDark">
589
- Register here
590
- </a>
591
- </p>
592
  </div>
593
  </div>
594
  </div>
595
  </div>
596
- </div>
597
- <div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
598
- <button type="button" onclick="toggleLoginModal()" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-truismPrimary sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
599
- Close
600
- </button>
601
- </div>
602
- </div>
603
- </div>
604
- </div>
605
 
606
- <!-- Product Quick View Modal -->
607
- <div id="productModal" class="fixed inset-0 z-50 hidden overflow-y-auto">
608
- <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
609
- <div class="fixed inset-0 transition-opacity" aria-hidden="true">
610
- <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
611
- </div>
612
- <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
613
- <div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl sm:w-full">
614
- <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
615
- <div class="sm:flex sm:items-start">
616
- <button type="button" onclick="toggleProductModal()" class="absolute top-4 right-4 text-gray-400 hover:text-gray-500">
617
- <i class="fas fa-times text-xl"></i>
618
- </button>
619
- <div class="mt-3 text-center sm:mt-0 sm:text-left w-full">
620
- <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
621
  <div>
622
- <img id="modalProductImage" src="" alt="Product" class="rounded-lg w-full">
 
 
 
 
 
 
 
 
623
  </div>
624
  <div>
625
- <h3 class="text-2xl font-bold text-gray-900 mb-2" id="modalProductName"></h3>
626
- <div class="flex items-center mb-4">
627
- <div class="text-truismSecondary mr-2">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
  <i class="fas fa-star"></i>
629
  <i class="fas fa-star"></i>
630
  <i class="fas fa-star"></i>
631
  <i class="fas fa-star"></i>
632
  <i class="fas fa-star-half-alt"></i>
633
  </div>
634
- <span class="text-sm text-gray-500">(24 reviews)</span>
635
  </div>
636
- <p class="text-truismPrimary text-2xl font-bold mb-4" id="modalProductPrice"></p>
637
- <p class="text-gray-600 mb-6" id="modalProductDescription"></p>
638
- <div class="flex items-center mb-6">
639
- <span class="text-gray-700 mr-4">Quantity:</span>
640
- <div class="flex items-center border border-gray-300 rounded">
641
- <button class="px-3 py-1 text-gray-600 hover:bg-gray-100">-</button>
642
- <span class="px-3 py-1">1</span>
643
- <button class="px-3 py-1 text-gray-600 hover:bg-gray-100">+</button>
 
 
 
 
 
 
644
  </div>
645
  </div>
646
- <div class="flex space-x-4">
647
- <button class="bg-truismPrimary text-white px-6 py-3 rounded-md font-medium hover:bg-truismDark transition-smooth flex-1">
648
- <i class="fas fa-shopping-cart mr-2"></i> Add to Cart
649
- </button>
650
- <button class="border border-truismPrimary text-truismPrimary px-6 py-3 rounded-md font-medium hover:bg-truismLight transition-smooth">
651
- <i class="far fa-heart"></i>
652
- </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
653
  </div>
654
  </div>
655
  </div>
656
  </div>
657
  </div>
658
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
659
  </div>
660
  </div>
661
  </div>
662
 
663
- <script>
664
- // Sample product data
665
- const products = [
666
- {
667
- id: 1,
668
- name: "Premium Pigeon Peas",
669
- category: "pulses",
670
- price: "$2.50/kg",
671
- description: "High-quality pigeon peas sourced directly from smallholder farmers in Eastern Kenya. Ideal for both domestic and commercial use.",
672
- image: "https://images.unsplash.com/photo-1603569283847-aa6f0c5d9d5c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
673
- stock: "In Stock (245kg)"
674
- },
675
- {
676
- id: 2,
677
- name: "Organic Turmeric Powder",
678
- category: "herbs",
679
- price: "$5.20/kg",
680
- description: "Pure organic turmeric powder with high curcumin content. Grown without synthetic pesticides or fertilizers.",
681
- image: "https://images.unsplash.com/photo-1596043756921-6b09789a9c36?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
682
- stock: "Low Stock (32kg)"
683
- },
684
- {
685
- id: 3,
686
- name: "White Sesame Seeds",
687
- category: "oil",
688
- price: "$3.75/kg",
689
- description: "Premium hulled white sesame seeds with 99% purity. Perfect for baking, cooking, and oil extraction.",
690
- image: "https://images.unsplash.com/photo-1594282486555-1b5c6e0e63f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80",
691
- stock: "In Stock (150kg)"
692
- },
693
- {
694
- id: 4,
695
- name: "Green Grams (Whole)",
696
- category: "pulses",
697
- price: "$2.80/kg",
698
- description: "Whole green grams with excellent cooking qualities. Rich in protein and fiber.",
699
- image: "https://images.unsplash.com/photo-1605000797499-95a51c5269ae?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80",
700
- stock: "In Stock (180kg)"
701
- },
702
- {
703
- id: 5,
704
- name: "Chili Powder",
705
- category: "herbs",
706
- price: "$6.40/kg",
707
- description: "Hot chili powder made from sun-dried red chilies. Perfect for adding spice to your dishes.",
708
- image: "https://images.unsplash.com/photo-1603048719537-93a64b424f0e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
709
- stock: "In Stock (75kg)"
710
- },
711
- {
712
- id: 6,
713
- name: "Sunflower Seeds",
714
- category: "oil",
715
- price: "$4.20/kg",
716
- description: "High-quality sunflower seeds with high oil content. Ideal for snacking or oil extraction.",
717
- image: "https://images.unsplash.com/photo-1594282486555-1b5c6e0e63f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80",
718
- stock: "In Stock (210kg)"
719
- }
720
- ];
721
-
722
- // Load products on page load
723
- document.addEventListener('DOMContentLoaded', function() {
724
- loadProducts('all');
725
- });
726
-
727
- // Load products based on category
728
- function loadProducts(category) {
729
- const container = document.getElementById('product-container');
730
- container.innerHTML = '';
731
-
732
- let filteredProducts = products;
733
- if (category !== 'all') {
734
- filteredProducts = products.filter(product => product.category === category);
735
- }
736
-
737
- filteredProducts.forEach(product => {
738
- const productCard = document.createElement('div');
739
- productCard.className = 'bg-white rounded-lg shadow-md overflow-hidden product-card transition-smooth';
740
- productCard.innerHTML = `
741
- <div class="relative">
742
- <img src="${product.image}" alt="${product.name}" class="w-full h-48 object-cover">
743
- <span class="absolute top-2 right-2 bg-truismSecondary text-white text-xs font-bold px-2 py-1 rounded">${product.stock}</span>
744
- </div>
745
- <div class="p-4">
746
- <h3 class="text-lg font-semibold text-gray-900 mb-1">${product.name}</h3>
747
- <p class="text-truismPrimary font-bold text-lg mb-2">${product.price}</p>
748
- <p class="text-gray-600 text-sm mb-4 line-clamp-2">${product.description}</p>
749
- <div class="flex justify-between items-center">
750
- <button onclick="viewProduct(${product.id})" class="bg-truismPrimary text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-truismDark transition-smooth">
751
- View Details
752
- </button>
753
- <button class="text-truismPrimary hover:text-truismDark">
754
- <i class="far fa-heart text-xl"></i>
755
- </button>
756
- </div>
757
- </div>
758
- `;
759
- container.appendChild(productCard);
760
- });
761
- }
762
 
763
- // Filter products by category
764
- function filterProducts(category) {
765
- loadProducts(category);
 
 
766
  }
767
 
768
- // View product details
769
- function viewProduct(id) {
770
- const product = products.find(p => p.id === id);
771
- if (product) {
772
- document.getElementById('modalProductImage').src = product.image;
773
- document.getElementById('modalProductName').textContent = product.name;
774
- document.getElementById('modalProductPrice').textContent = product.price;
775
- document.getElementById('modalProductDescription').textContent = product.description;
776
- toggleProductModal();
777
  }
778
- }
779
-
780
- // Toggle mobile menu
781
- function toggleMobileMenu() {
782
- const mobileMenu = document.getElementById('mobile-menu');
783
- mobileMenu.classList.toggle('hidden');
784
- }
785
-
786
- // Toggle login modal
787
- function toggleLoginModal() {
788
- const loginModal = document.getElementById('loginModal');
789
- loginModal.classList.toggle('hidden');
790
- }
791
 
792
- // Toggle product modal
793
- function toggleProductModal() {
794
- const productModal = document.getElementById('productModal');
795
- productModal.classList.toggle('hidden');
796
  }
797
 
798
- // Login user (simplified for demo)
799
- function loginUser() {
800
- alert('Login functionality would be implemented here');
801
- toggleLoginModal();
802
  }
803
  </script>
804
  <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=jcarnel/projects256" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Truism Marketplace - Dashboard</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
  <script>
 
22
  }
23
  </script>
24
  <style>
25
+ .dashboard-nav {
26
+ height: calc(100vh - 4rem);
27
  }
28
 
29
+ .active-tab {
30
+ background-color: #E8F3EC;
31
+ color: #1F7349;
32
+ border-left: 4px solid #F9A51A;
33
  }
34
 
35
  .transition-smooth {
36
  transition: all 0.3s ease-in-out;
37
  }
38
 
39
+ .order-status-pending {
40
+ background-color: #FEF3C7;
41
+ color: #92400E;
42
  }
43
 
44
+ .order-status-shipped {
45
+ background-color: #D1FAE5;
46
+ color: #065F46;
47
  }
48
 
49
+ .order-status-delivered {
50
+ background-color: #E0F2FE;
51
+ color: #0369A1;
52
+ }
53
+
54
+ .order-status-cancelled {
55
+ background-color: #FEE2E2;
56
+ color: #B91C1C;
57
  }
58
 
59
  /* Custom scrollbar */
 
73
  </style>
74
  </head>
75
  <body class="font-sans bg-gray-50">
76
+ <!-- Dashboard Navigation -->
77
+ <div class="flex">
78
+ <!-- Sidebar -->
79
+ <div class="bg-white shadow-md w-64 fixed dashboard-nav">
80
+ <div class="p-4 border-b border-gray-200">
81
+ <img src="https://truismhl.com/wp-content/uploads/2023/05/logo.png" alt="Truism Logo" class="h-10">
82
+ </div>
83
+ <div class="p-4">
84
+ <div class="flex items-center mb-6">
85
+ <div class="w-12 h-12 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold mr-3">JD</div>
86
+ <div>
87
+ <p class="font-medium">John Doe</p>
88
+ <p class="text-sm text-gray-500">Buyer Account</p>
 
89
  </div>
90
  </div>
91
+
92
+ <div class="mb-8">
93
+ <p class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Main</p>
94
+ <a href="#" class="block py-2 px-3 mb-1 rounded active-tab">
95
+ <i class="fas fa-tachometer-alt mr-2"></i> Dashboard
96
+ </a>
97
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
98
+ <i class="fas fa-shopping-cart mr-2"></i> Orders
99
+ </a>
100
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
101
+ <i class="fas fa-heart mr-2"></i> Wishlist
102
+ </a>
103
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
104
+ <i class="fas fa-bell mr-2"></i> Notifications
105
+ </a>
106
  </div>
107
+
108
+ <div class="mb-8">
109
+ <p class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Account</p>
110
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
111
+ <i class="fas fa-user mr-2"></i> Profile
112
+ </a>
113
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
114
+ <i class="fas fa-lock mr-2"></i> Security
115
+ </a>
116
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
117
+ <i class="fas fa-credit-card mr-2"></i> Payment Methods
118
+ </a>
119
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
120
+ <i class="fas fa-map-marker-alt mr-2"></i> Addresses
121
+ </a>
122
  </div>
123
+
124
+ <div>
125
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100 text-red-500">
126
+ <i class="fas fa-sign-out-alt mr-2"></i> Logout
127
+ </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  </div>
129
  </div>
130
  </div>
 
131
 
132
+ <!-- Main Content -->
133
+ <div class="flex-1 ml-64">
134
+ <!-- Top Navigation -->
135
+ <nav class="bg-white shadow-sm">
136
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
137
+ <div class="flex justify-between h-16 items-center">
138
+ <div class="flex items-center">
139
+ <h1 class="text-xl font-semibold text-gray-900">Buyer Dashboard</h1>
140
+ </div>
141
+ <div class="flex items-center space-x-4">
142
+ <button class="relative text-gray-600 hover:text-truismPrimary">
143
+ <i class="fas fa-bell text-xl"></i>
144
+ <span class="absolute -top-1 -right-1 bg-truismSecondary text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">3</span>
145
+ </button>
146
+ <div class="relative">
147
+ <button onclick="toggleProfileDropdown()" class="flex items-center text-sm rounded-full focus:outline-none">
148
+ <span class="sr-only">Open user menu</span>
149
+ <div class="w-8 h-8 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold">JD</div>
150
+ </button>
151
+ <div id="profileDropdown" class="hidden absolute right-0 mt-2 w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 py-1 z-50">
152
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
153
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
154
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
155
+ </div>
156
+ </div>
157
+ </div>
158
  </div>
159
  </div>
160
+ </nav>
161
+
162
+ <!-- Dashboard Content -->
163
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
164
+ <!-- Stats Cards -->
165
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
166
+ <div class="bg-white rounded-lg shadow p-6">
167
  <div class="flex items-center">
168
+ <div class="p-3 rounded-full bg-truismLight text-truismPrimary mr-4">
169
+ <i class="fas fa-shopping-cart"></i>
170
  </div>
171
  <div>
172
+ <p class="text-sm text-gray-500">Total Orders</p>
173
+ <p class="text-2xl font-bold">24</p>
174
  </div>
175
  </div>
176
  </div>
177
+ <div class="bg-white rounded-lg shadow p-6">
178
+ <div class="flex items-center">
179
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
180
+ <i class="fas fa-truck"></i>
181
+ </div>
182
+ <div>
183
+ <p class="text-sm text-gray-500">Pending Orders</p>
184
+ <p class="text-2xl font-bold">5</p>
185
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  </div>
187
  </div>
188
+ <div class="bg-white rounded-lg shadow p-6">
189
+ <div class="flex items-center">
190
+ <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
191
+ <i class="fas fa-check-circle"></i>
192
+ </div>
193
+ <div>
194
+ <p class="text-sm text-gray-500">Completed Orders</p>
195
+ <p class="text-2xl font-bold">18</p>
196
+ </div>
 
 
 
 
 
 
 
 
 
197
  </div>
198
  </div>
199
+ <div class="bg-white rounded-lg shadow p-6">
200
+ <div class="flex items-center">
201
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
202
+ <i class="fas fa-heart"></i>
203
+ </div>
204
+ <div>
205
+ <p class="text-sm text-gray-500">Wishlist Items</p>
206
+ <p class="text-2xl font-bold">7</p>
207
+ </div>
208
+ </div>
209
  </div>
210
  </div>
211
 
212
+ <!-- Recent Orders -->
213
+ <div class="bg-white rounded-lg shadow overflow-hidden mb-8">
214
+ <div class="px-6 py-4 border-b border-gray-200">
215
+ <div class="flex items-center justify-between">
216
+ <h2 class="text-lg font-semibold text-gray-900">Recent Orders</h2>
217
+ <a href="#" class="text-sm font-medium text-truismPrimary hover:text-truismDark">View All</a>
218
  </div>
219
  </div>
220
+ <div class="divide-y divide-gray-200">
221
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
222
+ <div class="flex items-center justify-between">
223
+ <div class="flex items-center">
224
+ <div class="mr-4">
225
+ <span class="order-status-pending px-2 py-1 text-xs font-medium rounded-full">Pending</span>
226
+ </div>
227
+ <div>
228
+ <p class="font-medium">Order #TRU-2023-0012</p>
229
+ <p class="text-sm text-gray-500">Premium Pigeon Peas (10kg)</p>
230
+ </div>
231
+ </div>
232
+ <div class="text-right">
233
+ <p class="font-medium">$25.00</p>
234
+ <p class="text-sm text-gray-500">Placed on 15 Jun 2023</p>
235
+ </div>
236
+ </div>
237
+ </div>
238
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
239
+ <div class="flex items-center justify-between">
240
+ <div class="flex items-center">
241
+ <div class="mr-4">
242
+ <span class="order-status-shipped px-2 py-1 text-xs font-medium rounded-full">Shipped</span>
243
+ </div>
244
+ <div>
245
+ <p class="font-medium">Order #TRU-2023-0011</p>
246
+ <p class="text-sm text-gray-500">Organic Turmeric Powder (5kg)</p>
247
+ </div>
248
+ </div>
249
+ <div class="text-right">
250
+ <p class="font-medium">$26.00</p>
251
+ <p class="text-sm text-gray-500">Placed on 12 Jun 2023</p>
252
+ </div>
253
+ </div>
254
+ </div>
255
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
256
+ <div class="flex items-center justify-between">
257
+ <div class="flex items-center">
258
+ <div class="mr-4">
259
+ <span class="order-status-delivered px-2 py-1 text-xs font-medium rounded-full">Delivered</span>
260
+ </div>
261
+ <div>
262
+ <p class="font-medium">Order #TRU-2023-0010</p>
263
+ <p class="text-sm text-gray-500">White Sesame Seeds (15kg)</p>
264
+ </div>
265
+ </div>
266
+ <div class="text-right">
267
+ <p class="font-medium">$56.25</p>
268
+ <p class="text-sm text-gray-500">Placed on 8 Jun 2023</p>
269
+ </div>
270
+ </div>
271
+ </div>
272
  </div>
273
  </div>
 
 
 
274
 
275
+ <!-- Recommended Products -->
276
+ <div class="bg-white rounded-lg shadow overflow-hidden">
277
+ <div class="px-6 py-4 border-b border-gray-200">
278
+ <div class="flex items-center justify-between">
279
+ <h2 class="text-lg font-semibold text-gray-900">Recommended Products</h2>
280
+ <a href="#" class="text-sm font-medium text-truismPrimary hover:text-truismDark">Browse All</a>
281
+ </div>
 
 
 
 
 
 
 
 
 
 
282
  </div>
283
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 p-6">
284
+ <div class="bg-white border border-gray-200 rounded-lg overflow-hidden hover:shadow-md transition-smooth">
285
+ <div class="relative">
286
+ <img src="https://images.unsplash.com/photo-1605000797499-95a51c5269ae?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80" alt="Green Grams" class="w-full h-40 object-cover">
287
+ <button class="absolute top-2 right-2 text-gray-400 hover:text-red-500">
288
+ <i class="far fa-heart text-xl"></i>
289
+ </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
290
  </div>
291
+ <div class="p-4">
292
+ <h3 class="font-medium text-gray-900 mb-1">Green Grams (Whole)</h3>
293
+ <p class="text-truismPrimary font-bold mb-2">$2.80/kg</p>
294
+ <div class="flex justify-between items-center">
295
+ <button class="bg-truismPrimary text-white px-3 py-1 rounded text-sm font-medium hover:bg-truismDark transition-smooth">
296
+ Add to Cart
297
+ </button>
298
+ <div class="text-truismSecondary text-sm">
299
+ <i class="fas fa-star"></i>
300
+ <i class="fas fa-star"></i>
301
+ <i class="fas fa-star"></i>
302
+ <i class="fas fa-star"></i>
303
+ <i class="fas fa-star-half-alt"></i>
304
+ </div>
305
+ </div>
306
  </div>
307
  </div>
308
+ <div class="bg-white border border-gray-200 rounded-lg overflow-hidden hover:shadow-md transition-smooth">
309
+ <div class="relative">
310
+ <img src="https://images.unsplash.com/photo-1603048719537-93a64b424f0e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Chili Powder" class="w-full h-40 object-cover">
311
+ <button class="absolute top-2 right-2 text-gray-400 hover:text-red-500">
312
+ <i class="far fa-heart text-xl"></i>
313
+ </button>
314
  </div>
315
+ <div class="p-4">
316
+ <h3 class="font-medium text-gray-900 mb-1">Chili Powder</h3>
317
+ <p class="text-truismPrimary font-bold mb-2">$6.40/kg</p>
318
+ <div class="flex justify-between items-center">
319
+ <button class="bg-truismPrimary text-white px-3 py-1 rounded text-sm font-medium hover:bg-truismDark transition-smooth">
320
+ Add to Cart
321
+ </button>
322
+ <div class="text-truismSecondary text-sm">
323
+ <i class="fas fa-star"></i>
324
+ <i class="fas fa-star"></i>
325
+ <i class="fas fa-star"></i>
326
+ <i class="fas fa-star"></i>
327
+ <i class="fas fa-star"></i>
328
+ </div>
329
+ </div>
330
  </div>
331
  </div>
332
+ <div class="bg-white border border-gray-200 rounded-lg overflow-hidden hover:shadow-md transition-smooth">
333
+ <div class="relative">
334
+ <img src="https://images.unsplash.com/photo-1594282486555-1b5c6e0e63f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Sunflower Seeds" class="w-full h-40 object-cover">
335
+ <button class="absolute top-2 right-2 text-gray-400 hover:text-red-500">
336
+ <i class="far fa-heart text-xl"></i>
337
+ </button>
338
  </div>
339
+ <div class="p-4">
340
+ <h3 class="font-medium text-gray-900 mb-1">Sunflower Seeds</h3>
341
+ <p class="text-truismPrimary font-bold mb-2">$4.20/kg</p>
342
+ <div class="flex justify-between items-center">
343
+ <button class="bg-truismPrimary text-white px-3 py-1 rounded text-sm font-medium hover:bg-truismDark transition-smooth">
344
+ Add to Cart
345
+ </button>
346
+ <div class="text-truismSecondary text-sm">
347
+ <i class="fas fa-star"></i>
348
+ <i class="fas fa-star"></i>
349
+ <i class="fas fa-star"></i>
350
+ <i class="fas fa-star"></i>
351
+ <i class="far fa-star"></i>
352
+ </div>
353
+ </div>
354
  </div>
355
  </div>
356
+ <div class="bg-white border border-gray-200 rounded-lg overflow-hidden hover:shadow-md transition-smooth">
357
+ <div class="relative">
358
+ <img src="https://images.unsplash.com/photo-1603569283847-aa6f0c5d9d5c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Pigeon Peas" class="w-full h-40 object-cover">
359
+ <button class="absolute top-2 right-2 text-gray-400 hover:text-red-500">
360
+ <i class="far fa-heart text-xl"></i>
361
+ </button>
362
+ </div>
363
+ <div class="p-4">
364
+ <h3 class="font-medium text-gray-900 mb-1">Premium Pigeon Peas</h3>
365
+ <p class="text-truismPrimary font-bold mb-2">$2.50/kg</p>
366
+ <div class="flex justify-between items-center">
367
+ <button class="bg-truismPrimary text-white px-3 py-1 rounded text-sm font-medium hover:bg-truismDark transition-smooth">
368
+ Add to Cart
369
+ </button>
370
+ <div class="text-truismSecondary text-sm">
371
+ <i class="fas fa-star"></i>
372
+ <i class="fas fa-star"></i>
373
+ <i class="fas fa-star"></i>
374
+ <i class="fas fa-star"></i>
375
+ <i class="fas fa-star-half-alt"></i>
376
+ </div>
377
+ </div>
378
+ </div>
379
  </div>
380
  </div>
381
  </div>
382
+ </main>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
383
  </div>
384
  </div>
385
 
386
+ <!-- Seller Dashboard (Hidden by default) -->
387
+ <div id="sellerDashboard" class="hidden">
388
+ <div class="flex">
389
+ <!-- Sidebar -->
390
+ <div class="bg-white shadow-md w-64 fixed dashboard-nav">
391
+ <div class="p-4 border-b border-gray-200">
392
+ <img src="https://truismhl.com/wp-content/uploads/2023/05/logo.png" alt="Truism Logo" class="h-10">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
  </div>
394
+ <div class="p-4">
395
+ <div class="flex items-center mb-6">
396
+ <div class="w-12 h-12 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold mr-3">MF</div>
397
+ <div>
398
+ <p class="font-medium">Mary Farmer</p>
399
+ <p class="text-sm text-gray-500">Seller Account</p>
400
+ </div>
401
+ </div>
402
+
403
+ <div class="mb-8">
404
+ <p class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Main</p>
405
+ <a href="#" class="block py-2 px-3 mb-1 rounded active-tab">
406
+ <i class="fas fa-tachometer-alt mr-2"></i> Dashboard
407
+ </a>
408
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
409
+ <i class="fas fa-box-open mr-2"></i> Products
410
+ </a>
411
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
412
+ <i class="fas fa-shopping-cart mr-2"></i> Orders
413
+ </a>
414
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
415
+ <i class="fas fa-chart-line mr-2"></i> Analytics
416
+ </a>
417
+ </div>
418
+
419
+ <div class="mb-8">
420
+ <p class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Management</p>
421
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
422
+ <i class="fas fa-users mr-2"></i> Customers
423
+ </a>
424
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
425
+ <i class="fas fa-comments mr-2"></i> Reviews
426
+ </a>
427
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
428
+ <i class="fas fa-truck mr-2"></i> Shipping
429
+ </a>
430
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
431
+ <i class="fas fa-percentage mr-2"></i> Discounts
432
+ </a>
433
+ </div>
434
+
435
+ <div class="mb-8">
436
+ <p class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Account</p>
437
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
438
+ <i class="fas fa-store mr-2"></i> Store Profile
439
+ </a>
440
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
441
+ <i class="fas fa-wallet mr-2"></i> Payouts
442
+ </a>
443
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100">
444
+ <i class="fas fa-cog mr-2"></i> Settings
445
+ </a>
446
+ </div>
447
+
448
+ <div>
449
+ <a href="#" class="block py-2 px-3 mb-1 rounded hover:bg-gray-100 text-red-500">
450
+ <i class="fas fa-sign-out-alt mr-2"></i> Logout
451
+ </a>
452
+ </div>
453
  </div>
454
  </div>
 
 
455
 
456
+ <!-- Main Content -->
457
+ <div class="flex-1 ml-64">
458
+ <!-- Top Navigation -->
459
+ <nav class="bg-white shadow-sm">
460
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
461
+ <div class="flex justify-between h-16 items-center">
462
+ <div class="flex items-center">
463
+ <h1 class="text-xl font-semibold text-gray-900">Seller Dashboard</h1>
464
+ </div>
465
+ <div class="flex items-center space-x-4">
466
+ <button class="relative text-gray-600 hover:text-truismPrimary">
467
+ <i class="fas fa-bell text-xl"></i>
468
+ <span class="absolute -top-1 -right-1 bg-truismSecondary text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">5</span>
469
+ </button>
470
+ <div class="relative">
471
+ <button onclick="toggleProfileDropdown()" class="flex items-center text-sm rounded-full focus:outline-none">
472
+ <span class="sr-only">Open user menu</span>
473
+ <div class="w-8 h-8 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold">MF</div>
474
+ </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
475
  </div>
476
  </div>
477
  </div>
478
  </div>
479
+ </nav>
 
 
 
 
 
 
 
 
480
 
481
+ <!-- Dashboard Content -->
482
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
483
+ <!-- Stats Cards -->
484
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
485
+ <div class="bg-white rounded-lg shadow p-6">
486
+ <div class="flex items-center">
487
+ <div class="p-3 rounded-full bg-truismLight text-truismPrimary mr-4">
488
+ <i class="fas fa-money-bill-wave"></i>
489
+ </div>
490
+ <div>
491
+ <p class="text-sm text-gray-500">Total Revenue</p>
492
+ <p class="text-2xl font-bold">$1,245.80</p>
493
+ </div>
494
+ </div>
495
+ </div>
496
+ <div class="bg-white rounded-lg shadow p-6">
497
+ <div class="flex items-center">
498
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
499
+ <i class="fas fa-shopping-cart"></i>
500
+ </div>
501
+ <div>
502
+ <p class="text-sm text-gray-500">Total Orders</p>
503
+ <p class="text-2xl font-bold">42</p>
504
+ </div>
505
+ </div>
506
+ </div>
507
+ <div class="bg-white rounded-lg shadow p-6">
508
+ <div class="flex items-center">
509
+ <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
510
+ <i class="fas fa-box-open"></i>
511
+ </div>
512
  <div>
513
+ <p class="text-sm text-gray-500">Products Listed</p>
514
+ <p class="text-2xl font-bold">8</p>
515
+ </div>
516
+ </div>
517
+ </div>
518
+ <div class="bg-white rounded-lg shadow p-6">
519
+ <div class="flex items-center">
520
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
521
+ <i class="fas fa-star"></i>
522
  </div>
523
  <div>
524
+ <p class="text-sm text-gray-500">Average Rating</p>
525
+ <p class="text-2xl font-bold">4.6</p>
526
+ </div>
527
+ </div>
528
+ </div>
529
+ </div>
530
+
531
+ <!-- Recent Orders -->
532
+ <div class="bg-white rounded-lg shadow overflow-hidden mb-8">
533
+ <div class="px-6 py-4 border-b border-gray-200">
534
+ <div class="flex items-center justify-between">
535
+ <h2 class="text-lg font-semibold text-gray-900">Recent Orders</h2>
536
+ <a href="#" class="text-sm font-medium text-truismPrimary hover:text-truismDark">View All</a>
537
+ </div>
538
+ </div>
539
+ <div class="overflow-x-auto">
540
+ <table class="min-w-full divide-y divide-gray-200">
541
+ <thead class="bg-gray-50">
542
+ <tr>
543
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Order ID</th>
544
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Customer</th>
545
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Products</th>
546
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
547
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Total</th>
548
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Action</th>
549
+ </tr>
550
+ </thead>
551
+ <tbody class="bg-white divide-y divide-gray-200">
552
+ <tr class="hover:bg-gray-50">
553
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#TRU-2023-0042</td>
554
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Doe</td>
555
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Pigeon Peas (10kg)</td>
556
+ <td class="px-6 py-4 whitespace-nowrap">
557
+ <span class="order-status-pending px-2 py-1 text-xs font-medium rounded-full">Pending</span>
558
+ </td>
559
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$25.00</td>
560
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
561
+ <a href="#" class="text-truismPrimary hover:text-truismDark">View</a>
562
+ </td>
563
+ </tr>
564
+ <tr class="hover:bg-gray-50">
565
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#TRU-2023-0041</td>
566
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Smith</td>
567
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Turmeric Powder (5kg)</td>
568
+ <td class="px-6 py-4 whitespace-nowrap">
569
+ <span class="order-status-shipped px-2 py-1 text-xs font-medium rounded-full">Shipped</span>
570
+ </td>
571
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$26.00</td>
572
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
573
+ <a href="#" class="text-truismPrimary hover:text-truismDark">View</a>
574
+ </td>
575
+ </tr>
576
+ <tr class="hover:bg-gray-50">
577
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#TRU-2023-0040</td>
578
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">David Johnson</td>
579
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sesame Seeds (15kg)</td>
580
+ <td class="px-6 py-4 whitespace-nowrap">
581
+ <span class="order-status-delivered px-2 py-1 text-xs font-medium rounded-full">Delivered</span>
582
+ </td>
583
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$56.25</td>
584
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
585
+ <a href="#" class="text-truismPrimary hover:text-truismDark">View</a>
586
+ </td>
587
+ </tr>
588
+ <tr class="hover:bg-gray-50">
589
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#TRU-2023-0039</td>
590
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Emma Wilson</td>
591
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Green Grams (8kg)</td>
592
+ <td class="px-6 py-4 whitespace-nowrap">
593
+ <span class="order-status-cancelled px-2 py-1 text-xs font-medium rounded-full">Cancelled</span>
594
+ </td>
595
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$22.40</td>
596
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
597
+ <a href="#" class="text-truismPrimary hover:text-truismDark">View</a>
598
+ </td>
599
+ </tr>
600
+ </tbody>
601
+ </table>
602
+ </div>
603
+ </div>
604
+
605
+ <!-- Product Performance -->
606
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-8">
607
+ <div class="bg-white rounded-lg shadow overflow-hidden">
608
+ <div class="px-6 py-4 border-b border-gray-200">
609
+ <h2 class="text-lg font-semibold text-gray-900">Top Selling Products</h2>
610
+ </div>
611
+ <div class="divide-y divide-gray-200">
612
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
613
+ <div class="flex items-center">
614
+ <img src="https://images.unsplash.com/photo-1603569283847-aa6f0c5d9d5c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Pigeon Peas" class="w-16 h-16 object-cover rounded mr-4">
615
+ <div class="flex-1">
616
+ <h3 class="font-medium">Premium Pigeon Peas</h3>
617
+ <p class="text-sm text-gray-500">Sold: 120kg | Revenue: $300.00</p>
618
+ </div>
619
+ <div class="text-truismSecondary">
620
  <i class="fas fa-star"></i>
621
  <i class="fas fa-star"></i>
622
  <i class="fas fa-star"></i>
623
  <i class="fas fa-star"></i>
624
  <i class="fas fa-star-half-alt"></i>
625
  </div>
 
626
  </div>
627
+ </div>
628
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
629
+ <div class="flex items-center">
630
+ <img src="https://images.unsplash.com/photo-1596043756921-6b09789a9c36?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Turmeric Powder" class="w-16 h-16 object-cover rounded mr-4">
631
+ <div class="flex-1">
632
+ <h3 class="font-medium">Organic Turmeric Powder</h3>
633
+ <p class="text-sm text-gray-500">Sold: 85kg | Revenue: $442.00</p>
634
+ </div>
635
+ <div class="text-truismSecondary">
636
+ <i class="fas fa-star"></i>
637
+ <i class="fas fa-star"></i>
638
+ <i class="fas fa-star"></i>
639
+ <i class="fas fa-star"></i>
640
+ <i class="fas fa-star"></i>
641
  </div>
642
  </div>
643
+ </div>
644
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
645
+ <div class="flex items-center">
646
+ <img src="https://images.unsplash.com/photo-1594282486555-1b5c6e0e63f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Sesame Seeds" class="w-16 h-16 object-cover rounded mr-4">
647
+ <div class="flex-1">
648
+ <h3 class="font-medium">White Sesame Seeds</h3>
649
+ <p class="text-sm text-gray-500">Sold: 75kg | Revenue: $281.25</p>
650
+ </div>
651
+ <div class="text-truismSecondary">
652
+ <i class="fas fa-star"></i>
653
+ <i class="fas fa-star"></i>
654
+ <i class="fas fa-star"></i>
655
+ <i class="fas fa-star"></i>
656
+ <i class="far fa-star"></i>
657
+ </div>
658
+ </div>
659
+ </div>
660
+ </div>
661
+ </div>
662
+
663
+ <div class="bg-white rounded-lg shadow overflow-hidden">
664
+ <div class="px-6 py-4 border-b border-gray-200">
665
+ <h2 class="text-lg font-semibold text-gray-900">Recent Reviews</h2>
666
+ </div>
667
+ <div class="divide-y divide-gray-200">
668
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
669
+ <div class="flex items-start">
670
+ <div class="mr-4">
671
+ <div class="w-10 h-10 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold">JD</div>
672
+ </div>
673
+ <div class="flex-1">
674
+ <div class="flex items-center justify-between">
675
+ <h4 class="font-medium">John Doe</h4>
676
+ <div class="text-truismSecondary text-sm">
677
+ <i class="fas fa-star"></i>
678
+ <i class="fas fa-star"></i>
679
+ <i class="fas fa-star"></i>
680
+ <i class="fas fa-star"></i>
681
+ <i class="fas fa-star-half-alt"></i>
682
+ </div>
683
+ </div>
684
+ <p class="text-sm text-gray-600 mt-1">Premium Pigeon Peas</p>
685
+ <p class="text-gray-500 mt-2">"Excellent quality peas, very fresh and clean. Will definitely order again!"</p>
686
+ <p class="text-xs text-gray-400 mt-2">2 days ago</p>
687
+ </div>
688
+ </div>
689
+ </div>
690
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
691
+ <div class="flex items-start">
692
+ <div class="mr-4">
693
+ <div class="w-10 h-10 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold">SS</div>
694
+ </div>
695
+ <div class="flex-1">
696
+ <div class="flex items-center justify-between">
697
+ <h4 class="font-medium">Sarah Smith</h4>
698
+ <div class="text-truismSecondary text-sm">
699
+ <i class="fas fa-star"></i>
700
+ <i class="fas fa-star"></i>
701
+ <i class="fas fa-star"></i>
702
+ <i class="fas fa-star"></i>
703
+ <i class="fas fa-star"></i>
704
+ </div>
705
+ </div>
706
+ <p class="text-sm text-gray-600 mt-1">Organic Turmeric Powder</p>
707
+ <p class="text-gray-500 mt-2">"The turmeric is very potent and fresh. Perfect for my health drinks. Highly recommend!"</p>
708
+ <p class="text-xs text-gray-400 mt-2">1 week ago</p>
709
+ </div>
710
+ </div>
711
+ </div>
712
+ <div class="px-6 py-4 hover:bg-gray-50 transition-smooth">
713
+ <div class="flex items-start">
714
+ <div class="mr-4">
715
+ <div class="w-10 h-10 rounded-full bg-truismLight flex items-center justify-center text-truismPrimary font-bold">DJ</div>
716
+ </div>
717
+ <div class="flex-1">
718
+ <div class="flex items-center justify-between">
719
+ <h4 class="font-medium">David Johnson</h4>
720
+ <div class="text-truismSecondary text-sm">
721
+ <i class="fas fa-star"></i>
722
+ <i class="fas fa-star"></i>
723
+ <i class="fas fa-star"></i>
724
+ <i class="fas fa-star"></i>
725
+ <i class="far fa-star"></i>
726
+ </div>
727
+ </div>
728
+ <p class="text-sm text-gray-600 mt-1">White Sesame Seeds</p>
729
+ <p class="text-gray-500 mt-2">"Good quality seeds, but delivery took longer than expected."</p>
730
+ <p class="text-xs text-gray-400 mt-2">2 weeks ago</p>
731
+ </div>
732
  </div>
733
  </div>
734
  </div>
735
  </div>
736
  </div>
737
+
738
+ <!-- Quick Actions -->
739
+ <div class="bg-white rounded-lg shadow overflow-hidden">
740
+ <div class="px-6 py-4 border-b border-gray-200">
741
+ <h2 class="text-lg font-semibold text-gray-900">Quick Actions</h2>
742
+ </div>
743
+ <div class="grid grid-cols-1 sm:grid-cols-3 gap-6 p-6">
744
+ <a href="#" class="bg-truismLight rounded-lg p-6 text-center hover:shadow-md transition-smooth">
745
+ <div class="bg-truismPrimary w-16 h-16 rounded-full flex items-center justify-center text-white mx-auto mb-4">
746
+ <i class="fas fa-plus text-2xl"></i>
747
+ </div>
748
+ <h3 class="font-medium text-gray-900 mb-2">Add New Product</h3>
749
+ <p class="text-sm text-gray-500">List a new agricultural product for sale</p>
750
+ </a>
751
+ <a href="#" class="bg-truismLight rounded-lg p-6 text-center hover:shadow-md transition-smooth">
752
+ <div class="bg-truismPrimary w-16 h-16 rounded-full flex items-center justify-center text-white mx-auto mb-4">
753
+ <i class="fas fa-chart-line text-2xl"></i>
754
+ </div>
755
+ <h3 class="font-medium text-gray-900 mb-2">View Reports</h3>
756
+ <p class="text-sm text-gray-500">Analyze your sales and performance</p>
757
+ </a>
758
+ <a href="#" class="bg-truismLight rounded-lg p-6 text-center hover:shadow-md transition-smooth">
759
+ <div class="bg-truismPrimary w-16 h-16 rounded-full flex items-center justify-center text-white mx-auto mb-4">
760
+ <i class="fas fa-truck text-2xl"></i>
761
+ </div>
762
+ <h3 class="font-medium text-gray-900 mb-2">Manage Shipping</h3>
763
+ <p class="text-sm text-gray-500">Update your shipping methods and rates</p>
764
+ </a>
765
+ </div>
766
+ </div>
767
+ </main>
768
  </div>
769
  </div>
770
  </div>
771
 
772
+ <!-- Dashboard Toggle (For demo purposes) -->
773
+ <div class="fixed bottom-4 right-4 z-50">
774
+ <button onclick="toggleDashboard()" class="bg-truismPrimary text-white p-3 rounded-full shadow-lg hover:bg-truismDark transition-smooth">
775
+ <i class="fas fa-exchange-alt"></i>
776
+ </button>
777
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
778
 
779
+ <script>
780
+ // Toggle profile dropdown
781
+ function toggleProfileDropdown() {
782
+ const dropdown = document.getElementById('profileDropdown');
783
+ dropdown.classList.toggle('hidden');
784
  }
785
 
786
+ // Close dropdown when clicking outside
787
+ document.addEventListener('click', function(event) {
788
+ const dropdown = document.getElementById('profileDropdown');
789
+ if (!event.target.closest('.relative')) {
790
+ dropdown.classList.add('hidden');
 
 
 
 
791
  }
792
+ });
 
 
 
 
 
 
 
 
 
 
 
 
793
 
794
+ // For demo purposes - toggle between buyer and seller dashboards
795
+ function toggleDashboard() {
796
+ const sellerDashboard = document.getElementById('sellerDashboard');
797
+ sellerDashboard.classList.toggle('hidden');
798
  }
799
 
800
+ // Sample function to view product details
801
+ function viewProduct(id) {
802
+ alert('Viewing product with ID: ' + id);
803
+ // In a real application, this would open a modal or navigate to product page
804
  }
805
  </script>
806
  <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=jcarnel/projects256" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
prompts.txt CHANGED
@@ -1,3 +1,4 @@
1
  Truism connects informal processors, distributors, and retailers to their inventory needs while sourcing directly from smallholder farmers. We focus on the dry pulses, Herbs/Spiecs and select oil seeds. We building in the echnology and artificial intelligence to optimize the supply chain and ensure efficient inventory management> Build a website and a webapp with a dashboard
2
  Build a market place for Truism.
3
- https://truismhl.com/
 
 
1
  Truism connects informal processors, distributors, and retailers to their inventory needs while sourcing directly from smallholder farmers. We focus on the dry pulses, Herbs/Spiecs and select oil seeds. We building in the echnology and artificial intelligence to optimize the supply chain and ensure efficient inventory management> Build a website and a webapp with a dashboard
2
  Build a market place for Truism.
3
+ https://truismhl.com/
4
+ create a buyer dashboard and a seller dashboard