uwu tooling ftw (MUAHAHAHAHAHA ONE MUST CONFRONT THE BUN-- TYPE-SCRIPT (get it)
This commit is contained in:
parent
964ef740b0
commit
dba763ea75
22 changed files with 555 additions and 124 deletions
23
public/templates/providers.html
Normal file
23
public/templates/providers.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{{ define "providers" }}
|
||||
<div id="providers" class="flex gap-2 p-2">
|
||||
{{ range .FlatRate }}
|
||||
<a href="{{ $.Link }}">
|
||||
<img
|
||||
src="https://image.tmdb.org/t/p/original{{ .LogoPath }}"
|
||||
title="{{ .ProviderName }}"
|
||||
alt="{{ .ProviderName }}"
|
||||
class="[&[alt*=Apple]]:mix-blend-screen rounded-lg"
|
||||
/>
|
||||
</a>
|
||||
{{ end }} {{ range .Rent }}
|
||||
<a href="{{ $.Link }}">
|
||||
<img
|
||||
src="https://image.tmdb.org/t/p/original{{ .LogoPath }}"
|
||||
title="{{ .ProviderName }}"
|
||||
alt="{{ .ProviderName }}"
|
||||
class="[&[alt*=Apple]]:mix-blend-screen rounded-lg"
|
||||
/>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue