feat: remove trailer section from anime detail page
This commit is contained in:
@@ -279,6 +279,38 @@
|
||||
{{end}}
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 class="mb-4 text-lg font-normal text-foreground">Statistics</h3>
|
||||
<div hx-get="/anime/{{$anime.MalID}}?section=statistics" hx-trigger="load" hx-swap="innerHTML">
|
||||
<div class="flex flex-col gap-3 pt-1 animate-pulse">
|
||||
{{range (seq 5)}}
|
||||
<div class="h-4 rounded bg-background-surface ring-1 ring-border"></div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 class="mb-4 text-lg font-normal text-foreground">More</h3>
|
||||
<div class="flex flex-col gap-3">
|
||||
{{if $anime.External}}
|
||||
<div>
|
||||
<div class="flex flex-wrap gap-2">
|
||||
{{range $anime.External}}
|
||||
<a href="{{.URL}}" target="_blank" title="{{.Name}}">
|
||||
<img src="https://www.google.com/s2/favicons?domain={{.URL}}" alt="{{.Name}}" class="h-4 w-4 shrink-0 opacity-70 transition-opacity hover:opacity-100" loading="lazy" />
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
<button type="button" data-themes-open class="text-left text-sm text-foreground-muted transition-colors hover:text-foreground">
|
||||
Theme Songs
|
||||
</button>
|
||||
<a href="/anime/{{$anime.MalID}}/reviews" class="text-sm text-foreground-muted transition-colors hover:text-foreground">Reviews</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user