fosrl.pangolin/src/app/navigation.tsx

65 lines
1.5 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-13 14:21:18 -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-13 14:21:18 -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-13 14:21:18 -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-13 14:21:18 -04:00
// icon: <Users className="h-4 w-4" />,
autoExpand: true,
2025-04-12 21:35:17 -04:00
children: [
{
title: "Users",
href: "/{orgId}/settings/access/users"
},
{
title: "Roles",
href: "/{orgId}/settings/access/roles"
}
]
},
{
title: "Shareable Links",
2025-04-13 14:21:18 -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-13 14:21:18 -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",
href: "/admin/users"
// icon: <Users className="h-4 w-4" />
}
];