diff --git a/gatsby-config.js b/gatsby-config.js index 978c054d..70281fea 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -28,7 +28,9 @@ module.exports = { resolve: 'gatsby-plugin-sharp', options: { stripMetadata: false, - defaultQuality: 75 + defaults: { + quality: 85 + } } }, 'gatsby-transformer-sharp', diff --git a/src/components/atoms/Exif.module.css b/src/components/atoms/Exif.module.css index 28e5330b..c9387ba6 100644 --- a/src/components/atoms/Exif.module.css +++ b/src/components/atoms/Exif.module.css @@ -50,7 +50,7 @@ .map { composes: breakout from '../Layout.module.css'; composes: frame from './Image.module.css'; - height: 180px; + height: 220px; margin-top: calc(var(--spacer) * 2); } diff --git a/src/components/atoms/ExifMap.tsx b/src/components/atoms/ExifMap.tsx index d54812eb..f1785582 100644 --- a/src/components/atoms/ExifMap.tsx +++ b/src/components/atoms/ExifMap.tsx @@ -4,7 +4,7 @@ import Marker from 'pigeon-marker' import useDarkMode from '../../hooks/useDarkMode' const mapbox = - (mapboxId: string) => (x: string, y: string, z: string, dpr?: number) => + (mapboxId: string) => (x: string, y: string, z: string, dpr: number) => `https://api.mapbox.com/styles/v1/mapbox/${mapboxId}/tiles/256/${z}/${x}/${y}${ dpr >= 2 ? '@2x' : '' }?access_token=${process.env.GATSBY_MAPBOX_ACCESS_TOKEN}` @@ -33,7 +33,7 @@ export default function ExifMap({