Skip to content

Commit 587e22b

Browse files
committed
perf: Set eager loading for profile image
- Updated profile image to use `loading="eager"` to ensure it loads immediately for improved user experience.
1 parent dfe9bc9 commit 587e22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<header>
4444
<picture>
4545
<source type="image/webp" srcset="../assets/images/profile100w100h.png?as=webp" />
46-
<img class="clazz-profile-image" src="../assets/images/profile100w100h.png" alt="Profile picture of Balázs Varga, CTO @ Apter" width="100" height="100" />
46+
<img class="clazz-profile-image" src="../assets/images/profile100w100h.png" alt="Profile picture of Balázs Varga, CTO @ Apter" loading="eager" width="100" height="100" />
4747
</picture>
4848
<h1 class="clazz-text-center">Balázs Varga</h1>
4949
</header>

0 commit comments

Comments
 (0)