feat(manage): add dashboard as manage landing page

- Add Dashboard as first sidebar nav item under Overview section
- Update /manage page to render DashboardOverview instead of redirecting
- Remove redirect to /manage/users
This commit is contained in:
2026-04-30 20:49:32 +08:00
parent ce3c88ec54
commit 5fba98cd3d
2 changed files with 15 additions and 2 deletions
+3
View File
@@ -18,6 +18,9 @@ type NavItem =
| { type: "link"; href: string; label: string; icon: React.ElementType }
const navItems: NavItem[] = [
{ type: "section", label: "Overview" },
{ type: "link", href: "/manage", label: "Dashboard", icon: LayoutDashboardIcon },
{ type: "divider" },
{ type: "section", label: "Management" },
{ type: "link", href: "/manage/users", label: "Users", icon: UsersIcon },
{ type: "link", href: "/manage/hardware", label: "Hardware", icon: CpuIcon },