Skip to content

Commit

Permalink
chore: change hero image
Browse files Browse the repository at this point in the history
  • Loading branch information
javayhu committed Jul 5, 2024
1 parent f20d57c commit eed523a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file removed src/assets/hero.png
Binary file not shown.
Binary file added src/assets/hero.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions src/layouts/partials/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import heroImage from "@/assets/hero.png";
import heroImage from "@/assets/hero.webp";
import { Picture } from "astro:assets";
import { getEntry } from "astro:content";
Expand All @@ -17,7 +17,7 @@ const hero = await getEntry("sections", "hero");
alt="hero"
widths={[200, 400, 600]}
sizes="(max-width: 400px) 100vw, 400px"
format="avif"
format="webp"
/>
</div>

Expand Down

0 comments on commit eed523a

Please sign in to comment.