package main // marqueeComponent renders a horizontally scrolling marquee. The track is // duplicated so the CSS keyframes can loop seamlessly. Speed is keyed off the // data-speed attribute which the y2k stylesheet maps to a duration. templ marqueeComponent(data MarqueeData) {
for _, item := range data.Items { * { item } } for _, item := range data.Items { }
}