Skip to content

Instantly share code, notes, and snippets.

@vladar
Created August 14, 2020 20:30
Show Gist options
  • Save vladar/25e75885874c2a9a12cf852c9495a7cc to your computer and use it in GitHub Desktop.
Save vladar/25e75885874c2a9a12cf852c9495a7cc to your computer and use it in GitHub Desktop.
query {
mapleton: allFile(filter: { sourceInstanceName: { eq: "mapleton" } }) {
...FilesWithFluid
}
belair: allFile(filter: { sourceInstanceName: { eq: "belair" } }) {
...FilesWithFluid
}
robertsonTower: allFile(
filter: { sourceInstanceName: { eq: "robertson-tower" } }
) {
...FilesWithFluid
}
esports: allFile(filter: { sourceInstanceName: { eq: "esports" } }) {
...FilesWithFluid
}
centralPark: allFile(
filter: { sourceInstanceName: { eq: "central-park" } }
) {
...FilesWithFluid
}
}
fragment FilesWithFluid on FileConnection {
edges {
node {
childImageSharp {
fluid(quality: 100) {
...GatsbyImageSharpFluid_withWebp_noBase64
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment