mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
feat: load first image of gallery immediatly
This commit is contained in:
@@ -57,6 +57,7 @@ const imageLength = entry.data.images.length;
|
||||
aspect={entry.data.aspect}
|
||||
breakpoints={[500, 1000, 1500]}
|
||||
format={['avif']}
|
||||
loading={index === 0 ? 'eager' : 'lazy'}
|
||||
src={src}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user