@foreach($sliders as $slider) @php $title = $slider->title; $buttonLabel = $slider->getMetaData('button_label', true); @endphp
@foreach(range(1, 4) as $i) @if($shape = $shortcode->{"shape_$i"})
{{ RvMedia::image($shape, $slider->title, attributes: ['class' => 'layer', 'data-depth' => '0.2', 'loading' => false]) }}
@endif @endforeach
@if($title || $buttonLabel)
@if($title)

{!! BaseHelper::clean($title) !!}

@endif @if($buttonLabel) @endif
@if($shape = $shortcode->shape_5)
{{ RvMedia::image($shape, $slider->title, attributes: ['data-depth' => '0.1', 'class' => 'layer offer', 'loading' => false]) }}
@endif
@php $sliderAttributes = ['data-depth' => '0.2', 'class' => 'layer', 'loading' => false]; @endphp @include(Theme::getThemeNamespace('partials.shortcodes.simple-slider.includes.image', compact('slider')))
@else
@php $sliderAttributes = ['data-depth' => '0.2', 'class' => 'layer']; @endphp @include(Theme::getThemeNamespace('partials.shortcodes.simple-slider.includes.image', compact('slider')))
@endif
@endforeach