import React from 'react'; import { useStaticQuery, graphql } from 'gatsby'; import GatsbyImage from 'gatsby-image'; import styles from './Screenshots.module.css'; const Screenshots = () => { const screenshots = useStaticQuery(graphql` query { screen1: file(relativePath: { eq: "screenshots/screen-1.png" }) { childImageSharp { fluid(maxWidth: 800) { ...GatsbyImageSharpFluid } fixed(width: 300) { ...GatsbyImageSharpFixed } } } screen2: file(relativePath: { eq: "screenshots/screen-2.png" }) { childImageSharp { fluid(maxWidth: 800) { ...GatsbyImageSharpFluid } fixed(width: 300) { ...GatsbyImageSharpFixed } } } screen3: file(relativePath: { eq: "screenshots/screen-3.png" }) { childImageSharp { fluid(maxWidth: 800) { ...GatsbyImageSharpFluid } fixed(width: 300) { ...GatsbyImageSharpFixed } } } screen4: file(relativePath: { eq: "screenshots/screen-4.png" }) { childImageSharp { fluid(maxWidth: 800) { ...GatsbyImageSharpFluid } fixed(width: 300) { ...GatsbyImageSharpFixed } } } screen5: file(relativePath: { eq: "screenshots/screen-5.png" }) { childImageSharp { fluid(maxWidth: 800) { ...GatsbyImageSharpFluid } fixed(width: 300) { ...GatsbyImageSharpFixed } } } screen6: file(relativePath: { eq: "screenshots/screen-6.png" }) { childImageSharp { fluid(maxWidth: 800) { ...GatsbyImageSharpFluid } fixed(width: 300) { ...GatsbyImageSharpFixed } } } } `); return (

Screenshots

{Object.keys(screenshots).map((x) => ( ))}
); }; export default Screenshots;