feat: add studio filter UI and studio links on anime page

This commit is contained in:
2026-05-25 17:59:22 +02:00
parent 29c0c0bb18
commit 3a0e04dda9
3 changed files with 84 additions and 27 deletions

View File

@@ -171,7 +171,9 @@
{{if $anime.Studios}}
<div>
<dt class="mb-1 text-xs font-normal text-foreground-muted">Studios</dt>
<dd class="text-foreground">{{range $i, $s := $anime.Studios}}{{if $i}}, {{end}}{{$s.Name}}{{end}}</dd>
<dd class="text-foreground">
{{range $i, $s := $anime.Studios}}{{if $i}}, {{end}}<a href="/browse?studio={{$s.MalID}}" class="underline underline-offset-2 decoration-foreground-muted/60 text-foreground-muted transition-colors hover:text-foreground hover:decoration-foreground/70">{{$s.Name}}</a>{{end}}
</dd>
</div>
{{end}}
{{if $anime.Producers}}