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

Load Generic Card data models and expose them via the Gatsby API #837

Open
1 task done
wwwwwlwwwww opened this issue Nov 10, 2022 · 0 comments
Open
1 task done
Labels
enhancement New feature or request triage An issue needs further analysis by a team member

Comments

@wwwwwlwwwww
Copy link
Collaborator

Description

In #547, Jason developed the capability for a generic card template on the code side. We now want to link this to our CMS.

I've gone into our CMS to create a data model with the same fields. This issue involves loading this new data model into Gatsby à la #536 and #571.

Recall or reference that these are the generic card fields Jason worked in in #547:

  • image - In our CMS, this is a "media asset" type which contains an image, alt text, etc. (See Feat: Load Media Asset Data Model into Gatsby #571).
  • imageShape - Our CMS will pass this as a string either "rectangle" or "circle"
  • title - string
  • subtitle - string
  • bodyText - markdown field
  • borderColor - hex code
  • bodyColor - hex code

Note: this issue necessitates closing #616 without resolution because we're now adding "What We Do" pages using generic cards instead of an "activity" data model.

Front end feature screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@wwwwwlwwwww wwwwwlwwwww added enhancement New feature or request triage An issue needs further analysis by a team member labels Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage An issue needs further analysis by a team member
Projects
None yet
Development

No branches or pull requests

1 participant