Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
perf(images): adjust GatsbyImage breakpoints (#158)
Browse files Browse the repository at this point in the history
These now match the breakpoints used by our CSS (and improve the Lighthouse performance score).
  • Loading branch information
wKovacs64 authored Mar 7, 2021
1 parent 1c21179 commit 78a63ed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const query = graphql`
layout: FULL_WIDTH
aspectRatio: 1
placeholder: BLURRED
breakpoints: [576, 768, 992, 1200]
)
}
ingredients
Expand Down
1 change: 1 addition & 0 deletions src/pages/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const query = graphql`
layout: FULL_WIDTH
aspectRatio: 1
placeholder: BLURRED
breakpoints: [576, 768, 992, 1200]
)
}
ingredients
Expand Down
1 change: 1 addition & 0 deletions src/templates/drink-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const query = graphql`
layout: FULL_WIDTH
aspectRatio: 1
placeholder: BLURRED
breakpoints: [576, 768, 992, 1200]
)
socialGatsbyImageData: gatsbyImageData(
layout: FIXED
Expand Down
1 change: 1 addition & 0 deletions src/templates/tag-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const query = graphql`
layout: FULL_WIDTH
aspectRatio: 1
placeholder: BLURRED
breakpoints: [576, 768, 992, 1200]
)
}
ingredients
Expand Down

0 comments on commit 78a63ed

Please sign in to comment.