Álvaro Valenzuela Valdes commited on
Commit ·
7905725
1
Parent(s): 0d90d39
fix: restore missing div tag in AgentAnalysis analysis results
Browse files
frontend/components/AgentAnalysis.tsx
CHANGED
|
@@ -706,8 +706,8 @@ export default function AgentAnalysis({ tender, companyProfile, analysis, onAnal
|
|
| 706 |
<span className="text-[10px] text-slate-500 font-mono">Analyzing:</span>
|
| 707 |
<span className="text-[10px] text-purple-300 font-bold truncate max-w-[200px]">{corral.find(a => a.id === activeAnimalId)?.file.name || tender?.name}</span>
|
| 708 |
</div>
|
| 709 |
-
|
| 710 |
-
|
| 711 |
</div>
|
| 712 |
<div className="flex flex-wrap gap-2 w-full sm:w-auto justify-end">
|
| 713 |
<a
|
|
|
|
| 706 |
<span className="text-[10px] text-slate-500 font-mono">Analyzing:</span>
|
| 707 |
<span className="text-[10px] text-purple-300 font-bold truncate max-w-[200px]">{corral.find(a => a.id === activeAnimalId)?.file.name || tender?.name}</span>
|
| 708 |
</div>
|
| 709 |
+
<div className={`w-full sm:w-auto text-center rounded-2xl px-6 py-3 text-[10px] font-black uppercase tracking-widest shadow-lg ${activeAnalysis.decision === 'Recommended' ? 'bg-green-500/20 text-green-400 border border-green-500/30 shadow-green-500/10' : 'bg-amber-500/20 text-amber-400 border border-amber-500/30 shadow-amber-500/10'}`}>
|
| 710 |
+
{activeAnalysis.decision}
|
| 711 |
</div>
|
| 712 |
<div className="flex flex-wrap gap-2 w-full sm:w-auto justify-end">
|
| 713 |
<a
|