1.9 KiB
1.9 KiB
title, tags
| title | tags | ||||
|---|---|---|---|---|---|
| Navigation |
|
Navigation
Sidebar
The Sidebar component provides the main navigation:
| Link | Page |
|---|---|
| Home | / |
| Search | /search |
| Library | /library |
| Watchlist | /watchlist |
| Collections | /collections |
| Calendar | /calendar |
| People | /people |
| Media | /media |
| Dashboard | /dashboard |
| Settings | /settings |
Breadcrumb Patterns
Detail pages use breadcrumb-style navigation with linked text segments separated by /.
SeasonPage
Title / Season x
- Title → links to
/entry/:entryId - Season x → current page (non-linked, bold,
text-foreground font-medium) - Entry title from
useLibraryStore((s) => s.entries.get(entryId)?.title) - Season number from
season.season_number
EpisodePage
Title / Season x / Episode x
- Title → links to
/entry/:entryId - Season x → links to
/entry/:entryId/season/:seasonId - Episode x → current page (non-linked, bold)
- Entry title from Stores
- Season number from
useSeason()hook →season.season_number
[!warning] Season Number vs Season ID Always use
season.season_numberfor display (0 = Specials, 1 = Season 1, etc.). TheseasonIdURL parameter is the database ID, not the display number. TheS##E##badge on EpisodePage usesseason.season_numberpadded to 2 digits.
Width Constraints
Detail pages use mx-auto max-w-4xl for consistent max width:
EntryDetailsPageSeasonPageEpisodePage
Entry Details Hierarchy
/entry/:id → EntryDetailsPage (entry detail)
↓ Season card click
/entry/:id/season/:seasonId → SeasonPage (episode list)
↓ Episode click
/entry/:id/season/:seasonId/episode/:episodeId → EpisodePage (episode detail)