feat: add Theory of Change page and enhance About Us with a link to it #735
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to the "About Us" page and adds a new "Theory of Change" page to the project. The changes enhance content structure, improve user engagement, and extend functionality. Below is a breakdown of the most important updates grouped by theme:
Content Updates
theory-of-change.json
) to define the content structure for the "Theory of Change" page, including sections for core beliefs, inputs, activities, outputs, outcomes, and long-term impact.Functional Enhancements
TheoryOfChange
page (theory-of-change.tsx
) that dynamically renders content based on the new JSON data file, including support for headings, text, and lists.Code Structure and Typing Improvements
PageContent
interface inabout-us.tsx
to support new content fields likesection_title
,items
, andbuttons
, ensuring consistent data handling across pages.Link
component fromnext/link
to the "About Us" page to enable navigation to the new page.These changes collectively improve the user experience by providing clearer messaging, adding valuable new content, and enhancing navigation between related pages.