33 lines
1.7 KiB
PHP
33 lines
1.7 KiB
PHP
|
<section class="section pt-80 pb-80" data-section="single1">
|
||
|
<div class="container-fluid">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
<div class="section-header">
|
||
|
<h2 class="section-title">{{$title}}</h2>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="movie-slider-one">
|
||
|
{{-- {{dd($items)}} --}}
|
||
|
@foreach ($items as $featured)
|
||
|
|
||
|
<div class="movie-card" data-text="@lang('Free')">
|
||
|
<div class="movie-card__thumb">
|
||
|
<img class="lazy-loading-img" data-lazy="{{$featured['image']}}" src="{{ asset('images/lazy.png') }}" alt="@lang('image')">
|
||
|
<a class="icon" href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}"><i class="fas fa-play"></i></a>
|
||
|
</div>
|
||
|
<div class="movie-card__content">
|
||
|
<h6><a href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}" class="movie-card__title">{{ $featured['title'] }}</a></h6>
|
||
|
<ul class="movie-card__meta">
|
||
|
<li><i class="far fa-eye color--primary"></i> <span>{{$featured['views']}}</span></li>
|
||
|
@if($featured['vote_average'] && $featured['vote_average'] != 0)
|
||
|
<li><i class="fas fa-star color--glod"></i> <span>({{$featured['vote_average']}})</span></li>
|
||
|
@endif
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endforeach
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|