package main // footerComponent renders the cream-on-moss footer with optional newsletter and link columns. templ footerComponent(data FooterData) {
} // footerGridCols returns a responsive grid class for the footer column count. func footerGridCols(count int) string { switch count { case 1: return "grid-cols-1" case 2: return "grid-cols-1 sm:grid-cols-2" case 3: return "grid-cols-1 sm:grid-cols-3" default: return "grid-cols-2 lg:grid-cols-4" } } func footerLinkURL(url string) string { if url == "" { return "#" } return url }