diff --git a/src/components/layout/Header/index.tsx b/src/components/layout/Header/index.tsx index 5430599..0e09d86 100644 --- a/src/components/layout/Header/index.tsx +++ b/src/components/layout/Header/index.tsx @@ -16,6 +16,12 @@ export default function Header(): React.ReactElement { const { data: session, status } = useSession(); const role = session?.user?.role; const canCreate = role === "admin" || role === "manager"; + const headerColor = { admin: "#36385C", manager: "#9A9866" }; + const fontColor = { admin: "#ffffff", manager: "#22305B" }; + const appBarSx = + role && role in headerColor + ? { backgroundColor: headerColor[role as keyof typeof headerColor] } + : { backgroundColor: "#fff" }; return ( - + THRIVE