{{/* Reusable Tab-Slider Partial Params (passed via dict): - sectionClass: CSS class prefix for the section (e.g., "solutions", "healthcare-use-cases") - tabs: array of tab objects with at least .id and .label (or .name) - items: array of slide items to render - slidePartial: name of the partial to render each slide's content - showControls: (optional) whether to show arrow/dot controls (default: true) */}} {{ $sectionClass := .sectionClass }} {{ $tabs := .tabs }} {{ $items := .items }} {{ $slidePartial := .slidePartial }} {{ $showControls := true }} {{ if isset . "showControls" }} {{ $showControls = .showControls }} {{ end }}
{{ range $index, $tab := $tabs }} {{ end }}
{{ range $index, $item := $items }}
{{ partial $slidePartial (dict "item" $item "index" $index "sectionClass" $sectionClass) }}
{{ end }}
{{ if $showControls }}
{{ range $index, $tab := $tabs }} {{ end }}
{{ end }}