@foreach($block->blockGalleryItems as $logo)
@php
$slideIndex = $loop->index % 17;
$isSlideStart = $slideIndex === 0;
$isRow1Start = $slideIndex === 0;
$isRow2Start = $slideIndex === 6;
$isRow3Start = $slideIndex === 11;
$isRow1End = $slideIndex === 5;
$isRow2End = $slideIndex === 10;
$isRow3End = $slideIndex === 16 || $loop->last;
$isSlideEnd = $isRow3End || $loop->last;
@endphp
@if($isSlideStart)
@endif
@if($isRow1Start)
@elseif($isRow2Start)
@elseif($isRow3Start)
@endif
@if($isSlideEnd || $loop->last)
@endif
@endforeach
@if($block->blockGalleryItems->count() > 17)
@include('frontend.svg.icon-arrow-blue-down')
@include('frontend.svg.icon-arrow-blue-down')
@include('frontend.templates.components.swiper-navigation', [
'count' => ceil($block->blockGalleryItems->count() / 17)
])
@endif
@foreach($block->blockGalleryItems as $logo)
@if($loop->index % 2 === 0)
@endif
@endforeach
@if($block->blockGalleryItems->count() > 2)
@include('frontend.templates.components.swiper-navigation', [
'count' => ceil($block->blockGalleryItems->count() / 2)
])
@endif