Se agrega vista principaldel detalle del plan

This commit is contained in:
Robert
2025-12-24 15:12:27 -06:00
parent b303398cd4
commit c9ab32598a
10 changed files with 225 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
export function StatusBadge({ status }: { status: string }) {
const styles: any = {
revision: 'bg-blue-100 text-blue-700',
aprobado: 'bg-green-100 text-green-700',
borrador: 'bg-gray-200 text-gray-600',
}
return (
<span
className={`text-xs px-3 py-1 rounded-full font-medium ${styles[status]}`}
>
{status === 'revision'
? 'En Revisión'
: status === 'aprobado'
? 'Aprobado'
: 'Borrador'}
</span>
)
}