diff --git a/console/src/components/layout/sidebar.tsx b/console/src/components/layout/sidebar.tsx index 8881d04..ea1123c 100644 --- a/console/src/components/layout/sidebar.tsx +++ b/console/src/components/layout/sidebar.tsx @@ -10,11 +10,11 @@ import { MessagesSquare, Network, PanelLeftClose, - PanelLeftOpen, Settings, } from "lucide-react" import { cn } from "@/lib/utils" import { useSidebarStore } from "@/stores/sidebar" +import { Logo } from "@/components/ui/logo" /** Toolbar-level param keys that should be preserved across page navigation */ const TOOLBAR_KEYS = ["preset", "start", "end", "wire_api", "model", "server_ip", "refresh"] @@ -54,13 +54,36 @@ export function Sidebar() { expanded ? "w-[200px]" : "w-[44px]", )} > -
- +
+ {expanded ? ( + <> + + + + ) : ( + // Collapsed: the icon doubles as the expand affordance — saves a + // row and is the most discoverable place to put the toggle when + // there's no room for a second button. + + )}