forked from boolean-uk/team-dev-client-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Create a page that renders information on other student's in the user's cohort, all teachers, and information on exercises etc the user has completed.
Component:
- new page in src/pages/cohortViewStudent
- Figma link: https://www.figma.com/design/j9QIHvgM0wOVw3xDe9KdWB/My-Copy%3A-Cohort-Manager-app---Designs?node-id=238-11487&node-type=frame
- route path can be /cohort:id
- component can also be called cohortViewStudent
The Cohort button in the left navbar should link to this page if user is a student, and to a different page (todo) if user is a teacher.
Functionality:
- when page initialises, can use data saved in state from currently logged in user.
- make API request to retrieve details of user's cohort, save these to state as well. (Endpoint not yet made)
- information on completed work will be available in user info in state (to be added to database and endpoint for single user data)
- The name and image for each student displayed should link to that student's profile page.
Reactions are currently unavailable