mirror of
https://github.com/mikkelsvartveit/astro-personal-website.git
synced 2025-12-22 11:12:38 +00:00
Eager loading of photos
This commit is contained in:
parent
59a09ef61a
commit
0bbf92455f
1 changed files with 2 additions and 0 deletions
|
|
@ -16,5 +16,7 @@ const { photo, class: className } = Astro.props;
|
|||
densities={[1, 2]}
|
||||
quality="mid"
|
||||
class={"object-contain rounded " + (className ?? "")}
|
||||
decoding="sync"
|
||||
loading="eager"
|
||||
transition:name={photo.src}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue