diff --git a/web/templates/watch.templ b/web/templates/watch.templ index eca0765..46767ec 100644 --- a/web/templates/watch.templ +++ b/web/templates/watch.templ @@ -2,6 +2,8 @@ package templates import ( "fmt" + "net/url" + "mal/integrations/jikan" "mal/web/components" "mal/web/components/ui" @@ -42,7 +44,9 @@ templ WatchPage(anime jikan.Anime, data shared.WatchPageData) { ◀ Prev } else { - ◀ Prev + + ◀ Prev + } if shared.CanGoNextEpisode(data.CurrentEpisode, anime.Episodes) { } else { - Next ▶ + + Next ▶ + } - @watchlist.WatchlistDropdown(anime.MalID, anime.Title, anime.TitleEnglish, anime.TitleJapanese, anime.ImageURL(), data.CurrentStatus, anime.Airing) + @watchlist.WatchlistDropdown( + anime.MalID, + anime.Title, + anime.TitleEnglish, + anime.TitleJapanese, + anime.ImageURL(), + data.CurrentStatus, + anime.Airing, + )
-

Watch more seasons of this anime

-
+

+ Watch more seasons of this anime +

+
@components.LoadingIndicator("Loading relations")
@@ -68,7 +87,11 @@ templ WatchPage(anime jikan.Anime, data shared.WatchPageData) {