templates/includes/blocks/boxes.html.twig line 1
<div class="boxes{% if content.inverted %} boxes--inverted{% endif %} {{ content.top }} {{ content.bottom }}"
x-data="boxes">
<div class="boxes__background">
<svg preserveaspectratio="xMidYMid slice" fill="none" xmlns="http://www.w3.org/2000/svg"
viewbox="0 0 2650 1872">
<path d="M-2.046 342.242 2650 1872M2147.95 0 2650 1872M2147.95 0v1872M1568.21 0l-.01 1872M2650-1.164 1568.21 1872M-2.046 1529.73 2650 0M2147.94 1872 2650 0M2147.95 1872V0M1568.2 1872l.01-1872M2650 1873.13 1568.21 0M2652.42 1529.95 0 0M502.055 1872 0 0M502.055 1872V0M1081.79 1872V0M-.002 1873.13 1081.79 0M2651.04 342.838 0 1872M502.055 0-.001 1872M502.055 0v1872M1081.79 0v1872M-.002-1.164 1081.79 1872"
stroke="currentColor" stroke-miterlimit="10"/>
</svg>
</div>
<div class="boxes__container">
{% if content.boxesPagina %}
{% if content.boxesSeoHeadlinePagina %}<{{ content.boxesSeoHeadlinePagina }}>{% endif %}
<div {% if content.inverted %} style="color: #fff;" {% endif %}
class="pagina">
{{ content.boxesPagina }}
</div>
{% if content.boxesSeoHeadlinePagina %}</{{ content.boxesSeoHeadlinePagina }}>{% endif %}
{% endif %}
<div class="boxes__title {% if content.boxesTitleMobile %}desktop-only {% endif %}" x-ref="title">
{{ content.title|raw }}
</div>
{% if content.boxesTitleMobile %}
<div class="boxes__title mobile-only" x-ref="mobiletitle">
{{ content.boxesTitleMobile|raw }}
</div>
{% endif %}
<div class="boxes__actions" x-ref="actions">
{% if content.boxesActionLink != null %}
{% if content.boxesButtonType == 'box' %}
<a href="{{ content.boxesActionLink }}"
class="button button--{{ content.boxesButtonColor }}
button--size-{{ content.boxesButtonSize }}">
<span class="button__inner">
{{ content.buttonLabel }}
</span>
</a>
{% elseif content.boxesButtonType == 'text' %}
<a href="{{ content.boxesActionLink }}"
class="text-button text-button--{{ content.boxesTextButtonColor }}
{% if content.uppercase %} uppercase {% endif %}">
{{ content.buttonLabel }}
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<path d="M.5 8.5h15M10.5 3.5l5 5-5 5" stroke="currentColor" stroke-miterlimit="10"
stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
{% endif %}
{% endif %}
</div>
</div>
<div class="boxes__boxes">
<div class="swiper-container" x-ref="swiper">
<div class="swiper-wrapper" x-ref="container">
{% for box in content.subblocks %}
<div class="swiper-slide">
<div class="boxes-box">
<div class="boxes-box__title">
{{ box.title|raw }}
</div>
<div class="boxes-box__text">
{{ box.text|raw }}
</div>
<div class="boxes-box__media">
{% if box.background %}
<img src ="{{ box.background|thumbnailUrl('640x') }}"
srcset ="{{ box.background|thumbnailUrl('320x') }} 320w, {{ box.background|thumbnailUrl('640x') }} 640w"
{% if box.background.description|striptags %}alt="{{ box.background.description|striptags }}"{% endif %}
sizes="(min-width: 1440px) 320px, (min-width: 768px) 25vw, 50vw"
>
{% else %}
<svg preserveAspectRatio="xMaxYMax meet" fill="none"
xmlns="http://www.w3.org/2000/svg" viewbox="0 0 206 241">
<path d="M131.188 78.896V5.687h104.583v230.084h-31.375M183.479 57.98v20.916"
stroke="currentColor" stroke-width="10" stroke-miterlimit="10"
stroke-linecap="square"/>
<path d="M162.102 147.462a31.2 31.2 0 00-60.386-5.815H76.993a31.198 31.198 0 00-60.387 5.815S5.688 218.829 5.688 220.084a15.614 15.614 0 0025.1 12.435l42.032-28.122h33.069l42.032 28.122a15.611 15.611 0 0025.1-12.435c0-1.255-10.919-72.622-10.919-72.622zM89.354 99.813V57.979"
stroke="currentColor" stroke-width="10" stroke-miterlimit="10"
stroke-linecap="square"/>
<path d="M47.52 173.021c5.777 0 10.46-4.682 10.46-10.458s-4.683-10.459-10.46-10.459c-5.775 0-10.458 4.683-10.458 10.459s4.683 10.458 10.459 10.458zM131.187 173.021c5.776 0 10.459-4.682 10.459-10.458s-4.683-10.459-10.459-10.459-10.458 4.683-10.458 10.459 4.682 10.458 10.458 10.458z"
fill="currentColor"/>
</svg>
{% endif %}
{# <svg preserveaspectratio="xMaxYMax meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 206 241">
<path d="M131.188 78.896V5.687h104.583v230.084h-31.375M183.479 57.98v20.916" stroke="currentColor" stroke-width="10" stroke-miterlimit="10" stroke-linecap="square"/>
<path d="M162.102 147.462a31.2 31.2 0 00-60.386-5.815H76.993a31.198 31.198 0 00-60.387 5.815S5.688 218.829 5.688 220.084a15.614 15.614 0 0025.1 12.435l42.032-28.122h33.069l42.032 28.122a15.611 15.611 0 0025.1-12.435c0-1.255-10.919-72.622-10.919-72.622zM89.354 99.813V57.979" stroke="currentColor" stroke-width="10" stroke-miterlimit="10" stroke-linecap="square"/>
<path d="M47.52 173.021c5.777 0 10.46-4.682 10.46-10.458s-4.683-10.459-10.46-10.459c-5.775 0-10.458 4.683-10.458 10.459s4.683 10.458 10.459 10.458zM131.187 173.021c5.776 0 10.459-4.682 10.459-10.458s-4.683-10.459-10.459-10.459-10.458 4.683-10.458 10.459 4.682 10.458 10.458 10.458z" fill="currentColor"/>
</svg> #}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>