Initial commit: Complete multilingual website with translation system
This commit is contained in:
14
templates/components/stats_section.html
Normal file
14
templates/components/stats_section.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user