DCA-6: Develop Frontend Components to Display Content Spaces
Description
Develop frontend components to display Content Spaces on the route /organizer/{organizer-slug}/content-space/{content-space-slug}. This includes fetching Content Space data, implementing conditional rendering, and ensuring access control. The content is to be displayed in a carousel format, with appropriate indications for exclusive EventPass access.
Tasks
Route and Data Fetching:
Implement the route for individual Content Spaces.
Fetch Content Space data from Hygraph if it is in a PUBLISHED state.
Conditional Rendering:
Render the Content Space if PUBLISHED; otherwise, display a 404 Not Found page.
Content Display in Carousel Format:
Develop a carousel component to display images and videos.
Access Control Indication:
Show a message or visual indication for exclusive EventPass access.
Display a locked section for users without appropriate access.
Acceptance Criteria
Correct Route Implementation: The Content Space is accessible via the specified route, adhering to the format /organizer/{organizer-slug}/content-space/{content-space-slug}.
Data Fetching and Conditional Rendering: The Content Space data is accurately fetched from Hygraph. The Content Space is displayed only if it is in a PUBLISHED state; otherwise, a 404 Not Found page is shown.
Carousel Component: The carousel for displaying content is user-friendly, responsive, and correctly renders both pictures and videos.
Access Control and UI Indications: There are clear UI elements indicating whether the content is accessible or locked, based on the user's EventPass ownership.
Responsive and Accessible Design: The entire interface, including the carousel and access control indications, is responsive and provides a seamless user experience across different devices.
Notes
Focus on user experience and intuitive design.
Ensure compatibility with various screen sizes and devices.
Prioritize clear communication of access restrictions and content availability.
DCA-6: Develop Frontend Components to Display Content Spaces
Description
Develop frontend components to display Content Spaces on the route
/organizer/{organizer-slug}/content-space/{content-space-slug}
. This includes fetching Content Space data, implementing conditional rendering, and ensuring access control. The content is to be displayed in a carousel format, with appropriate indications for exclusive EventPass access.Tasks
Acceptance Criteria
/organizer/{organizer-slug}/content-space/{content-space-slug}
.Notes