feat: add sorting to search page

This commit is contained in:
Xylight committed 2024-03-09 11:23:25 -08:00
1 parent cb21ab02c5
commit 609c8c1b73
3 files changed
+25 -24

No files matched your search

+6 -5
View File
@@ -53,7 +53,7 @@
</Material>
</Popover>
</h1>
<div class="flex flex-row flex-wrap gap-4 mt-4">
<div class="flex flex-row flex-wrap gap-4 mt-4 items-center">
<Select
bind:value={data.type}
on:change={() => searchParam($page.url, 'type', data.type ?? 'All', 'page')}
@@ -75,14 +75,15 @@
bind:value={search}
placeholder="Search for a community..."
label="Query"
size="sm"
size="md"
/>
<Button
submit
color="ghost"
size="square-md"
color="secondary"
size="custom"
class="self-end"
aria-label="Search"
style="width: 38px; height: 38px;"
title="Search"
>
<Icon src={MagnifyingGlass} size="16" mini />
</Button>