Newer
Older
pre-www / src / blocks / home-scroll-banner.twig
@EcosistemaWebIuav EcosistemaWebIuav on 15 Apr 846 bytes feat: homepage, sitemap, blocco alert,
<div class="block-{{block.key}}">
    <div class="block-{{block.key}}__video">
        {% include "../layout/partials/video.twig" with {"video": block.content.video } %}
    </div>
    <div class="block-{{block.key}}__title">

        {% set block_title = {"key": "title", "tag": "h1", "classes": "block-title--lg" } %}
        {% include "./title.twig" with {"block": block_title, "title": block.content.title } %}
        
    </div>

    <div class="block-container block-{{block.key}}__images">
        {% for image in block.content.images %}
            <div class="block-{{block.key}}-img" data-{{block.key}}-image="{{image.filename}}" data-{{block.key}}-image-parallax-speed="{{image.speed}}">
                {% include "../layout/partials/picture.twig" with {"image": image } %}
            </div>
        {% endfor %}
    </div>

</div>