1import React from 'react'
2import { StaticQuery, graphql } from 'gatsby'
3import Img from 'gatsby-image'
6 * This component is built using `gatsby-image` to automatically serve optimized
7 * images with lazy loading and reduced file sizes. The image is loaded using a
8 * `StaticQuery`, which allows us to load the image from directly within this
9 * component, rather than having to pass the image data down from pages.
11 * For more information, see the docs:
12 * - `gatsby-image`: https://gatsby.app/gatsby-image
13 * - `StaticQuery`: https://gatsby.app/staticquery
20 placeholderImage: file(relativePath: { eq: "gatsby-astronaut.png" }) {
22 fluid(maxWidth: 300) {
23 ...GatsbyImageSharpFluid
29 render={data => <Img fluid={data.placeholderImage.childImageSharp.fluid} />}
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list