{% set contents = pimcore_relations('content')|default([]) %}
<div class="toolbox-element toolbox-container {{ additionalClassesData|join(' ') }}">
<div class="overflow-hidden">
<div class="relative px-4 sm:px-6 lg:px-8 {% if not editmode %} mx-auto max-w-md sm:max-w-3xl lg:max-w-7xl{% endif %}">
{% if contents|length %}
<h3 class="text-white text-4xl tracking-tight sm:text-4xl">
<span class="my-8 block max-w-max">
{{ pimcore_input('headline') }}
</span>
</h3>
<div class="slider-class swiper overflow-visible">
<div class="swiper-wrapper">
{% for content in contents %}
{% if content.getType() == "image" %}
<a class="swiper-slide w-auto" data-fslightbox="gallery" data-alt="Example image description" data-foo="bar" href="{{ content.getThumbnail('jumpstartImage') }}">
<img src="{{ content.getThumbnail('jumpstartImage') }}" class="h-64">
</a>
{% endif %}
{% endfor %}
</div>
<div id="slider-pagination" class="swiper-pagination"></div>
</div>
{% else %}
Empty Gallery
{% endif %}
</div>
</div>
</div>