Add initial width and height
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user