fix: replace profile.jpg with profile.webp for improved image format and loading priority in Intro component
This commit is contained in:
parent
f3f3adfd96
commit
88fd06ac16
3 changed files with 2 additions and 1 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
BIN
src/assets/images/profile.webp
Normal file
BIN
src/assets/images/profile.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
import { Image } from "astro:assets";
|
||||
import profileImage from "@/assets/images/profile.jpg";
|
||||
import profileImage from "@/assets/images/profile.webp";
|
||||
import socialEmail from "@/assets/images/social-email.svg";
|
||||
import socialFacebook from "@/assets/images/social-facebook.svg";
|
||||
import socialGithub from "@/assets/images/social-github.svg";
|
||||
|
|
@ -13,6 +13,7 @@ import SocialLink from "@/components/SocialLink.astro";
|
|||
<Image
|
||||
src={profileImage}
|
||||
loading="eager"
|
||||
fetchpriority="high"
|
||||
alt="Dhemas Nurjaya"
|
||||
class="size-36 sm:size-48 rounded-2xl"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue