feat: remove trailer section from anime detail page
This commit is contained in:
@@ -160,21 +160,6 @@
|
||||
</button>
|
||||
{{end}}
|
||||
</section>
|
||||
|
||||
{{if $anime.Trailer.YoutubeID}}
|
||||
<section class="mt-12">
|
||||
<h2 class="mb-6 text-lg font-normal text-foreground">Trailer</h2>
|
||||
<div class="aspect-video w-full bg-background-surface ring-1 ring-border">
|
||||
<iframe
|
||||
src="https://www.youtube.com/embed/{{$anime.Trailer.YoutubeID}}"
|
||||
class="h-full w-full"
|
||||
allowfullscreen
|
||||
loading="lazy">
|
||||
</iframe>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
|
||||
</div>
|
||||
<aside class="fixed right-0 top-0 hidden h-screen w-80 shrink-0 flex-col overflow-y-auto border-l border-border bg-background-sidebar p-10 lg:flex">
|
||||
<div class="flex flex-col gap-10">
|
||||
|
||||
Reference in New Issue
Block a user