From c2d8f2ea1ab1389fd28281e7605cbe890a338f24 Mon Sep 17 00:00:00 2001 From: WenjingWang Date: Tue, 17 Mar 2026 09:34:56 +0100 Subject: [PATCH 1/2] feat: hide sidebar on login page --- web/src/components/layout/LayoutShell.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/components/layout/LayoutShell.tsx b/web/src/components/layout/LayoutShell.tsx index baafa158..285b22cb 100644 --- a/web/src/components/layout/LayoutShell.tsx +++ b/web/src/components/layout/LayoutShell.tsx @@ -9,10 +9,12 @@ export function LayoutShell({ children }: { children: React.ReactNode }) { const [collapsed, setCollapsed] = useState(true) const pathname = usePathname() const isAgentBoardFocusPage = pathname.startsWith("/studio/agent-board/") + const isAuthPage = pathname === "/login" + const hideSidebar = isAgentBoardFocusPage || isAuthPage return (
- {!isAgentBoardFocusPage && ( + {!hideSidebar && (