mirror of https://github.com/4xmen/xshop.git
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.
22 lines
698 B
PHTML
22 lines
698 B
PHTML
2 years ago
|
@foreach($posts as $n)
|
||
|
<article class="mb-3">
|
||
|
<div class="row">
|
||
|
<div class="col-md-3">
|
||
|
{{-- {{$n->getMedia()->first()->getUrl('news-image')}}--}}
|
||
|
<img src="{{$n->imgurl()}}" class="img-fluid" alt="{{$n->title}}" title="{{$n->title}}">
|
||
|
</div>
|
||
|
<div class="col-md-9">
|
||
|
<h3>
|
||
|
<a href="{{route('n.show',$n->slug)}}">
|
||
|
{{$n->title}}
|
||
|
</a>
|
||
|
</h3>
|
||
|
{{mb_substr($n->subtitle,0,300)}}...
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
@endforeach
|
||
|
<div class="text-center">
|
||
|
{{$posts->links()}}
|
||
|
</div>
|