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/SliderSimple/SliderSimple.blade.php

14 lines
411 B
PHTML

<div class="slider-content">
<div class='SliderSimple'>
@foreach(\App\Models\Slider::where('status',1)->get() as $slider)
<div class="item">
<img src="{{$slider->imgUrl()}}" alt="{{strip_tags($slider->body)}}" >
<div class="desc">
{!! $slider->body !!}
</div>
</div>
@endforeach
</div>
</div>