diff --git a/src/routes/(app)/[username]/collection/artifacts/+page.svelte b/src/routes/(app)/[username]/collection/artifacts/+page.svelte index 8d93ffca..3b585957 100644 --- a/src/routes/(app)/[username]/collection/artifacts/+page.svelte +++ b/src/routes/(app)/[username]/collection/artifacts/+page.svelte @@ -24,6 +24,11 @@ // Get loaded IDs context from layout const loadedIdsContext = getContext(LOADED_IDS_KEY) + // User's element for elemental styling + const userElement = $derived( + data.user?.avatar?.element as 'wind' | 'fire' | 'water' | 'earth' | 'dark' | 'light' | undefined + ) + // Filter state let elementFilters = $state([]) let proficiencyFilters = $state([]) @@ -246,7 +251,7 @@ {/if} - + @@ -297,15 +302,6 @@ {/if} - {#if !collectionQuery.hasNextPage && allArtifacts.length > 0} -
-

- {allArtifacts.length} artifact{allArtifacts.length === 1 ? '' : 's'} in {data.isOwner - ? 'your' - : 'this'} collection -

-
- {/if} {/if} @@ -416,16 +412,6 @@ } } - .end-message { - text-align: center; - padding: $unit-2x; - color: var(--text-secondary, #666); - - p { - margin: 0; - } - } - @keyframes spin { from { transform: rotate(0deg);