package main // footerComponent renders the friendly footer. templ footerComponent(data FooterData) {
} // socialLabel renders an accessible label for the icon link. func socialLabel(platform string) string { switch platform { case "facebook": return "Visit our Facebook" case "instagram": return "Visit our Instagram" case "youtube": return "Visit our YouTube" case "tiktok": return "Visit our TikTok" case "email": return "Send us an email" default: return "Open social link" } } // socialIcon renders a small social icon (Lucide-style stroke). templ socialIcon(platform string) { switch platform { case "facebook": case "instagram": case "youtube": case "tiktok": case "email": default: } }