Skip to content

Commit

Permalink
use eager loading instead of lazy loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jamband committed Oct 16, 2023
1 parent 64b4d5d commit cc16e14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/groups/img/component.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const image = (id: string, width: number, quality: number) => {
width="300"
height="200"
class={styles.objectFitImage}
loading="eager"
alt=""
/>
<a
Expand All @@ -54,6 +55,7 @@ const image = (id: string, width: number, quality: number) => {
width="300"
height="200"
class={styles.objectFitImage}
loading="eager"
alt=""
/>
<a
Expand All @@ -70,6 +72,7 @@ const image = (id: string, width: number, quality: number) => {
width="300"
height="200"
class={styles.objectFitImage}
loading="eager"
alt=""
/>
<a
Expand Down

0 comments on commit cc16e14

Please sign in to comment.