diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 5df777e8..279049b1 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -60,93 +60,96 @@ export default function Layout({ children }: LayoutProps) { {/* Navigation */} {/* Auth Section */}
{!loading && ( <> - {user && profile ? ( - // Logged in user menu + {user ? ( + // Logged in - always show Dashboard button; show avatar menu if profile exists
+ - - - - - -
-
-

- {profile.full_name || profile.username} -

-

- {profile.email} -

+ {profile && ( + + + + + +
+
+

+ {profile.full_name || profile.username} +

+

+ {profile.email} +

+
-
- - - - - Dashboard - - - - - - Profile Settings - - - - signOut()} - > - - Sign out - - - + + + + + Dashboard + + + + + + Profile Settings + + + + signOut()} + > + + Sign out + + + + )}
) : ( // Not logged in - show sign in/join buttons