Álvaro Valenzuela Valdes commited on
Commit ·
f9803ac
1
Parent(s): 5f3c146
📊 UX: Added Procurement Lifecycle visualization to match official Mercado Público structure
Browse files
frontend/components/TenderSearch.tsx
CHANGED
|
@@ -274,6 +274,27 @@ export default function TenderSearch({ tenders, onSearch, onAnalyze, forceShowFo
|
|
| 274 |
</div>
|
| 275 |
</div>
|
| 276 |
)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277 |
|
| 278 |
{tender.items && tender.items.length > 0 && (
|
| 279 |
<div>
|
|
|
|
| 274 |
</div>
|
| 275 |
</div>
|
| 276 |
)}
|
| 277 |
+
|
| 278 |
+
{/* Lifecycle Section */}
|
| 279 |
+
<div>
|
| 280 |
+
<h4 className="text-[10px] font-black uppercase tracking-[0.3em] text-slate-500 mb-6 flex items-center gap-2">
|
| 281 |
+
<span className="text-cyan">🔄</span> Procurement Lifecycle
|
| 282 |
+
</h4>
|
| 283 |
+
<div className="grid grid-cols-2 md:grid-cols-4 gap-4">
|
| 284 |
+
{[
|
| 285 |
+
{ label: "Preguntas", icon: "❓", status: "Active" },
|
| 286 |
+
{ label: "Historial", icon: "📜", status: "Available" },
|
| 287 |
+
{ label: "Apertura", icon: "🔓", status: "Pending" },
|
| 288 |
+
{ label: "Adjudicación", icon: "🏆", status: "Future" }
|
| 289 |
+
].map((step, i) => (
|
| 290 |
+
<div key={i} className="p-4 rounded-2xl bg-white/[0.03] border border-white/5 text-center group hover:bg-white/5 transition-all">
|
| 291 |
+
<div className="text-2xl mb-2 group-hover:scale-110 transition">{step.icon}</div>
|
| 292 |
+
<div className="text-[10px] font-black uppercase tracking-widest text-slate-300 mb-1">{step.label}</div>
|
| 293 |
+
<div className="text-[8px] font-bold text-slate-600 uppercase">{step.status}</div>
|
| 294 |
+
</div>
|
| 295 |
+
))}
|
| 296 |
+
</div>
|
| 297 |
+
</div>
|
| 298 |
|
| 299 |
{tender.items && tender.items.length > 0 && (
|
| 300 |
<div>
|