Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature [Template]: Donate Details Template #352

Open
6 tasks
hcavanaugh opened this issue Feb 5, 2025 · 0 comments
Open
6 tasks

Feature [Template]: Donate Details Template #352

hcavanaugh opened this issue Feb 5, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@hcavanaugh
Copy link
Contributor

hcavanaugh commented Feb 5, 2025

Research Needed

  • Capability to pull donate grid constant data into NextJS dynamic routing (...[slug].js)

Components to make for the page:

  • Hero Section
  • 2-up facts section
  • Image gallery
  • donation CTA
  • donation buttons

Design: See this Figma file.

Image

Code:

  • Create the src/app/donate/[slug].tsx page. This will set the route for the donation grid items on /donate/ that have a 'More Info' link. This is vital to allow these pages to route correctly in NextJS! See the docs for more information on dynamic routing Research needed to see if current data constants can be pulled in for this
  • Strapi integration should be considered for this template. If that is not doable now, a new data-set constant ts file in src/data/ can be made.
  • Put page-content-specific components in src/components/donate/ or in another components folder if they're potentially reusable on other pages.

Notes:

  • Since we're making a new page with a significantly different design than the old one, there shouldn't need to be too much code reuse. Let's prioritize using Radix UI components (check both their Theme and Primitives docs). It's ok to sprinkle in some tailwind in order to go above and beyond what we get out of the box with Radix, but don't feel like you need to be pixel-perfect when following the designs.
  • Note the mobile responsive designs in Figma as well. Page should be mobile responsive!
@hcavanaugh hcavanaugh added the enhancement New feature or request label Feb 5, 2025
@hcavanaugh hcavanaugh changed the title Feature [Page]: Donate Details Template Feature [Template]: Donate Details Template Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant