From 79a0f9bc3d53a26f28e4f2644842f1cafe2bad0c Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Wed, 11 Mar 2026 21:49:29 +0100 Subject: [PATCH] feat(02-02): brand sidebar with wordmark, active indicator, and collapse trigger - Add SidebarTrigger import (NAV-04) - Replace plain h2 with gradient span wordmark using oklch 260-300 purple sweep (NAV-02) - Override SidebarMenuButton active state with sidebar-primary for high contrast (NAV-03) - Add header bar with SidebarTrigger inside SidebarInset (NAV-04) - Add p-4 padding to main content area - NAV-01 satisfied by existing bg-sidebar token on sidebar element --- frontend/src/components/AppLayout.tsx | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/AppLayout.tsx b/frontend/src/components/AppLayout.tsx index 5fede16..edb2416 100644 --- a/frontend/src/components/AppLayout.tsx +++ b/frontend/src/components/AppLayout.tsx @@ -13,6 +13,7 @@ import { SidebarMenuItem, SidebarProvider, SidebarInset, + SidebarTrigger, } from '@/components/ui/sidebar' import { Button } from '@/components/ui/button' import type { AuthContext } from '@/hooks/useAuth' @@ -36,7 +37,18 @@ export function AppLayout({ auth, children }: Props) { -

{t('app.title')}

+ + {t('app.title')} + {auth.user && (

{auth.user.display_name}

)} @@ -47,7 +59,11 @@ export function AppLayout({ auth, children }: Props) { {navItems.map((item) => ( - + {item.label} @@ -67,7 +83,10 @@ export function AppLayout({ auth, children }: Props) {
-
{children}
+
+ +
+
{children}
)