Load Additional Region Data Model Fields into Gatsby #812
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
Description
The Region and Sub-Region data models on our CMS, Forestry, have some new fields designed to increase consistency and compatibility! We need to load them into Gatsby so we can consume that data to generate more finalized region pages. This is in the same vein as #358 and #508.
Please see this CodeSee Map of relevant files.
Note that option fields are indicated by a
?
at at the end of the field name. This means that they may be undefined.Region fields to add:
Subregion fields to add:
governmentResponse? - markdown string
stayInformed - object
longText? - markdown string
You'll also want to add those fields to the type in
/src/components/regions/RegionComponentTypes.ts
Checklist
LinkList
component on the Subregion. See the Region page for an example implementation./src/types/
Code of Conduct
The text was updated successfully, but these errors were encountered: