Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Migrate to gatsby plugin image #91

Draft
wants to merge 2 commits into
base: upgrade-dependencies
Choose a base branch
from

Conversation

axe312ger
Copy link
Contributor

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!

@axe312ger axe312ger changed the base branch from master to upgrade-dependencies December 22, 2020 14:45
background: "rgb:000000"
) {
placeholder: TRACED_SVG
# background: "rgb:000000"
Copy link
Contributor Author

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.

Copy link
Contributor Author

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",
Copy link
Contributor Author

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 })
Copy link
Contributor Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant