diff --git a/ui/src/components/Layout.tsx b/ui/src/components/Layout.tsx index dde1b0e..ebb9026 100644 --- a/ui/src/components/Layout.tsx +++ b/ui/src/components/Layout.tsx @@ -55,6 +55,14 @@ export function Layout() { return { label }; }); + const userMenuItems = [ + { + label: 'Account Settings', + icon: , + onClick: () => navigate('/settings/account'), + }, + ]; + const sidebar = ( {}}> diff --git a/ui/src/router.tsx b/ui/src/router.tsx index b585ffc..4cf3191 100644 --- a/ui/src/router.tsx +++ b/ui/src/router.tsx @@ -27,6 +27,7 @@ import { TeamPage } from './pages/tenant/TeamPage'; import { SettingsPage } from './pages/tenant/SettingsPage'; import { TenantAuditPage } from './pages/tenant/TenantAuditPage'; import { OnboardingPage } from './pages/OnboardingPage'; +import { AccountSettingsPage } from './pages/AccountSettingsPage'; function LandingRedirect() { const scopes = useScopes(); @@ -135,6 +136,9 @@ export function AppRouter() { } /> } /> + {/* Account settings — accessible to any authenticated user */} + } /> + {/* Default redirect — vendor goes to /vendor/tenants, customer to /tenant */} } />