fosrl.pangolin/src/app/navigation.tsx

71 lines
1.7 KiB
TypeScript
Raw Normal View History

2025-04-13 14:21:18 -04:00
import { SidebarNavItem } from "@app/components/SidebarNav";
import {
Home,
Settings,
Users,
Link as LinkIcon,
Waypoints,
Combine
} from "lucide-react";
2025-04-12 21:35:17 -04:00
2025-04-13 14:21:18 -04:00
export const rootNavItems: SidebarNavItem[] = [
2025-04-12 21:35:17 -04:00
{
title: "Home",
2025-04-16 20:49:06 -04:00
href: "/",
icon: <Home className="h-4 w-4" />
2025-04-12 21:35:17 -04:00
}
];
2025-04-13 14:21:18 -04:00
export const orgNavItems: SidebarNavItem[] = [
2025-04-12 21:35:17 -04:00
{
title: "Sites",
2025-04-16 20:49:06 -04:00
href: "/{orgId}/settings/sites",
icon: <Combine className="h-4 w-4" />
2025-04-12 21:35:17 -04:00
},
{
title: "Resources",
2025-04-16 20:49:06 -04:00
href: "/{orgId}/settings/resources",
icon: <Waypoints className="h-4 w-4" />
2025-04-12 21:35:17 -04:00
},
{
title: "Access Control",
href: "/{orgId}/settings/access",
2025-04-16 20:49:06 -04:00
icon: <Users className="h-4 w-4" />,
2025-04-13 14:21:18 -04:00
autoExpand: true,
2025-04-12 21:35:17 -04:00
children: [
{
title: "Users",
2025-04-13 17:57:27 -04:00
href: "/{orgId}/settings/access/users",
children: [
{
title: "Invitations",
href: "/{orgId}/settings/access/invitations"
}
]
2025-04-12 21:35:17 -04:00
},
{
title: "Roles",
href: "/{orgId}/settings/access/roles"
}
]
},
{
title: "Shareable Links",
2025-04-16 20:49:06 -04:00
href: "/{orgId}/settings/share-links",
icon: <LinkIcon className="h-4 w-4" />
2025-04-12 21:35:17 -04:00
},
{
title: "Settings",
2025-04-16 20:49:06 -04:00
href: "/{orgId}/settings/general",
icon: <Settings className="h-4 w-4" />
2025-04-12 21:35:17 -04:00
}
2025-04-13 14:21:18 -04:00
];
export const adminNavItems: SidebarNavItem[] = [
{
title: "All Users",
2025-04-16 20:49:06 -04:00
href: "/admin/users",
icon: <Users className="h-4 w-4" />
2025-04-13 14:21:18 -04:00
}
];