2025-02-10 01:58:12 +02:00
|
|
|
<div>
|
2025-09-06 14:41:10 +03:00
|
|
|
<div class="row">
|
|
|
|
|
@foreach($recommendedShows as $recommendedShow)
|
|
|
|
|
<div class="col-md-2 mb-3">
|
|
|
|
|
<a href="{{ route('show.show', $recommendedShow->slug) }}" class="text-decoration-none">
|
|
|
|
|
@if($recommendedShow->poster_path)
|
|
|
|
|
<div class="movie-poster">
|
|
|
|
|
<img
|
|
|
|
|
src="http://image.tmdb.org/t/p/w185/{{ $recommendedShow->poster_path }}"
|
|
|
|
|
alt="{{ $recommendedShow->name }}"
|
|
|
|
|
title="{{ $recommendedShow->name }} @if($recommendedShow->first_air_date) ({{ $recommendedShow->first_air_date->format('Y') }}) @endif"
|
|
|
|
|
class="img-fluid rounded shadow-sm"
|
|
|
|
|
>
|
|
|
|
|
<div class="movie-title text-center mt-2">
|
|
|
|
|
<small>{{ $recommendedShow->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">
|
|
|
|
|
{{ $recommendedShow->name }} @if($recommendedShow->first_air_date) ({{ $recommendedShow->first_air_date->format('Y') }}) @endif
|
|
|
|
|
</small>
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
</a>
|
2025-02-10 01:58:12 +02:00
|
|
|
</div>
|
|
|
|
|
@endforeach
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|