perf(NavHeader): reduce background quality a smidge

This commit is contained in:
aria 2025-05-27 20:07:54 +10:00
parent 203414e26e
commit a95fde9df7
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds

View file

@ -8,13 +8,13 @@ import myBackground from "../img/sites/avatar-ht-f.png";
const optimizedBackground = await getImage({
src: myBackground,
format: "avif",
quality: 50,
width: 680,
quality: 45,
width: 512,
});
const optimizedBackgroundLQ = await getImage({
src: myBackground,
format: "webp",
quality: 50,
quality: 45,
width: 512,
});
---