Add member portal functionality - extracted from feature/member-landing-page

This commit is contained in:
Adrian Astles
2025-07-24 21:04:55 +08:00
parent 5c929badeb
commit bcc2c59f08
6 changed files with 938 additions and 26 deletions

View File

@@ -12,15 +12,31 @@ import {
KeyRound,
TicketCheck,
User,
Globe,
MonitorUp
Globe, // Added from 'dev' branch
MonitorUp // Added from 'dev' branch
} from "lucide-react";
export type SidebarNavSection = {
export type SidebarNavSection = { // Added from 'dev' branch
heading: string;
items: SidebarNavItem[];
};
// Merged from 'user-management-and-resources' branch
export const orgLangingNavItems: SidebarNavItem[] = [
{
title: "sidebarAccount",
href: "/{orgId}",
icon: <User className="h-4 w-4" />,
autoExpand: true,
children: [
{
title: "sidebarResources",
href: "/{orgId}"
}
]
}
];
export const orgNavSections = (
enableClients: boolean = true
): SidebarNavSection[] => [
@@ -125,4 +141,4 @@ export const adminNavSections: SidebarNavSection[] = [
: [])
]
}
];
];