feat: add HTMX-driven filter bar and browse fragments

This commit is contained in:
2026-05-15 03:25:14 +02:00
parent 391569166c
commit 0df43b6f51
3 changed files with 58 additions and 32 deletions

View File

@@ -1,7 +1,11 @@
{{define "title"}}Browse{{end}}
{{define "content"}}
{{if .WatchlistIDs}}<script>initWatchlist({{.WatchlistIDs}})</script>{{end}}
<div class="flex flex-col gap-6">
{{template "browse_content" .}}
{{end}}
{{define "browse_content"}}
<div id="browse-content" class="flex flex-col gap-6">
<div class="flex items-end justify-between">
<h1 class="text-xl font-normal text-foreground">Browse</h1>
</div>