Skip to content

Commit fd37a9b

Browse files
authored
Merge pull request #31 from jsuraj/dev
Changed hero image to webp
2 parents ba4fefb + 51627e4 commit fd37a9b

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

public/images/profile.jpg

-681 KB
Binary file not shown.

public/images/profile.webp

417 KB
Loading

src/components/Hero.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ const hero = siteConfig.hero;
1818
class="w-32 rounded-full"
1919
src={hero.image.src}
2020
alt={hero.image.alt || ""}
21+
width="128"
22+
height="128"
2123
/>
2224
{hero.image.caption && (
2325
<figcaption class="mt-1.5 text-xs sm:text-sm">

src/data/site-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const siteConfig: SiteConfig = {
4343
description:
4444
"Home page for Suraj Jagtap, a software engineer works on React, LLM, GenAI.",
4545
image: {
46-
src: "/images/hello-world/profile.jpg",
46+
src: "/images/hello-world/profile.webp",
4747
alt: "Suraj Jagtap",
4848
},
4949
headerNavLinks: [

0 commit comments

Comments
 (0)