Objective
When a user is signed in, the navbar should display their profile avatar with a dropdown menu. When not signed in, the navbar should show a Login option.
Tasks
Acceptance Criteria
- ✅ Navbar correctly detects authentication state using NextAuth session
- ✅ Logged-out users see a Login link
- ✅ Logged-in users see their profile picture instead of Login
- ✅ Clicking the profile picture opens a menu with:
- ✅ Sign out successfully clears the session and updates the navbar
- ✅ Mobile and desktop nav both behave correctly
Objective
When a user is signed in, the navbar should display their profile avatar with a dropdown menu. When not signed in, the navbar should show a Login option.
Tasks
Acceptance Criteria