Description
Create a component that can display an applicant on the dashboard list. When clicked it should take you to the page for that project.
Technical Details
- file should be
components/DashboardListItem/index.tsx
- use the
name prop on the Project component as the "id" for the page
- Use the
Link component from Nextjs to go the the projects/[project_id] page. The id in this case would be the name component
The list item should take the following props:
project: DashboardListProject - The project we want to display
The component should display the following information:
- The project name
- A description of the project
Testing Steps
Simply put the component on a page, pass it some different props and ensure everything works as expected.
If you click on it and go to the correct page.
Dependencies
Description
Create a component that can display an applicant on the dashboard list. When clicked it should take you to the page for that project.
Technical Details
components/DashboardListItem/index.tsxnameprop on theProjectcomponent as the "id" for the pageLinkcomponent from Nextjs to go the theprojects/[project_id]page. The id in this case would be the name componentThe list item should take the following props:
project: DashboardListProject- The project we want to displayThe component should display the following information:
Testing Steps
Simply put the component on a page, pass it some different props and ensure everything works as expected.
If you click on it and go to the correct page.
Dependencies