Remove useless image set?

This commit is contained in:
Aria 2025-03-10 20:49:20 +11:00
parent 599a07e6c0
commit 1c053c714c
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B

View file

@ -18,12 +18,6 @@ const optimizedBackgroundLQ = await getImage({
width: 512,
});
---
<style is:inline>
image-set(
url("image1.avif") type("image/avif"),
url("image2.jpg") type("image/jpeg")
);
</style>
<div
style={`width: 670px; border: 1px solid var(--border); background-image: image-set(url('${optimizedBackground.src}') type("image/avif"), url('/static/img/sites/avatar-ht-f.webp') type("image/webp"), url('${optimizedBackgroundLQ.src}') type("image/jpeg"));`}
class="rounded-2xl flex flex-col shadow-xl shadow-black py-8 mb-8 items-center bg-center bg-cover"