feat: added cast page
Summary by CodeRabbit
-
New Features
- Introduced
CastPage
component to display cast and crew information. - Added
CrewDepartment
component to organize crew members by department. - Implemented
useFetchData
custom hook for data fetching.
- Introduced
-
Enhancements
-
CastCard
component now includes gender-specific loader images. -
CastInfo
component now supportscontentType
andid
props for more detailed links. - Updated
fetchCastData
function to return comprehensive data.
-
-
Styling
- Added new styles for cast and crew components.
- Introduced layout and media query adjustments for the cast page.
-
Routing
- Added a new route for displaying cast information based on content type and ID.
Edited by CodeRabbit