diff --git a/packages/web/src/components/Layout.tsx b/packages/web/src/components/Layout.tsx index 03dc498e..63f193a0 100644 --- a/packages/web/src/components/Layout.tsx +++ b/packages/web/src/components/Layout.tsx @@ -19,6 +19,9 @@ export function Layout({ children }: LayoutProps) { const [showFloatingConsole, setShowFloatingConsole] = React.useState(false); const desktopSidebarCollapsed = true; // Zen mode permanently on const { currentTeam, currentUser } = useAuth(); + // On the workspace, the mobile top bar carries the project selector (row 1 of a + // 2-row mobile header: project selection, then the view bar in the page below). + const isWorkspaceRoute = location.pathname === '/' || location.pathname === '/workspace'; const navigation = [ { name: 'Workspace', href: '/', icon: Globe, description: 'Main work' }, @@ -44,21 +47,26 @@ export function Layout({ children }: LayoutProps) { {/* Static gradient background - optimized for all browsers */}
- {/* Mobile menu button */} + {/* Mobile top bar: hamburger + (on the workspace) the project selector, so the + mobile header is just two rows — project selection here, view bar below. */}