diff --git a/src/components/app-shell.tsx b/src/components/app-shell.tsx index fc9f5ad..f50ca10 100644 --- a/src/components/app-shell.tsx +++ b/src/components/app-shell.tsx @@ -42,9 +42,7 @@ interface NavItem { const NAV: NavItem[] = (() => { const dashboard: NavItem = { to: "/", label: "Dashboard", icon: LayoutDashboard }; - const rest: NavItem[] = [ - { to: "/admin/users", label: "Users", icon: ShieldCheck, adminOnly: true }, - { to: "/archive", label: "Archive", icon: ArchiveIcon }, + const main: NavItem[] = [ { to: "/calendar", label: "Calendar", icon: CalendarIcon }, { to: "/cases", label: "Cases", icon: Briefcase }, { to: "/clients", label: "Clients", icon: Users }, @@ -57,11 +55,15 @@ const NAV: NavItem[] = (() => { { to: "/messages", label: "Messages", icon: MessageSquare }, { to: "/payments", label: "Payments", icon: CreditCard }, { to: "/documents", label: "Pleadings", icon: FolderOpen }, - { to: "/settings", label: "Settings", icon: SettingsIcon }, { to: "/status", label: "Status Updates", icon: Activity }, { to: "/tasks", label: "Tasks", icon: CheckSquare }, ].sort((a, b) => a.label.localeCompare(b.label)); - return [dashboard, ...rest]; + const bottom: NavItem[] = [ + { to: "/archive", label: "Archive", icon: ArchiveIcon }, + { to: "/settings", label: "Settings", icon: SettingsIcon }, + { to: "/admin/users", label: "Users", icon: ShieldCheck, adminOnly: true }, + ]; + return [dashboard, ...main, ...bottom]; })(); void FileText;