package main // featureGridSoftComponent renders the three-up grid. It reflows to 1 column // at 360px and 2-3 columns at 768px+, satisfying UAT ยง7. templ featureGridSoftComponent(data FeatureGridSoftData) {
if data.Intro != "" {
@templ.Raw(data.Intro)
} if len(data.Items) > 0 {
for _, item := range data.Items {
if item.Icon != "" {
} else { } if item.Title != "" {

{ item.Title }

} if item.Body != "" {

{ item.Body }

}
}
} else {

Add up to three cards to the trio.

}
}