diff --git a/web/src/components/layout/LayoutShell.tsx b/web/src/components/layout/LayoutShell.tsx index baafa158..37bc4b9e 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 = ["/login", "/register", "/forgot-password"].includes(pathname) + const hideSidebar = isAgentBoardFocusPage || isAuthPage return (
- {!isAgentBoardFocusPage && ( + {!hideSidebar && (