aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Hololive
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-15 10:27:00 +0000
committerFuwn <[email protected]>2026-05-15 10:27:00 +0000
commit0d041c6b61fddb96fe3c65764bf54298cdadbeba (patch)
treea6069215ed797880d2cd1b096b30777b3cabb8f5 /src/lib/Hololive
parentfix(a11y): give CommandPalette real dialog and combobox semantics (diff)
downloaddue.moe-0d041c6b61fddb96fe3c65764bf54298cdadbeba.tar.xz
due.moe-0d041c6b61fddb96fe3c65764bf54298cdadbeba.zip
perf(images): lazy-load and async-decode off-screen imagery
Add loading=lazy and decoding=async to the 16 <img> elements that weren't already deferring across Tools/Wrapped, Events, EasterEvent, Hololive, and the rate-limited fallback. Also drop the backdrop-filter: blur(160px) the dropdown items were paying on every hover; the background-color change already gives sufficient feedback, and the parent card's own blur stays.
Diffstat (limited to 'src/lib/Hololive')
-rw-r--r--src/lib/Hololive/Stream.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Hololive/Stream.svelte b/src/lib/Hololive/Stream.svelte
index 7ad681fd..d8122f50 100644
--- a/src/lib/Hololive/Stream.svelte
+++ b/src/lib/Hololive/Stream.svelte
@@ -39,7 +39,7 @@ export let icon: string;
<span class="opaque">|</span>
{#if icon}
<a href={root(`/hololive/${encodeURIComponent(live.streamer)}`)}>
- <img src={icon} alt="Avatar" class="stream-icon" />
+ <img src={icon} alt="Avatar" loading="lazy" decoding="async" class="stream-icon" />
</a>
{/if}
<a href={root(`/hololive/${encodeURIComponent(live.streamer)}`)} class="streamer-link">