Skip to content

fix: navbar auth state + user dropdown - #117

Open
TheTahsinShahriar wants to merge 1 commit into
mainfrom
feat/navbar-auth-fix
Open

fix: navbar auth state + user dropdown#117
TheTahsinShahriar wants to merge 1 commit into
mainfrom
feat/navbar-auth-fix

Conversation

@TheTahsinShahriar

@TheTahsinShahriar TheTahsinShahriar commented Aug 13, 2026

Copy link
Copy Markdown
Member

showing "Login" when you're already logged in is embarrassing.

  • Login button → user avatar + name dropdown when logged in
  • Dropdown: Staff Panel (public) / Home (admin) with matching icons
  • Profile picture with initials fallback
  • No more ugly confirm() dialog on logout
  • Added image_url to User type

Small fix.

- Login button now shows user avatar + name dropdown when logged in
- Dropdown shows Staff Panel (public pages) or Home (admin pages) with correct icons
- Profile picture falls back to initials when not available
- Removed confirm() dialog from logout
- Added image_url to User type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant