Spaces:
Running
Running
Add 2 files
Browse files- index.html +668 -666
- 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 -
|
| 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 |
-
.
|
| 26 |
-
|
| 27 |
}
|
| 28 |
|
| 29 |
-
.
|
| 30 |
-
|
| 31 |
-
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
.transition-smooth {
|
| 35 |
transition: all 0.3s ease-in-out;
|
| 36 |
}
|
| 37 |
|
| 38 |
-
.
|
| 39 |
-
color: #
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
-
.
|
| 43 |
-
background-color: #
|
|
|
|
| 44 |
}
|
| 45 |
|
| 46 |
-
.
|
| 47 |
-
background-color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
|
| 50 |
/* Custom scrollbar */
|
|
@@ -64,741 +73,734 @@
|
|
| 64 |
</style>
|
| 65 |
</head>
|
| 66 |
<body class="font-sans bg-gray-50">
|
| 67 |
-
<!-- Navigation -->
|
| 68 |
-
<
|
| 69 |
-
<
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
<
|
| 79 |
-
<
|
| 80 |
-
<a href="#contact" class="nav-link text-gray-600 hover:text-truismSecondary py-2 px-1">Contact</a>
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
<
|
| 89 |
-
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
</div>
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
</div>
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 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 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
<
|
| 128 |
-
<div class="
|
| 129 |
-
<
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
</div>
|
| 143 |
</div>
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
<div class="flex items-center">
|
| 148 |
-
<div class="
|
| 149 |
-
<i class="fas fa-
|
| 150 |
</div>
|
| 151 |
<div>
|
| 152 |
-
<p class="text-sm text-gray-500">
|
| 153 |
-
<p class="text-2xl font-bold
|
| 154 |
</div>
|
| 155 |
</div>
|
| 156 |
</div>
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 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 |
-
<
|
| 284 |
-
"
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 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 |
-
<
|
| 304 |
-
"
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
|
|
|
| 312 |
</div>
|
| 313 |
</div>
|
| 314 |
|
| 315 |
-
<
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
<div>
|
| 319 |
-
<
|
| 320 |
-
<
|
| 321 |
</div>
|
| 322 |
</div>
|
| 323 |
-
<
|
| 324 |
-
"
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 332 |
</div>
|
| 333 |
</div>
|
| 334 |
-
</div>
|
| 335 |
-
</div>
|
| 336 |
-
</div>
|
| 337 |
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 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 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
|
| 362 |
-
|
| 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="
|
| 394 |
-
<
|
| 395 |
-
<p class="text-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
</div>
|
| 397 |
</div>
|
| 398 |
-
<div class="
|
| 399 |
-
<div class="
|
| 400 |
-
<
|
|
|
|
|
|
|
|
|
|
| 401 |
</div>
|
| 402 |
-
<div class="
|
| 403 |
-
<
|
| 404 |
-
<p class="text-
|
| 405 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 406 |
</div>
|
| 407 |
</div>
|
| 408 |
-
<div class="
|
| 409 |
-
<div class="
|
| 410 |
-
<
|
|
|
|
|
|
|
|
|
|
| 411 |
</div>
|
| 412 |
-
<div class="
|
| 413 |
-
<
|
| 414 |
-
<p class="text-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 415 |
</div>
|
| 416 |
</div>
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
<
|
| 423 |
-
</
|
| 424 |
-
<
|
| 425 |
-
<
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 433 |
</div>
|
| 434 |
</div>
|
| 435 |
</div>
|
| 436 |
-
|
| 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 |
-
<!--
|
| 471 |
-
<
|
| 472 |
-
<div class="
|
| 473 |
-
<
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
<
|
| 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 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
|
| 519 |
-
|
| 520 |
-
|
| 521 |
-
<
|
| 522 |
-
|
| 523 |
-
<
|
| 524 |
-
|
| 525 |
-
|
| 526 |
-
|
| 527 |
-
|
| 528 |
-
<
|
| 529 |
-
|
| 530 |
-
|
| 531 |
-
<
|
| 532 |
-
<
|
| 533 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 534 |
</div>
|
| 535 |
</div>
|
| 536 |
-
</div>
|
| 537 |
-
</footer>
|
| 538 |
|
| 539 |
-
|
| 540 |
-
|
| 541 |
-
|
| 542 |
-
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
|
| 548 |
-
|
| 549 |
-
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
| 557 |
-
|
| 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 |
-
</
|
| 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 |
-
|
| 607 |
-
|
| 608 |
-
|
| 609 |
-
|
| 610 |
-
|
| 611 |
-
|
| 612 |
-
|
| 613 |
-
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 621 |
<div>
|
| 622 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 623 |
</div>
|
| 624 |
<div>
|
| 625 |
-
<
|
| 626 |
-
<
|
| 627 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
-
|
| 637 |
-
|
| 638 |
-
<div class="flex items-center
|
| 639 |
-
<
|
| 640 |
-
<div class="flex
|
| 641 |
-
<
|
| 642 |
-
<
|
| 643 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 644 |
</div>
|
| 645 |
</div>
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
|
| 649 |
-
</
|
| 650 |
-
<
|
| 651 |
-
<
|
| 652 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 653 |
</div>
|
| 654 |
</div>
|
| 655 |
</div>
|
| 656 |
</div>
|
| 657 |
</div>
|
| 658 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 659 |
</div>
|
| 660 |
</div>
|
| 661 |
</div>
|
| 662 |
|
| 663 |
-
<
|
| 664 |
-
|
| 665 |
-
|
| 666 |
-
|
| 667 |
-
|
| 668 |
-
|
| 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 |
-
|
| 764 |
-
|
| 765 |
-
|
|
|
|
|
|
|
| 766 |
}
|
| 767 |
|
| 768 |
-
//
|
| 769 |
-
|
| 770 |
-
const
|
| 771 |
-
if (
|
| 772 |
-
|
| 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 |
-
//
|
| 793 |
-
function
|
| 794 |
-
const
|
| 795 |
-
|
| 796 |
}
|
| 797 |
|
| 798 |
-
//
|
| 799 |
-
function
|
| 800 |
-
alert('
|
| 801 |
-
|
| 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
|