diff --git a/internal/shared/ui/anime_card.templ b/internal/shared/ui/anime_card.templ
index 258bb78..dfaf847 100644
--- a/internal/shared/ui/anime_card.templ
+++ b/internal/shared/ui/anime_card.templ
@@ -6,17 +6,57 @@ type AnimeCardProps struct {
ID int
Title string
ImageURL string
+ // Options to customize the card behavior
+ Class string // override default wrapper class
+ ImgClass string // override default image class
+ TitleClass string // override default title class
+ CurrentNode bool // if true, renders a div instead of an anchor tag (useful for graph nodes)
}
templ AnimeCard(props AnimeCardProps) {
-
- if props.ImageURL != "" {
-
- } else {
-
Because you've watched prequels.