From 5412a70f83ea6746ddc55d7a0efa3af5a060f4f2 Mon Sep 17 00:00:00 2001 From: houseassassin Date: Sun, 10 May 2026 16:57:13 +0300 Subject: [PATCH] feat: apply light theme redesign to admin panel Replace dark sidebar and glass-panel aesthetic with clean light dashboard style: white sidebar (#FFFFFF) with indigo (#4361EE) accent, #F5F7FA page background, flat white cards, and scoped .admin-panel CSS overrides so the public landing page is not affected. Co-Authored-By: Claude Sonnet 4.6 --- src/admin/layout/AdminLayout.jsx | 4 +- src/admin/layout/Sidebar.jsx | 36 +++---- src/admin/orders/KanbanColumn.jsx | 4 +- src/admin/orders/OrderCard.jsx | 2 +- src/index.css | 166 ++++++++++++++++++++++++++++++ 5 files changed, 187 insertions(+), 25 deletions(-) create mode 100644 src/index.css diff --git a/src/admin/layout/AdminLayout.jsx b/src/admin/layout/AdminLayout.jsx index feb385d..1cbe569 100644 --- a/src/admin/layout/AdminLayout.jsx +++ b/src/admin/layout/AdminLayout.jsx @@ -34,13 +34,13 @@ const AdminLayout = () => { }, []); return ( -
+
{/* Header */}
{ const navigate = useNavigate(); const handleLogout = async () => { - try { - await logout(); - } catch (err) { - console.error('Logout failed:', err); - } + try { await logout(); } catch (err) { console.error('Logout failed:', err); } navigate('/admin/login'); }; return (