package main // earthenCardComponent renders a card with soft radius and ink-edge border. templ earthenCardComponent(data EarthenCardData) {
if data.Image != "" {
{
} if data.Title != "" {

{ data.Title }

} if data.Body != "" {
@templ.Raw(data.Body)
} if data.Link != "" { if data.LinkLabel != "" { { data.LinkLabel } } else { Read more } }
}