package main // editorialHeadingComponent renders an editorial-styled heading. H1 carries // the optional kicker. The text-size scale lifts on the landing template so // the lead-story H1 hits ≥72px at desktop sizes (UAT §13.9). templ editorialHeadingComponent(level int, text, textClass, kicker string) { switch level { case 1:
if kicker != "" { { kicker } }

{ text }

case 2:

{ text }

case 3:

{ text }

case 4:

{ text }

case 5:
{ text }
case 6:
{ text }
default:

{ text }

} }