Files
Kobelly/templates/components/stats_section.html

14 lines
430 B
HTML

{% macro stats_section(stats, t=t) %}
<div class="hero-stats mb-4">
<div class="row text-center">
{% for stat in stats %}
<div class="col-4">
<div class="stat-item">
<h3 class="text-white fw-bold mb-1">{{ stat.value }}</h3>
<small class="text-light">{{ t(stat.label) }}</small>
</div>
</div>
{% endfor %}
</div>
</div>
{% endmacro %}