From 4a89f43d054e2bddfbd420a7bb59838e86668b39 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 3 Dec 2025 21:28:15 -0800 Subject: [PATCH] use small select for artifact rarity filter --- .../collection/artifacts/+page.svelte | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/routes/(app)/[username]/collection/artifacts/+page.svelte b/src/routes/(app)/[username]/collection/artifacts/+page.svelte index c1f24b8d..19fb6413 100644 --- a/src/routes/(app)/[username]/collection/artifacts/+page.svelte +++ b/src/routes/(app)/[username]/collection/artifacts/+page.svelte @@ -10,8 +10,7 @@ import { IsInViewport } from 'runed' import { sidebar } from '$lib/stores/sidebar.svelte' import { viewMode, type ViewMode } from '$lib/stores/viewMode.svelte' - import SegmentedControl from '$lib/components/ui/segmented-control/SegmentedControl.svelte' - import Segment from '$lib/components/ui/segmented-control/Segment.svelte' + import Select from '$lib/components/ui/Select.svelte' import { getArtifactImage } from '$lib/utils/images' const { data }: { data: PageData } = $props() @@ -95,16 +94,16 @@
- (rarityFilter = v as 'all' | 'standard' | 'quirk')} - variant="blended" + options={[ + { value: 'all', label: 'All' }, + { value: 'standard', label: 'Standard' }, + { value: 'quirk', label: 'Quirk' } + ]} size="small" - > - All - Standard - Quirk - + />