From b43bb64fffa1c84a8f93dfd33c66e0b255de9832 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Fri, 22 May 2026 18:07:28 -0400 Subject: [PATCH] Consolidate hardcoded colors in Topbar and Sidebar to match refined palette --- web/src/components/Sidebar.tsx | 35 ++++++++++++++++++++++++++++++---- web/src/components/Topbar.tsx | 8 ++++---- 2 files changed, 35 insertions(+), 8 deletions(-) diff --git a/web/src/components/Sidebar.tsx b/web/src/components/Sidebar.tsx index e0a45e5..639b6f9 100644 --- a/web/src/components/Sidebar.tsx +++ b/web/src/components/Sidebar.tsx @@ -73,6 +73,33 @@ export default function Sidebar() { > + + Proposals + + + {navItems.map((item) => ( + navigate(item.path)} + sx={{ py: 1 }} + > + {item.icon} + + + ))} + + {isAdmin && ( <> {user && ( - - {user.displayName} - {user.role} + + {user.displayName} + {user.role} )} diff --git a/web/src/components/Topbar.tsx b/web/src/components/Topbar.tsx index d0c4e47..b9b6bd6 100644 --- a/web/src/components/Topbar.tsx +++ b/web/src/components/Topbar.tsx @@ -31,24 +31,24 @@ export default function Topbar() { {user && ( - + {initials} {user.displayName} - + {user.role} - +