diff --git a/src/lib/sections/stats/Slayer.svelte b/src/lib/sections/stats/Slayer.svelte index c0cb67cd..b0d96392 100644 --- a/src/lib/sections/stats/Slayer.svelte +++ b/src/lib/sections/stats/Slayer.svelte @@ -2,14 +2,13 @@ import AdditionStat from "$lib/components/AdditionStat.svelte"; import Bonus from "$lib/components/Bonus.svelte"; import type { Stats as StatsType } from "$types/stats"; - import { Progress } from "bits-ui"; + import { Avatar, Progress } from "bits-ui"; + import Image from "lucide-svelte/icons/image"; import { format } from "numerable"; import { getContext } from "svelte"; const profile = getContext("profile"); const slayer = profile.slayer; - - console.log(slayer);
@@ -20,11 +19,17 @@ {#each Object.entries(slayer.data) as [key, value]} {#if value.level.xp > 0}
-
+
+ + + + + + {value.name}
-
- {#each Object.entries(value.kills) as [key, value]} +
+ {#each Object.entries(value.kills) as [key, killValue]}
{#if !isNaN(Number(key))} @@ -34,13 +39,13 @@ {/if} - {format(value)} + {format(killValue)}
{/each}
-
-

+

+

{key} Level {value.level.level}