From 3ec774fa4c376f8f4d9b6530febf61e9d4bfba3a Mon Sep 17 00:00:00 2001 From: DarthGigi <47110839+DarthGigi@users.noreply.github.com> Date: Wed, 8 Jan 2025 21:11:00 +0100 Subject: [PATCH 1/9] chore: add lazy loading to avatar images for improved performance --- src/lib/components/Item.svelte | 4 ++-- src/lib/components/Wardrobe.svelte | 2 +- src/lib/components/header/Header.svelte | 2 +- src/lib/components/header/Settings.svelte | 4 ++-- src/lib/sections/stats/Minions.svelte | 2 +- src/routes/+page.svelte | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib/components/Item.svelte b/src/lib/components/Item.svelte index 22a2e444..b7ebd252 100644 --- a/src/lib/components/Item.svelte +++ b/src/lib/components/Item.svelte @@ -123,7 +123,7 @@
+ {@html isMulticolor ? itemNameHtml : removeFormatting(itemNameHtml)} +
+- {@html isMulticolor ? itemNameHtml : removeFormatting(itemNameHtml)} -
-- {@html isMulticolor ? itemNameHtml : removeFormatting(itemNameHtml)} -
-- {@html isMulticolor ? itemNameHtml : removeFormatting(itemNameHtml)} -
-