2024-08-24 23:08:42 +03:00
|
|
|
<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">
|
2024-09-10 01:33:11 +03:00
|
|
|
<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')">
|
2024-08-31 03:28:35 +03:00
|
|
|
<a class="icon" href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}">
|
|
|
|
<svg class="si">
|
|
|
|
<use href="#si-play"></use>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2024-08-24 23:08:42 +03:00
|
|
|
</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">
|
2024-08-31 03:28:35 +03:00
|
|
|
<li><i class="color--primary">
|
|
|
|
<svg class="si">
|
|
|
|
<use href="#si-eye"></use>
|
|
|
|
</svg>
|
|
|
|
</i> <span>{{$featured['views']}}</span></li>
|
2024-08-24 23:08:42 +03:00
|
|
|
@if($featured['vote_average'] && $featured['vote_average'] != 0)
|
2024-08-31 03:28:35 +03:00
|
|
|
<li><i class="color--glod">
|
|
|
|
<svg class="si">
|
|
|
|
<use href="#si-star-fill"></use>
|
|
|
|
</svg>
|
|
|
|
</i> <span>({{$featured['vote_average']}})</span></li>
|
2024-08-24 23:08:42 +03:00
|
|
|
@endif
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|