feat(ui): add workspace customization and simplify navigation
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
import { AppShell, type AppShellBranding } from "@/components/layout/app-shell";
|
||||
import { portalSidebarData } from "@/config/portal-sidebar";
|
||||
import type { ColorMode } from "@/lib/color-mode";
|
||||
|
||||
type PortalShellProps = {
|
||||
branding: AppShellBranding;
|
||||
children: React.ReactNode;
|
||||
colorMode: ColorMode;
|
||||
user: {
|
||||
email: string;
|
||||
displayName: string;
|
||||
@@ -15,10 +17,11 @@ type PortalShellProps = {
|
||||
progress?: number;
|
||||
};
|
||||
|
||||
export function PortalShell({ branding, children, user, progress }: PortalShellProps) {
|
||||
export function PortalShell({ branding, children, colorMode, user, progress }: PortalShellProps) {
|
||||
return (
|
||||
<AppShell
|
||||
branding={branding}
|
||||
colorMode={colorMode}
|
||||
homeHref="/portal"
|
||||
navGroups={portalSidebarData}
|
||||
settingsHref="/portal/settings"
|
||||
|
||||
Reference in New Issue
Block a user