From 22fb93357c5c3af41cfacffe2ad6d906e52e5700 Mon Sep 17 00:00:00 2001 From: BuyMyMojo Date: Fri, 20 Dec 2024 15:11:02 +1100 Subject: [PATCH] refactor(NavHeader.astro): :recycle: Increase quality of header images The images are compressed more optimally with production builds allowing for an increase in quality --- src/components/NavHeader.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NavHeader.astro b/src/components/NavHeader.astro index 7436590..bb7d28f 100644 --- a/src/components/NavHeader.astro +++ b/src/components/NavHeader.astro @@ -5,7 +5,7 @@ import Partition from "./Partition.astro"; import myBackground from "../img/sites/avatar-ht-f.png" -const optimizedBackground = await getImage({src: myBackground, format: 'avif', quality: 40, width: 680}) +const optimizedBackground = await getImage({src: myBackground, format: 'avif', quality: 50, width: 680}) ---