Add priority to images

This commit is contained in:
Daniele Pancottini 2023-07-08 11:10:27 +02:00
parent 0749022035
commit 536e1736e8
3 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ export default function MarkerCardModal(props: {
setIsTransitionComplited(true)
}, 2500)
}
priority
></Image>
) : (
<ImageMapper

View File

@ -24,6 +24,7 @@ export default function ImageCardContent(props: {
onClick={() => openFullScreen('resource-image')}
id='resource-image'
alt=''
priority
src={props.resourcePath} />
</Box>

View File

@ -87,6 +87,7 @@ export default function ProductCardRoom(props: {
layout={"fill"}
alt={"Product Image"}
objectFit={"contain"}
priority
/>
</Box>