From 0d041c6b61fddb96fe3c65764bf54298cdadbeba Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 15 May 2026 10:27:00 +0000 Subject: perf(images): lazy-load and async-decode off-screen imagery Add loading=lazy and decoding=async to the 16 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. --- src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte') diff --git a/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte b/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte index d717f5d0..bd77ab4c 100644 --- a/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte +++ b/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte @@ -107,6 +107,8 @@ const onLeavePopup = () => { id="egg-visual-{targetID}-{id}" src="https://images.vexels.com/media/users/3/162149/isolated/preview/7f9f0546b21308e4851956e9c15313c9-egg-easter-painted-easter-egg-easter-egg-spot-pattern-stripe-flat.png" alt="Easter Egg" + loading="lazy" + decoding="async" class="egg" /> @@ -133,6 +135,8 @@ const onLeavePopup = () => { Banner @@ -156,6 +160,8 @@ const onLeavePopup = () => { Badge 1 @@ -169,6 +175,8 @@ const onLeavePopup = () => { Badge 2 -- cgit v1.2.3