{{/* 
  Input: dict "status" "positive|neutral|negative" "icon" "fa-house" "title" "Mantelzorgwoning"
*/}}

{{- $status := .status -}}
{{- $icon := .icon -}}
{{- $title := .title -}}

{{- $color := cond (eq $status "positive") "text-success" (cond (eq $status "neutral") "text-warning" "text-danger") -}}

<div class="d-flex align-items-center mb-2">
  <i class="fas {{ $icon }} me-2 {{ $color }}" aria-hidden="true"></i>
  <span class="status-label">{{ $title }}</span>
</div>
