You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone look into this and comment with your suggested approach? I'll need to describe a process in order to create related issues.
Examples:
On the Donate Page we'll have multiple fundraisers. For now we could hard-code them, but dynamically creating fundraisers (and the related "More Info" pages) will be one of the fist things we want to move to the CMS.
Down the road, we'll want to dynamically create Shipment pages based on data from our Shipment Data Reporting Pipeline project, so that partners and donors can see our progress and impact.
The text was updated successfully, but these errors were encountered:
Hey @jtfairbank, here's what I came up with looking at this page from Strapi about integrating for Next.js. Let me know if you're thinking of dynamically generated content in a specific way that is not covered here.
Possible Solution
Use Next.js’s data fetching methods (getStaticProps, getServerSideProps (getStaticProps is better for our use case, probably)) to pull data from your Strapi API.
Hey @noelcastillon1! Thanks for looking into this. That seems like a solid way to handle dynamic content on an overview page, such as listing all the active fundraisers as cards on the Donate page or listing relevant shipment summaries on a Region page. Ex:
What I'm looking for is a way to create dynamic pages, where data from a server is applied to a template to make a new page, along with a route for that page. Ex:
Strapi fundraiser content => Fundraiser Details Page (dynamic page, 1 per fundraiser added to Strapi)
Strapi shipment content => Shipment Page (dynamic, 1 per shipment added to Strapi)
I think what you have so far is a great start and we should definitely document that approach! Want to keep looking into the other half of this?
Can anyone look into this and comment with your suggested approach? I'll need to describe a process in order to create related issues.
Examples:
The text was updated successfully, but these errors were encountered: