NavHeader image changes

This commit is contained in:
Aria 2025-03-10 12:23:22 +11:00
parent 489ee77341
commit 90d6d10292
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B

View file

@ -13,9 +13,9 @@ const optimizedBackground = await getImage({
}); });
const optimizedBackgroundLQ = await getImage({ const optimizedBackgroundLQ = await getImage({
src: myBackground, src: myBackground,
format: "jpeg", format: "webp",
quality: 60, quality: 60,
width: 680, width: 512,
}); });
--- ---
<style is:inline> <style is:inline>
@ -31,9 +31,10 @@ const optimizedBackgroundLQ = await getImage({
<Picture <Picture
src={pfp} src={pfp}
class="size-40 rounded-full shadow shadow-black m-4" class="size-40 rounded-full shadow shadow-black m-4"
width={320} width={192}
height={320} height={192}
quality={70} quality={65}
densities={[1, 1.25, 1.5, 1.75, 2, 3, 4]}
formats={['avif', 'webp', 'jpeg']} formats={['avif', 'webp', 'jpeg']}
alt="Arias's profile picture" alt="Arias's profile picture"
/> />