diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 7c16372..6b74130 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -153,6 +153,7 @@ const Layout = () => { { to: "/admin/schedule", icon: Calendar, label: "Team Schedule" }, { to: "/admin/leaderboard", icon: Trophy, label: "Leaderboard" }, { to: "/owner/subcontractor-tasks", icon: HardHat, label: "Subcontractor Tasks" }, + { to: "/owner/people", icon: Users, label: "People" }, { to: "/owner/settings", icon: Settings, label: "Org Settings" }, ...commonItems, ]; @@ -307,16 +308,20 @@ const Layout = () => { {/* Divider */}
- {/* Avatar */} -
- {user?.name?.charAt(0) || 'U'} -
- - {/* Info */} -
-
{user?.name}
-
{user?.role?.replace('_', ' ')}
-
+ {/* Avatar + info — click to open your User Details / profile */} + {/* Logout Button */} {(!isCollapsed || isMobileMenuOpen) && (