This commit is contained in:
2025-02-16 21:11:07 +02:00
parent 87bbfc33d3
commit e8d7e6a1c4
253 changed files with 3879 additions and 72 deletions
@@ -3,12 +3,21 @@
@foreach($recommendations as $recommendation)
<div class="col-md-1">
<a href="{{ route('movie.show', $recommendation->slug) }}">
<img
src="http://image.tmdb.org/t/p/w185/{{ $recommendation->poster_path }}"
alt="{{ $recommendation->title }}"
title="{{ $recommendation->title }} ({{ $recommendation->release_date->format('Y') }})"
class="img img-fluid"
>
@if($recommendation->poster_path)
<img
src="http://image.tmdb.org/t/p/w185/{{ $recommendation->poster_path }}"
alt="{{ $recommendation->title }}"
title="{{ $recommendation->title }} @if($recommendation->release_date) ({{ $recommendation->release_date->format('Y') }}) @endif"
class="img img-fluid"
>
@else
<span
class="no-poster"
title="{{ $recommendation->title }} @if($recommendation->release_date) ({{ $recommendation->release_date->format('Y') }}) @endif"
>
{{ $recommendation->title }} @if($recommendation->release_date) ({{ $recommendation->release_date->format('Y') }}) @endif
</span>
@endif
</a>
</div>
@endforeach