Skip to content

[DMS] Create the barebones nonprofit page #352

@KoolCards

Description

@KoolCards
  • Create a new folder called "nonprofits" in the components folder and create a layout page (NonprofitPageLayout.tsx) and main page (NonprofitPage.tsx)
  • In NonprofitPageLayout create a component that wraps the CoreNavBar component (components/core/navbar) w/ FullPageLayout. This should be very similar to how DonationPageLayout is setup except you won't need the additional styling for the background and background image, and the layout page shouldn't accept any props for now.
  • In NonprofitPage create a component that just consists of the NonprofitPageLayout component. As props, this page should just accept a nonprofit object (look at DonationPage).
  • Make sure your component actually renders by adding it to the nonprofit page (pages/nonprofits/[id.tsx]).
    All these steps are really similar to what we do in DMS, so look the pages/donation/[id.tsx], DonationPage.tsx, ... for guidance.

Metadata

Metadata

Assignees

Labels

DMSTasks corresponding to Donation Management SolutionfrontendInvolving frontend development.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions