{% embed 'app/area-brick-layout.html.twig' %}
{% block content %}
<section class="py-5 md:py-10">
<div class="container relative">
{% set logos = pimcore_block('logos', {reload: true, manual: true}) %}
{% do logos.start() %}
<div class="{{ editmode ? '' : '!px-5 !-mx-5 sm:!px-0 sm:!mx-auto swiper logo-swiper' }}">
<div class="{{ editmode ? 'grid grid-cols-12 gap-8' : 'swiper-wrapper' }}">
{% for logo in logos.iterator %}
{% do logos.blockConstruct() %}
<div class=" {{ editmode ? 'col-span-2' : 'swiper-slide bg-gray-200 rounded-md' }} ">
{% do logos.blockStart() %}
{% if editmode %}
{{ pimcore_image('small-image', {
thumbnail: 'testimonial-small',
pictureAttributes: {class: ''},
imgAttributes: {class: 'h-8 w-auto'},
}) }}
{{ pimcore_link('link') }}
{% else %}
{% if logoClickable is defined and not logoClickable %}
<div
class="flex justify-center items-center h-[60px]"
>
{{ pimcore_image('small-image', {
thumbnail: 'testimonial-small',
pictureAttributes: {class: ''},
imgAttributes: {class: 'h-8 w-auto'},
}) }}
</div>
{% else %}
<a
href="{{ pimcore_link('link').getHref() | trimUrl }}"
class="flex justify-center items-center h-[60px]"
>
{{ pimcore_image('small-image', {
thumbnail: 'testimonial-small',
pictureAttributes: {class: ''},
imgAttributes: {class: 'h-8 w-auto'},
}) }}
</a>
{% endif %}
{% endif %}
{% do logos.blockEnd() %}
</div>
{% do logos.blockDestruct() %}
{% endfor %}
</div>
<div class="flex items-center justify-between gap-6 mt-6 lg:justify-end">
<div class="flex items-center !w-auto custom-swiper-pagination"></div>
<div class="flex gap-2.5 items-center text-blue">
<div class="arrow-swiper-button-prev">
<svg width="24px" height="18px" xmlns="http://www.w3.org/2000/svg"><g id=">-Klimaatbeheersing-v2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" ><g id="coolworld-product-category-vd-375-v02.3" transform="translate(-296 -3452)" fill="currentColor"><g id="Group-4" transform="translate(0 3333)"><g id="components/navigation/mobile/carousel" transform="translate(21 116)"><g id="icons/ui/arrow-line-right-copy" transform="translate(275 3)"><path d="M22.659 7.643H5.095L9.92 2.817A1.328 1.328 0 1 0 8.044.939L.707 8.277a1 1 0 0 0 0 1.414l7.337 7.338a1.328 1.328 0 0 0 1.878-1.878l-4.827-4.826h17.564a1.341 1.341 0 0 0 0-2.682Z" id="arrow-line-left" transform="matrix(1 0 0 -1 0 17.968)"/></g></g></g></g></g></svg>
</div>
<div class="arrow-swiper-button-next">
<svg width="24px" height="18px" xmlns="http://www.w3.org/2000/svg"><g id=">-Klimaatbeheersing-v2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="coolworld-product-category-vd-375-v02.3" transform="translate(-332 -3452)" fill="currentColor"><g id="Group-4" transform="translate(0 3333)"><g id="components/navigation/mobile/carousel" transform="translate(21 116)"><g id="icons/ui/arrow-line-right" transform="translate(311 3)"><path d="M22.659 7.643H5.095L9.92 2.817A1.328 1.328 0 1 0 8.044.939L.707 8.277a1 1 0 0 0 0 1.414l7.337 7.338a1.328 1.328 0 0 0 1.878-1.878l-4.827-4.826h17.564a1.341 1.341 0 0 0 0-2.682Z" id="arrow-line-right" transform="matrix(-1 0 0 1 24 0)"/></g></g></g></g></g></svg>
</div>
</div>
</div>
</div>
{% do logos.end() %}
{# {% if not editmode %}
<div class="logo-swiper-button-prev">
<svg class="w-4 h-3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 12">
<path fill="#0072BB"
fill-rule="evenodd"
d="M15.106 6.883H3.396l3.218 3.218a.885.885 0 1 1-1.252 1.252L.707 6.695a1 1 0 0 1 0-1.414L5.362.626a.885.885 0 1 1 1.252 1.252L3.396 5.095h11.71a.894.894 0 0 1 0 1.788Z" />
</svg>
</div>
<div class="logo-swiper-button-next">
<svg class="w-4 h-3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 12">
<path fill="#0072BB"
fill-rule="evenodd"
d="M.894 5.095h11.71L9.386 1.878A.885.885 0 1 1 10.638.626l4.655 4.656a1 1 0 0 1 0 1.414l-4.655 4.656A.885.885 0 1 1 9.386 10.1l3.218-3.217H.894a.894.894 0 0 1 0-1.788Z"/>
</svg>
</div>
{% endif %} #}
</div>
</section>
{% endblock %}
{% endembed %}