Merge branch 'main' into static
This commit is contained in:
commit
28aaa469f9
@ -66,7 +66,7 @@ export default function ImageBlurFallback(props: ImageProps) {
|
||||
className: clsx(
|
||||
imageClassName,
|
||||
// Fix poorly blurred placeholder data generated by Safari
|
||||
'blur-md scale-110',
|
||||
'blur-md scale-105',
|
||||
),
|
||||
}} />
|
||||
: <div className={clsx(
|
||||
|
||||
@ -28,6 +28,7 @@ export default function ImageLarge({
|
||||
className,
|
||||
src,
|
||||
alt,
|
||||
layout: 'responsive',
|
||||
priority,
|
||||
blurDataURL: blurData,
|
||||
width: IMAGE_LARGE_WIDTH,
|
||||
|
||||
@ -2,6 +2,7 @@ import { BASE_URL } from '@/site/config';
|
||||
|
||||
// Explicity defined next.config.js `imageSizes`
|
||||
type NextCustomSize = 200;
|
||||
|
||||
type NextImageDeviceSize = 640 | 750 | 828 | 1080 | 1200 | 1920 | 2048 | 3840;
|
||||
|
||||
export type NextImageSize = NextCustomSize | NextImageDeviceSize;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user