--- title: Pages tags: - frontend - pages - react --- # Pages All pages in `react_frontend/src/pages/`. Lazy-loaded via `React.lazy()`. See [[Routing]] for URL mapping. --- ## HomePage Browse trending and popular movies/TV shows from TMDB. Uses infinite scrolling via `useTmdb` hooks. ## SearchPage TMDB multi-search with debounced input. Results checked against [[Stores|library store]] — local entries displayed if already in library. ## DashboardPage Statistics dashboard with 7 chart components. See [[Statistics]]. Charts: `WatchActivityChart`, `WatchTimeChart`, `CouchDayChart`, `LibraryGrowthChart`, `MediaTypeChart`, `TopGenresChart`, `RatingsChart` ## LibraryPage Entry grid showing all non-watchlist, non-hidden entries from [[Stores|library store]]. See [[Library]]. ## DiscoverPage TMDB browse by category: popular, trending, top-rated, upcoming. Uses `useTmdb` infinite queries. Route: `/discover/:category` where category = `popular-movies`, `trending-movies`, `popular-tv`, etc. ## DiscoveryVideosPage Personal video vault — upload, link, and watch saved videos. See [[Discovery Videos]]. Route: `/discovery-videos`. - Infinite-scroll grid of video cards (24/page) - "Add media" button → `AddVideoDialog` (drag & drop upload) - Cards render `