package main // coverStoryComponent renders the 12-column asymmetric cover hero. // Note: the spec calls for an oversized display headline; this consumes // `--font-heading` via .font-display and clamps via .text-folio. templ coverStoryComponent(data CoverStoryData) {
if data.Kicker != "" {
{ data.Kicker }
}

if data.Headline != "" { @templ.Raw(data.Headline) } else { Cover story }

if data.Deck != "" {
@templ.Raw(data.Deck)
}
if data.Image != "" {
} if data.Link != "" { }
}