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

28 lines
923 B
PHTML

<section class='PostsSlider live-setting' data-live="{{$data->area_name.'_'.$data->part}}">
<div class="{{gfx()['container']}}">
<h1>
{{getSetting($data->area_name.'_'.$data->part.'_title')}}
</h1>
</div>
<div id="posts-slider-container">
<div id="posts-slider">
@foreach( getGroupPostsBySetting($data->area_name.'_'.$data->part.'_group',10) as $post )
<div class="item slider-content">
<div class="post-slider">
<a href="{{$post->webUrl()}}">
<img src="{{$post->orgUrl()}}" alt=" {{$post->title}}" loading="lazy">
<h3>
{{$post->title}}
</h3>
</a>
</div>
</div>
@endforeach
</div>
</div>
</section>