package bootstrap import "strconv" type IndexCourseCategoryItem struct { ID string Name string Description string ExampleThemes []string Count int } // courseItemCard is a card that renders a single course thematic item // that holds multiple learning types. It expected to have a basic description // and an amount of items. templ courseItemCard(item IndexCourseCategoryItem) {
{ item.Description }
if len(item.ExampleThemes) > 0 {В данной категории вы можете найти курсы по темам: