import { cn } from '@/lib/cn'; export type NodeStatus = 'checking' | 'online' | 'offline'; const statusStyles = { checking: { label: 'Checking', dot: 'animate-pulse bg-muted-foreground', badge: 'border-border bg-muted text-muted-foreground', }, online: { label: 'Online', dot: 'bg-success', badge: 'border-success/25 bg-success/10 text-success', }, offline: { label: 'Offline', dot: 'bg-destructive', badge: 'border-destructive/25 bg-destructive/10 text-destructive', }, } satisfies Record; export const NodeStatusBadge = ({ status, title }: { status: NodeStatus; title: string }) => { const style = statusStyles[status]; return ( ); };