https://github.com/alextim/gatsby-test
https://github.com/alextim/gatsby-test
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alextim/gatsby-test
- Owner: alextim
- License: mit
- Created: 2020-03-04T04:22:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:36:06.000Z (over 2 years ago)
- Last Synced: 2025-08-13T23:02:21.873Z (10 months ago)
- Language: TypeScript
- Size: 20.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Test
## Error: unknown fragment ...GatsbyImageSharpFluid
`gatsby-node.ts`
```
bannerImage {
childImageSharp {
fluid(maxWidth: 1920) {
...GatsbyImageSharpFluid
}
}
}
```
Solution:
```
bannerImage {
childImageSharp {
fluid(maxWidth: 1920) {
src
srcSet
aspectRatio
sizes
base64
}
}
publicURL
}
```
Source: [Problems with 'gatsby-image' and their workarounds](https://theleakycauldronblog.com/blog/problems-with-gatsby-image-and-their-workarounds)
## State for Search
Source: [stateful gatsby](https://github.com/DynamisDevelopment/stateful-gatsby-starter)