Last active
August 31, 2020 20:41
-
-
Save debpu06/20950d3bdd7853d3c497180da513edf6 to your computer and use it in GitHub Desktop.
FiftyFiftyContent Gatsby-Contentful Fragment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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