Navigation
The main site navigation header.Usage
Features
- Floating Header: Becomes opaque on scroll
- Responsive Layout: Collapses to icons on mobile
- User Profile: Shows profile image when logged in
- Current Season Link: Dynamic link to current anime season
- Modal Closure: Closes on navigation
Navigation Links
From/src/components/navigation/Navigation.tsx:55:
Floating State
From/src/components/navigation/Navigation.tsx:29:
Source
Defined in/src/components/navigation/Navigation.tsx:21
SearchNavigation
Navigation for search entity selection (available in/src/components/navigation/SearchNavigation.tsx).
Features
- Entity type switching (Anime, Artists, Themes, etc.)
- Active entity highlighting
- Responsive tabs
SeasonNavigation
Navigation for browsing anime by season (available in/src/components/navigation/SeasonNavigation.tsx).
Features
- Season selector (Winter, Spring, Summer, Fall)
- Year navigation
- Current season indicator
YearNavigation
Navigation for browsing anime by year (available in/src/components/navigation/YearNavigation.tsx).
Features
- Year list with pagination
- Quick jump to current year
- Decade grouping
Navigation Structure
The navigation system uses Next.js Link components for client-side routing:Responsive Behavior
Navigation items collapse to icon-only on mobile:Styling
Navigation uses custom styled components (from/src/components/navigation/Navigation.style):
Authentication State
Navigation shows different content based on authentication:Integration with Dialogs
Navigation can trigger dialogs:Current Season Detection
From/src/components/navigation/Navigation.tsx:24:
Accessibility
- Semantic
<nav>element - Keyboard navigation support
- Focus visible states
- ARIA labels on icon buttons
- Skip links for screen readers