optimize hero image

This commit is contained in:
Salam-vsem
2025-05-20 20:16:17 +03:00
parent ce3ac57f0b
commit 7baec56b88

View File

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