Skip to content

fix: navbar auth state + user dropdown - #117

Merged
trtajim merged 1 commit into
mainfrom
feat/navbar-auth-fix
Aug 15, 2026
Merged

fix: navbar auth state + user dropdown#117
trtajim merged 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

@trtajim trtajim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok.

@trtajim
trtajim merged commit e54d969 into main Aug 15, 2026
5 checks passed
@trtajim
trtajim deleted the feat/navbar-auth-fix branch August 15, 2026 12:51
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.

2 participants