diff --git a/apps/web/src/app.css b/apps/web/src/app.css index ce9dd0caf..f43b1bd38 100644 --- a/apps/web/src/app.css +++ b/apps/web/src/app.css @@ -1181,8 +1181,12 @@ select:disabled, justify-content: space-between; padding-right: 0.35rem; } -.shell-sidebar-brand-row .shell-sidebar-brand-mark { - width: auto; +.shell-sidebar-wordmark { + flex: 1; + padding-left: 0.5rem; + font-weight: 800; + font-size: 15px; + letter-spacing: -0.01em; } .shell-sidebar-account-btn { diff --git a/apps/web/src/shell/brand-mark.tsx b/apps/web/src/shell/brand-mark.tsx deleted file mode 100644 index 61024cda1..000000000 --- a/apps/web/src/shell/brand-mark.tsx +++ /dev/null @@ -1,13 +0,0 @@ -// Static, not the animated dither background: its grid needs real screen -// real estate this size doesn't have. - -import { CorbitsMark } from "@corbits/react-ui"; - -/** Small and quiet — the mark is the brand moment now, not an orange rail. */ -export function SidebarBrandMark() { - return ( -
- ); -} diff --git a/apps/web/src/shell/sidebar.tsx b/apps/web/src/shell/sidebar.tsx index 6cb787448..04db4b497 100644 --- a/apps/web/src/shell/sidebar.tsx +++ b/apps/web/src/shell/sidebar.tsx @@ -1,23 +1,11 @@ // No bench switcher: a multi-bench install still resolves via the command // palette's hidden "Switch workbench" action. -import { - Button, - Menu, - MenuContent, - MenuItem, - MenuTrigger, - SidebarPanel, - SidebarPanelBody, -} from "@corbits/react-ui"; -import { Plus } from "@/lib/icons"; -import { useState } from "react"; +import { Button, SidebarPanel, SidebarPanelBody } from "@corbits/react-ui"; +import { MagnifyingGlass, Plus } from "@/lib/icons"; -import { useBench } from "../bench-context"; -import { CreateAgentPanel } from "../pages/create-agent-panel"; -import { AGENTS_PATH_PREFIX } from "../path-ids"; +import { openCommandPalette } from "../command-palette-open-store"; import { NEW_WORKBENCH_PATH } from "../routes"; -import { SidebarBrandMark } from "./brand-mark"; import { SidebarFooter } from "./sidebar-footer"; import { WorkbenchList } from "./workbench-list"; @@ -28,61 +16,35 @@ export function Sidebar({ readonly path: string; readonly onNavigate: (to: string) => void; }) { - const { selectedTenantId } = useBench(); - const [createAgentOpen, setCreateAgentOpen] = useState(false); - return ( -{SIDEBAR_EMPTY_COPY}
- ) : null} +{SIDEBAR_EMPTY_COPY}
+ ) : null} + {workbenches.map((tenant) => ( +