optimize hero image
This commit is contained in:
@@ -30,6 +30,7 @@ const { title, description, cta, image, imageAlt, className } = Astro.props
|
|||||||
src={image}
|
src={image}
|
||||||
alt={imageAlt}
|
alt={imageAlt}
|
||||||
class="h-full w-full object-cover object-top"
|
class="h-full w-full object-cover object-top"
|
||||||
|
format="webp"
|
||||||
loading="eager"
|
loading="eager"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user