aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sections/Collections.svelte
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-03-04 23:05:09 -0600
committermat <github@matdoes.dev>2022-03-04 23:05:09 -0600
commite2506cac822f0b5ddbc285880c768eda9357e075 (patch)
tree0ca4f9dee04a0d51f6d3a939c9543fbf9e6d779c /src/lib/sections/Collections.svelte
parent453872fa0587040cf56f5ba72d92042542836afc (diff)
downloadskyblock-stats-e2506cac822f0b5ddbc285880c768eda9357e075.tar.gz
skyblock-stats-e2506cac822f0b5ddbc285880c768eda9357e075.tar.bz2
skyblock-stats-e2506cac822f0b5ddbc285880c768eda9357e075.zip
dynamic packs and bug fixes
Diffstat (limited to 'src/lib/sections/Collections.svelte')
-rw-r--r--src/lib/sections/Collections.svelte8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/sections/Collections.svelte b/src/lib/sections/Collections.svelte
index 9624ec2..7ca1969 100644
--- a/src/lib/sections/Collections.svelte
+++ b/src/lib/sections/Collections.svelte
@@ -1,9 +1,10 @@
<script lang="ts">
+ import furfskyReborn from 'skyblock-assets/matchers/furfsky_reborn.json'
import type { CleanMemberProfile, Collection } from '$lib/APITypes'
import { skyblockItemToUrl } from '$lib/minecraft/inventory'
import ListItemWithIcon from '$lib/ListItemWithIcon.svelte'
- import { cleanId } from '$lib/utils'
import Tooltip from '$lib/Tooltip.svelte'
+ import { cleanId } from '$lib/utils'
export let data: CleanMemberProfile
@@ -21,7 +22,10 @@
<h3>{cleanId(categoryName)}</h3>
<ul>
{#each collections as collection}
- <ListItemWithIcon url={skyblockItemToUrl(collection.name)} alt={cleanId(collection.name)}>
+ <ListItemWithIcon
+ url={skyblockItemToUrl(collection.name, furfskyReborn)}
+ alt={cleanId(collection.name)}
+ >
<Tooltip>
<span slot="tooltip">
Amount: {collection.xp.toLocaleString()}