Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-04-17 19:00:24 +00:00
parent 33694bf8f4
commit 6ddf0ccb76

View file

@ -24,11 +24,11 @@ export const Route = createFileRoute("/painel/agente")({
component: AgentePage, component: AgentePage,
}); });
const STATUS_MAP: Record<string, { label: string; color: string; pulse?: boolean }> = { const STATUS_MAP: Record<string, { label: string; variant: "warning" | "success" | "destructive"; pulse?: boolean }> = {
provisioning: { label: "Provisionando", color: "bg-amber-500/15 text-amber-600 dark:text-amber-400 border-amber-500/30", pulse: true }, provisioning: { label: "Provisionando", variant: "warning", pulse: true },
active: { label: "Online", color: "bg-emerald-500/15 text-emerald-600 dark:text-emerald-400 border-emerald-500/30" }, active: { label: "Online", variant: "success" },
suspended: { label: "Suspenso", color: "bg-destructive/15 text-destructive border-destructive/30" }, suspended: { label: "Suspenso", variant: "destructive" },
error: { label: "Erro", color: "bg-destructive/15 text-destructive border-destructive/30" }, error: { label: "Erro", variant: "destructive" },
}; };
function AgentePage() { function AgentePage() {