Skip to content

Commit ee8a1f5

Browse files
committed
Registry page: section filters and results into bordered panels
1 parent 1bc189e commit ee8a1f5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

packages/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,20 @@ <h1 class="mt-3 text-4xl font-extrabold sm:text-5xl">
8383
<!-- Registry -->
8484
<div class="mt-10 grid gap-8 lg:grid-cols-[240px_1fr]">
8585
<!-- Filters -->
86-
<aside class="space-y-6 lg:sticky lg:top-8 self-start">
87-
<div>
88-
<h4 class="mb-2 text-xs font-semibold uppercase tracking-wide text-gray-400">Source</h4>
86+
<aside class="space-y-4 lg:sticky lg:top-8 self-start">
87+
<div class="rounded-2xl border border-gray-200 bg-white/70 p-4 shadow-sm backdrop-blur dark:border-white/10 dark:bg-white/5">
88+
<h4 class="mb-3 text-xs font-semibold uppercase tracking-wide text-gray-400">Source</h4>
8989
<div id="sourceChips" class="space-y-1"></div>
9090
</div>
91-
<div>
92-
<h4 class="mb-2 text-xs font-semibold uppercase tracking-wide text-gray-400">Category</h4>
91+
<div class="rounded-2xl border border-gray-200 bg-white/70 p-4 shadow-sm backdrop-blur dark:border-white/10 dark:bg-white/5">
92+
<h4 class="mb-3 text-xs font-semibold uppercase tracking-wide text-gray-400">Category</h4>
9393
<div id="categoryChips" class="space-y-1"></div>
9494
</div>
9595
</aside>
9696

9797
<!-- Results -->
98-
<section>
99-
<div class="mb-5 flex flex-wrap items-center justify-between gap-3">
98+
<section class="rounded-2xl border border-gray-200 bg-white/40 p-4 shadow-sm backdrop-blur dark:border-white/10 dark:bg-white/[0.03] sm:p-5">
99+
<div class="mb-4 flex flex-wrap items-center justify-between gap-3 border-b border-gray-200 pb-4 dark:border-white/10">
100100
<div id="count" class="text-sm text-gray-600 dark:text-gray-300"></div>
101101
<select id="sort" class="rounded-xl border border-gray-200 bg-white/70 px-3 py-2 text-sm outline-none dark:border-white/10 dark:bg-white/5">
102102
<option value="popular">Sort: Popular</option>

0 commit comments

Comments
 (0)