From 6f0e86007eb53392b43cb8ece72e8f6a35d946d8 Mon Sep 17 00:00:00 2001 From: suryac Date: Mon, 3 Aug 2026 16:01:49 +0530 Subject: [PATCH] side bar tweak --- src/components/cards/DailyLogCard.tsx | 4 ++-- src/screens/ConsoleLayout.tsx | 18 +++++++++++------- src/screens/LoginPage.tsx | 4 ++-- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/components/cards/DailyLogCard.tsx b/src/components/cards/DailyLogCard.tsx index b123b2c..7171281 100644 --- a/src/components/cards/DailyLogCard.tsx +++ b/src/components/cards/DailyLogCard.tsx @@ -111,8 +111,8 @@ export function DailyLogCard({ row, onPunchOut, isDetailView = false }: { row: R ) : ( <> - - {userName} + + {userName} )} diff --git a/src/screens/ConsoleLayout.tsx b/src/screens/ConsoleLayout.tsx index 490973b..6daa913 100644 --- a/src/screens/ConsoleLayout.tsx +++ b/src/screens/ConsoleLayout.tsx @@ -178,13 +178,17 @@ export function ConsoleLayout() {
{user && ( -
- - {user.name || 'User'} - {user.email || 'user@email.com'} - {userRoles && userRoles.length > 0 && ( - {userRoles.join(', ')} - )} +
+
+ {(user.name || 'U').charAt(0).toUpperCase()} +
+
+ {user.name || 'User'} + {user.email || 'user@email.com'} + {userRoles && userRoles.length > 0 && ( + {userRoles.join(', ')} + )} +
)}