From 00b51f3b48053b9ab82ac4c762e3783b20ab0214 Mon Sep 17 00:00:00 2001 From: Atul Gunjal Date: Thu, 24 Apr 2025 16:42:36 +0530 Subject: [PATCH] improved sidebar icons in dark mode --- src/app/components/Sidebar.jsx | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/src/app/components/Sidebar.jsx b/src/app/components/Sidebar.jsx index c88f8db..74f9662 100644 --- a/src/app/components/Sidebar.jsx +++ b/src/app/components/Sidebar.jsx @@ -71,25 +71,7 @@ const Sidebar = ({ sidebarOpen, setSidebarOpen, isCollapsed }) => { >
{/* Logo Section */} -
- {isCollapsed ? ( - - ) : ( - - )} -
+ {/* MENU section - Only show when not collapsed */} {!isCollapsed && ( @@ -115,11 +97,11 @@ const Sidebar = ({ sidebarOpen, setSidebarOpen, isCollapsed }) => { onClick={closeSidebarOnMobile} > Dashboard { - e.target.src = darkMode ? "/images/icons/grid.svg" : "/images/icons/grid-white.svg"; + e.target.src = darkMode ? "/images/icons/grid.svg" : "/images/icons/grid.svg"; e.target.className = 'w-5'; // Remove filter if fallback }} />