755 B
755 B
Navigation
Overview
Breadcrumb-style navigation for detail pages. Pages use linked text segments separated by /.
Patterns
SeasonPage
Title / Season x
- "Title" links to
/entry/:entryId - "Season x" is the current page (non-linked, bold)
- Entry title fetched from
useLibraryStore
EpisodePage
Title / Season x / Episode x
- "Title" links to
/entry/:entryId - "Season x" links to
/entry/:entryId/season/:seasonId - "Episode x" is the current page (non-linked, bold)
- Uses
useSeason()hook to getseason_number(not the DBseasonId) - Entry title fetched from
useLibraryStore
Width Constraints
Detail pages (EntryDetailsPage, SeasonPage, EpisodePage) use mx-auto max-w-4xl for consistent max width.