Newer
Older
pre-www / src / blocks / stats.twig
@EcosistemaWebIuav EcosistemaWebIuav on 26 Feb 1 KB feat: pagina chi siamo, blocco stats
 <div class="block-{{block.key}}">
    <div class="block-container">
        {% for row in block.rows %}
            <div class="block-{{block.key}}-row">
                <div>
                    <span class="block-stats-row__title">{{row.title}}</span>
                </div>
                <div class="block-{{block.key}}__data">
                    {% for subrow in row.subrows %}
                        <div class="block-{{block.key}}__subrow">
                            {% for column in subrow.columns %}
                                <div>
                                    {% for item in column.items %}
                                        <div class="block-{{block.key}}-column">
                                            <span class="block-{{block.key}}-column__number">{{item.number}}</span>
                                            <span class="block-{{block.key}}-column__content">{{item.text}}</span>
                                        </div>
                                    {% endfor %}
                                </div>
                            {% endfor %}
                        </div>   
                    {% endfor %}
                </div>
            </div>
        {% endfor %}
    </div>
</div>