feat: add priority tag to enable image preloading
This commit is contained in:
parent
ffcf84fadd
commit
34494444fe
2 changed files with 3 additions and 1 deletions
|
|
@ -82,6 +82,7 @@ export function Hero() {
|
|||
alt={company.name}
|
||||
width={128}
|
||||
height={64}
|
||||
priority
|
||||
/>
|
||||
</li>
|
||||
))}
|
||||
|
|
@ -91,7 +92,7 @@ export function Hero() {
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<Image className="pt-10 md:pt-0" width={400} height={800} src={avatarVojtechMares} alt="Vojtěch Mareš" />
|
||||
<Image className="pt-10 md:pt-0" priority width={400} height={800} src={avatarVojtechMares} alt="Vojtěch Mareš" />
|
||||
</div>
|
||||
</Container>
|
||||
</>
|
||||
|
|
|
|||
Reference in a new issue