package ui import "fmt" 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.CurrentNode {