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) setIsTransitionComplited(true)
}, 2500) }, 2500)
} }
priority
></Image> ></Image>
) : ( ) : (
<ImageMapper <ImageMapper

View File

@ -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>

View File

@ -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>