Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FiftyFiftyContent Gatsby-Contentful Fragment
import { graphql } from "gatsby"
export const FiftyFiftyContentQuery = graphql`
fragment FiftyFiftyContent on ContentfulFiftyFifty {
id
sys {
contentType {
sys {
id
}
}
}
left {
__typename
... on Node {
... HeroBlock
... TextBlock
... Image
}
}
right {
__typename
... on Node {
... HeroBlock
... TextBlock
... Image
}
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment