Skip to content

Commit 12adaea

Browse files
committed
fix: make avatar images crisp by increasing compression resolution
1 parent 242fdab commit 12adaea

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/HomeBanner.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const { avatarImage, githubCalendar } = Astro.props
2121
src={avatarImage.src}
2222
alt={avatarImage.alt}
2323
class="rounded-full border-8 border-accent/15 size-40 aspect-square"
24-
height={160}
25-
width={160}
24+
height={400}
25+
width={400}
2626
/>
2727
)
2828
}

src/components/PostAddendum.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const { avatarImage } = Astro.props
1717
src={avatarImage.src}
1818
alt={avatarImage.alt}
1919
class="rounded-full size-40 border-8 border-accent/15"
20-
height={160}
21-
width={160}
20+
height={400}
21+
width={400}
2222
/>
2323
)
2424
}

0 commit comments

Comments
 (0)