Add initial width and height

This commit is contained in:
prototypa
2022-11-24 13:57:21 -05:00
parent d37b2c1eab
commit 02c9282cf2
2 changed files with 8 additions and 3 deletions

View File

@ -51,8 +51,10 @@ import { Picture } from '@astrojs/image/components'
widths={[400, 768, 1480]}
sizes="(max-width: 767px) 400px, (max-width: 1479px) 768px, 1480px"
alt="Hero Image"
aspectRatio="16:9"
aspectRatio={1480/833}
loading="eager"
width={1480}
height={833}
/>
</div>
</div>