templates/includes/blocks/logo-slider.html.twig line 1
<div class="logo-slider {% if content.inverted %}logo-slider--inverted {% endif %} {{ content.top }} {{ content.bottom }}"
x-data="logoslider">
<div class="logo-slider__container">
<div class="logo-slider__title" x-ref="title">
{% if content.logoSliderPagina %}
{% if content.logoSliderSeoHeadlinePagina %}<{{ content.logoSliderSeoHeadlinePagina }}>{% endif %}
<div class="pagina" >
{{ content.logoSliderPagina }}
</div>
{% if content.logoSliderSeoHeadlinePagina %}</{{ content.logoSliderSeoHeadlinePagina }}>{% endif %}
{% endif %}
<div {% if content.logoSliderTitleMobile %}class="desktop-only" {% endif %}>
{{ content.title|raw }}
</div>
</div>
{% if content.logoSliderTitleMobile %}
<div class="logo-slider__title mobile-only" x-ref="mobiletitle">
{{ content.logoSliderTitleMobile|raw }}
</div>
{% endif %}
{% if content.text %}
<div class="logo-slider__text" x-ref="text">
{{ content.text|raw }}
</div>
{% endif %}
{% if content.logoSliderActionLink != null %}
<div class="logo-slider__actions" x-ref="actions">
{% if content.logoSliderButtonType == 'box' %}
<a href="{{ content.logoSliderActionLink }}"
class="button button--{{ content.logoSliderButtonColor }} button--size-{{ content.logoSliderButtonSize }}">
<span class="button__inner">
{{ content.logoSliderButtonLabel }}
</span>
</a>
{% elseif content.logoSliderButtonType == 'text' %}
<a href="{{ content.logoSliderActionLink }}"
class="text-button text-button--{{ content.logoSliderTextButtonColor }} {% if content.uppercase %} uppercase {% endif %}">
{{ content.logoSliderButtonLabel }}
<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 %}
</div>
{% endif %}
</div>
<div class="logo-slider__logos">
<div class="swiper-container" x-ref="swiper">
<div class="swiper-wrapper">
{% for image in content.images %}
<div class="swiper-slide">
<div class="logo-slider__slide">
<img class="logo-slider__logo" src ="{{ image|thumbnailUrl('2880x') }}"
srcset ="{{ image|thumbnailUrl('320x') }} 320w, {{ image|thumbnailUrl('640x') }} 640w, {{ image|thumbnailUrl('1280x') }} 1280w, {{ image|thumbnailUrl('1440x') }} 1440w, {{ image|thumbnailUrl('2048x') }} 2048w"
alt="{{ image.description|striptags }}" x-ref="image" sizes="(min-width: 1440px) 480px, 33vw">
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>