some progress
This commit is contained in:
@@ -1,31 +1,28 @@
|
||||
<div>
|
||||
<div class="row owl-carousel owl-theme similar-show-slider">
|
||||
<div class="row">
|
||||
@foreach($similarShows as $similarShow)
|
||||
<div >
|
||||
<div class="movie-card">
|
||||
<a href="{{ route('show.show', $similarShow->slug) }}" title="{{ $similarShow->name }}">
|
||||
<img
|
||||
src="http://image.tmdb.org/t/p/w154/{{ $similarShow->poster_path }}"
|
||||
alt="{{ $similarShow->title }}"
|
||||
title="{{ $similarShow->title }} ({{ $similarShow->first_air_date->format('Y') }})"
|
||||
class="img img-fluid"
|
||||
>
|
||||
</a>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
{{-- <span class="iconify" data-icon="mdi-check-bold"></span>--}}
|
||||
<a href=""><span class="iconify" data-icon="mdi-check-outline"></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href=""><span class="iconify" data-icon="mdi-image-multiple"></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="">
|
||||
{{ $similarShow->vote_average }} <span class="iconify" data-icon="mdi-star"></span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<a href="{{ route('show.show', $similarShow->slug) }}" class="text-decoration-none">
|
||||
@if($similarShow->poster_path)
|
||||
<div class="movie-poster">
|
||||
<img
|
||||
src="http://image.tmdb.org/t/p/w185/{{ $similarShow->poster_path }}"
|
||||
alt="{{ $similarShow->name }}"
|
||||
title="{{ $similarShow->name }} @if($similarShow->first_air_date) ({{ $similarShow->first_air_date->format('Y') }}) @endif"
|
||||
class="img-fluid rounded shadow-sm"
|
||||
>
|
||||
<div class="movie-title text-center mt-2">
|
||||
<small>{{ $similarShow->name }}</small>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="no-poster rounded shadow-sm d-flex align-items-center justify-content-center p-2" style="height: 150px; background-color: #f8f9fa;">
|
||||
<small class="text-center">
|
||||
{{ $similarShow->name }} @if($similarShow->first_air_date) ({{ $similarShow->first_air_date->format('Y') }}) @endif
|
||||
</small>
|
||||
</div>
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user