From cef0b611ba8d420b584fb4fa076ca8f302253c10 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Fri, 22 May 2026 18:50:39 -0400 Subject: [PATCH] topbar: update avatar color, add DEV environment indicator pill --- web/src/components/Topbar.tsx | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/web/src/components/Topbar.tsx b/web/src/components/Topbar.tsx index b9b6bd6..28062c7 100644 --- a/web/src/components/Topbar.tsx +++ b/web/src/components/Topbar.tsx @@ -13,6 +13,8 @@ export default function Topbar() { ? user.displayName.split(' ').map(n => n[0]).join('').toUpperCase().slice(0, 2) : ''; + const isDevMode = !import.meta.env.VITE_COGNITO_DOMAIN; + return ( theme.zIndex.drawer + 1, height: 64 }}> @@ -27,11 +29,33 @@ export default function Topbar() { Proposal System + {isDevMode && ( + + DEV + + )} {user && ( - + {initials}