-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add Contentful as base content management solution #1025
Comments
Fixes #1025 - Implementing useContentful hook - Temp FAQ, Privacy, Blog
Quick note: after doing POCs for both approaches, I decided that using markdown was preferable to using the Contentful Rich Text approach. Our content authors are likely already familiar with markdown and the additional flexibility of Rich Text isn't worth the implementation hassles. Actually given that Contentful is now beta testing a new authoring tool, I wouldn't be surprised if Rich Text gets deprecated. |
This task is closed out now. Note that there are separate issues for each of the items. The links in the header and the designs are all intended to be placeholders. Hoping UX and Frontend developers can take it from here! There are 3 types in the content model implemented in Contentful:
The space in Contentful is here: The master credentials are in 1Password. Let me know if I can help. |
Description
Implementing Contentful (www.contentful.com) as the backing headless CMS for the project.
Why Contentful:
One key caveat is that this is not a tailor-made web CMS. It's designed to support any content not just HTML. As a result rendering images in rich text requires some custom code. It's nicely flexible in that regard but a bit of a pain.
Resources
https://github.com/contentful/rich-text/tree/master/packages/rich-text-react-renderer
https://www.contentful.com/blog/2019/05/31/interactive-content-react-rich-text-editor
https://www.contentful.com/developers/videos/learn-graphql/#graphql-fragments-and-query-complexity
Contentful will require a SPACE ID and a TOKEN to be added to the React client configuration.
The master login can be found in 1Password. Key users should be added to the space as different accounts so we can have a true approval process.
The text was updated successfully, but these errors were encountered: