You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/slider/ParallaxSlider/ParallaxSlider.blade.php

25 lines
1.0 KiB
PHTML

<section id='ParallaxSlider'>
<div id="ParallaxSliderTns">
@foreach(\App\Models\Slider::where('status',1)->get() as $slider)
<div>
<div class="parallax-slider" data-bg="{{$slider->imgUrl()}}"></div>
<div class="parallax-slide-item">
<div class="main-content" @if(langIsRTL(config('app.locale'))) dir="rtl" @else dir="ltr" @endif>
{!! $slider->body !!}
<br>
<p class="text-center">
{{$slider->dataz['index_ParallaxSlider_subtitle']}}
<br>
<a class="btn btn-outline-dark mt-5"
href="{{fixUrlLang($slider->dataz['index_ParallaxSlider_link'])}}">
{{$slider->dataz['index_ParallaxSlider_btn']}}
</a>
</p>
</div>
</div>
</div>
@endforeach
</div>
</section>