mirror of
https://github.com/vercel/commerce.git
synced 2025-05-16 06:26:58 +00:00
Add priority to images
This commit is contained in:
parent
0749022035
commit
536e1736e8
@ -78,6 +78,7 @@ export default function MarkerCardModal(props: {
|
|||||||
setIsTransitionComplited(true)
|
setIsTransitionComplited(true)
|
||||||
}, 2500)
|
}, 2500)
|
||||||
}
|
}
|
||||||
|
priority
|
||||||
></Image>
|
></Image>
|
||||||
) : (
|
) : (
|
||||||
<ImageMapper
|
<ImageMapper
|
||||||
|
@ -24,6 +24,7 @@ export default function ImageCardContent(props: {
|
|||||||
onClick={() => openFullScreen('resource-image')}
|
onClick={() => openFullScreen('resource-image')}
|
||||||
id='resource-image'
|
id='resource-image'
|
||||||
alt=''
|
alt=''
|
||||||
|
priority
|
||||||
src={props.resourcePath} />
|
src={props.resourcePath} />
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
@ -87,6 +87,7 @@ export default function ProductCardRoom(props: {
|
|||||||
layout={"fill"}
|
layout={"fill"}
|
||||||
alt={"Product Image"}
|
alt={"Product Image"}
|
||||||
objectFit={"contain"}
|
objectFit={"contain"}
|
||||||
|
priority
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user