feat: added details-page
Summary by CodeRabbit
-
New Features
- Introduced new components:
CastInfo
,CurrentSeason
,Img
,PlayTrailer
,PrimaryInfo
,RecommendationCard
,Spinner
,StatsPanel
,UserReview
, andDetailsPage
. - Added custom hooks for recommendation observation.
- Enhanced routing with
RouterProvider
and new loaders for data fetching.
- Introduced new components:
-
Enhancements
- Refactored
MovieCard
toCard
andMovieCardList
toCardList
. - Improved error handling with a custom
ErrorBoundary
. - Updated styles for various components including
PrimaryInfo
,Recommendation
, andSpinner
.
- Refactored
-
Bug Fixes
- Adjusted error page layout for better responsiveness.
-
Chores
- Removed
react-error-boundary
dependency. - Updated style constants and helper functions for better maintainability.
- Removed
Edited by CodeRabbit