@props(['banners']) @if($banners->isNotEmpty())
@foreach($banners as $banner)
first) data-initial-active @else inert @endif :data-initial-active="null" :class="{ 'is-active': index === {{ $loop->index }}, 'is-leaving': previousIndex === {{ $loop->index }} }" aria-hidden="{{ $loop->first ? 'false' : 'true' }}" :aria-hidden="index !== {{ $loop->index }}" :inert="index !== {{ $loop->index }}" role="group" aria-roledescription="slide" aria-label="{{ $loop->iteration }} de {{ $banners->count() }}"> @if($banner->link)@endif @if($banner->mobile_image)@endif {{ $banner->alt_text ?: $banner->title }}first) fetchpriority="high" @else loading="lazy" @endif width="1600" height="600"> @if($banner->link)@endif
@endforeach @if($banners->count() > 1)

@endif
@endif