From b97a14a6829ced0767695c5c7655916a6b386bfc Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 18 Jun 2026 16:02:42 +0000 Subject: [PATCH] Move sidebar collapse toggle to floating edge button Previously sat as an inline button below the nav items, disconnected from the rest of the layout. Now it's a small circle straddling the sidebar/content boundary, vertically centered on the viewport - the common pattern for collapsible side panels. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01BbJV5nm8KPVH1oNJYKpnoF --- src/components/Sidebar.tsx | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index d7d6a8a..c8fd688 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -31,6 +31,26 @@ export default function Sidebar({ collapsed, onToggle }: SidebarProps) { className="fixed left-0 top-0 z-50 h-screen overflow-hidden flex flex-col py-6" style={{ width: `${width}px`, backgroundColor: '#0A0B0D' }} > + {/* Collapse Toggle — floating on the sidebar/content edge, vertically centered */} + + {/* Logo — prominent, centered at top. Blend mode hides the baked-in dark background of the source PNG so only the gold arc shows. */}
@@ -84,15 +104,6 @@ export default function Sidebar({ collapsed, onToggle }: SidebarProps) { })} - {/* Collapse Toggle */} - - {/* System Status — rounded block, fits inside nav with breathing room */}