package component type CarouselEntry struct { ImgPath string Title string Text string } func add(a int, b int) int { return a + b } templ Carousel(elm []CarouselEntry , index int) {
{elm[index].Title}
{elm[index].Text}