Mosnad-Web01 / movie-project-A-Sanadi-A-Nabil-Feras

0 stars 1 forks source link

Trending Movies Section #9

Closed ahmedalsanadi closed 5 days ago

ahmedalsanadi commented 6 days ago

Issue Description:

Assigned to: @ahmedalsanadi Objective: Implement a new section in the application to display trending movies, allowing users to toggle between different time frames for trending data.

Requirements:

  1. Fetch Trending Movies:

    • Use a custom hook to retrieve trending movies based on the selected time frame (e.g., daily or weekly).
  2. Toggle Functionality:

    • Implement a toggle switch that allows users to select between different trending options (e.g., "Today" and "This Week").
    • The selection should update the displayed trending movies accordingly.
  3. Display Movies:

    • Present the movies in a visually appealing way using a horizontal slider.
    • Each movie should include relevant details such as title, poster, vote average, and release date.
  4. Responsive Design:

    • Ensure the section is responsive and user-friendly across different devices and screen sizes.
  5. Error Handling:

    • Implement error handling to manage any issues that arise during data fetching.
    • Include loading indicators to enhance user experience.

Branch Name:

feature/trending-movies