added data table, formatter

revert context on __root beforeLoad
refactor project structure
refactor role badge
dynamic nav menu
This commit is contained in:
2026-01-14 09:35:46 +07:00
parent a44fa70500
commit edb4ebe11c
45 changed files with 1519 additions and 149 deletions

View File

@@ -18,6 +18,7 @@ const badgeVariants = cva(
'border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground bg-input/20 dark:bg-input/30',
ghost:
'hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50',
table: 'border-border border-teal-600 text-teal-600',
link: 'text-primary underline-offset-4 hover:underline',
admin: 'bg-cyan-100 text-cyan-600 [a]:hover:bg-cyan-200 ',
user: 'bg-green-100 text-green-600 [a]:hover:bg-green-200',