feat(ui): add workspace customization and simplify navigation

This commit is contained in:
poyrazavsever
2026-07-17 12:47:54 +03:00
parent b04031a3e3
commit dafd9eb344
24 changed files with 855 additions and 224 deletions
+4 -1
View File
@@ -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"