Closed jensren closed 2 years ago
What: currently, Volunteers and Beneficiaries on the navbar are not linked to any page. Add two pages and link them in the navbar.
Why: getting started with React. :) We will also be adding to those to pages later, so it is convenient if they are already set up
How:
VolunteersComponent
Volunteers
volunteers
components
BeneficiariesComponent
Beneficiaries
beneficiaries
Route
"/volunteers"
App.tsx
"/beneficiaries"
What: currently, Volunteers and Beneficiaries on the navbar are not linked to any page. Add two pages and link them in the navbar.
Why: getting started with React. :) We will also be adding to those to pages later, so it is convenient if they are already set up
How:
VolunteersComponent
with a titleVolunteers
in thevolunteers
folder undercomponents
. Otherwise, the page can be emptyBeneficiariesComponent
with a titleBeneficiaries
in thebeneficiaries
folder undercomponents
. Otherwise, the page can be emptyRoute
with the exact path"/volunteers"
and theVolunteersComponent
as the component toApp.tsx
Route
with the exact path"/beneficiaries"
and theBeneficiariesComponent
as the component toApp.tsx