44 lines
2.3 KiB
PHP
44 lines
2.3 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" data-lazy="{{$featured['image']}}" width="300" height="450" src="data:image/svg+xml,%3Csvg width='300' height='450' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='450' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="@lang('image')">
|
|
<a class="icon" href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}">
|
|
<svg class="si">
|
|
<use href="#si-play"></use>
|
|
</svg>
|
|
</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="color--primary">
|
|
<svg class="si">
|
|
<use href="#si-eye"></use>
|
|
</svg>
|
|
</i> <span>{{$featured['views']}}</span></li>
|
|
@if($featured['vote_average'] && $featured['vote_average'] != 0)
|
|
<li><i class="color--glod">
|
|
<svg class="si">
|
|
<use href="#si-star-fill"></use>
|
|
</svg>
|
|
</i> <span>({{$featured['vote_average']}})</span></li>
|
|
@endif
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</section>
|