-
Notifications
You must be signed in to change notification settings - Fork 123
Migrate to gatsby plugin image #91
base: upgrade-dependencies
Are you sure you want to change the base?
Conversation
src/pages/index.js
Outdated
background: "rgb:000000" | ||
) { | ||
placeholder: TRACED_SVG | ||
# background: "rgb:000000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note this API feature is currently unsupported. We need to reimplement it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reimplemented it :)
"gatsby-transformer-remark": "^2.13.0", | ||
"gatsby-transformer-sharp": "^2.9.0", | ||
"gatsby-transformer-sharp": "2.11.0-next.1-dev-1610717931719", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am aware of these "weird" version numbers. These will be replaced later on as soon gatsby-plugin-image is published with all features & fixes we need for Contentful support
@@ -10,6 +10,8 @@ const RootIndex = ({ data }) => { | |||
const posts = data?.allContentfulBlogPost?.edges | |||
const [author] = data?.allContentfulPerson?.edges | |||
|
|||
console.log({ author, posts, data }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to myself: remove this debug logger
Based on #90, this is the first iteration of getting gatsby-source-contentful & this starter ready for the upcoming gatsby-plugin-image
This is WIP!