feat: enhance anime card with hover overlay and play button
This commit is contained in:
@@ -34,5 +34,8 @@ templ CatalogItem(anime jikan.Anime) {
|
||||
ID: anime.MalID,
|
||||
Title: anime.DisplayTitle(),
|
||||
ImageURL: anime.ImageURL(),
|
||||
Synopsis: anime.Synopsis,
|
||||
Score: int(anime.Score * 10),
|
||||
PlayHref: fmt.Sprintf("/watch/%d/1", anime.MalID),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user