Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const fluidImage = graphql`
- fragment fluidImage on File {
- childImageSharp {
- fluid(maxWidth: 1000) {
- ...GatsbyImageSharpFluid
- }
- }
- }
- `;
- export const pageQuery = graphql`
- query {
- imageOne: file(relativePath: { eq: "me.jpg" }) {
- ...fluidImage
- }
- }
- `
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement