Newer
Older
pre-www / src / blocks / featured-content-columns.twig
{# 
 # Blocco contenuto in evidenza senza immagine cover su 2 colonne
 #}

<div class="block-{{block.key}} {{block.classes}}">
    <div class="lg:hidden">
        {% include '../blocks/title.twig' with {'block': block.content.title } %}
    </div>
    <div class="block-container block-{{block.key}}__inner">
        <div class="block-{{block.key}}__img">
            {% include "../layout/partials/picture.twig" with {"image": block.content.image } %}
        </div>
        <div class="block-{{block.key}}__content">
            <div class="hidden lg:block grow">
                {% include '../blocks/title.twig' with {'block': block.content.title } %}
            </div>
            {% if block.content.text %}
                {% include '../blocks/paragraph.twig' with {'block': block.content.text } %}
            {% endif %}
            {% if block.content.link %}
                {% include '../blocks/link.twig' with {'block': block.content.link } %}
            {% endif %}
        </div>
    </div>
</div>