Added fetchpriority to LCP

This commit is contained in:
Maxi Ferreira 2022-08-12 12:55:32 -07:00
parent 129a6b4b19
commit 1f698b65e6

View File

@ -16,7 +16,7 @@ const permalink = Astro.site.href;
<div class="hero-image-container"> <div class="hero-image-container">
<picture> <picture>
<source srcset="/assets/home-illustration.webp" media="(min-width: 600px)"> <source srcset="/assets/home-illustration.webp" media="(min-width: 600px)">
<img class="hero-image" alt="Illustration of person reading a book" src="/assets/home-illustration-small.webp" width="550" height="466"> <img class="hero-image" fetchpriority="high" alt="Illustration of person reading a book" src="/assets/home-illustration-small.webp" width="550" height="466">
</picture> </picture>
<p class="caption"> <p class="caption">
Illustration by Illustration by