From b62c8a20ec7d2af60d80f2ed88262225750b003f Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 5 Jun 2026 15:38:33 +0800 Subject: [PATCH] Refactor Sidebar component for enhanced layout and navigation Updated the Sidebar component to improve the layout and interaction of navigation items. Adjusted styles for better responsiveness, including a new structure for the assistant section and refined transition effects. Ensured consistent spacing and visual appeal in both collapsed and expanded states. --- src/components/layout/Sidebar.tsx | 94 ++++++++++++++++--------------- 1 file changed, 48 insertions(+), 46 deletions(-) diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 90c97ad..b58d24f 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -58,7 +58,7 @@ export function Sidebar({ collapsed ? "w-[76px]" : "w-[252px]", ].join(" ")} > -
+
-