some progress

This commit is contained in:
2025-09-06 14:41:10 +03:00
parent d709de39dc
commit 7e0e330ef6
20 changed files with 1051 additions and 485 deletions
@@ -1,31 +1,28 @@
<div>
<div class="row recommended-show-slider">
@foreach($recommendedShows as $recommendedShows)
<div class="col-md-2">
<div class="movie-card">
<a href="{{ route('show.show', $recommendedShows->slug) }}" title="{{ $recommendedShows->name }}">
<img
src="http://image.tmdb.org/t/p/w154/{{ $recommendedShows->poster_path }}"
alt="{{ $recommendedShows->title }}"
title="{{ $recommendedShows->title }} ({{ $recommendedShows->first_air_date->format('Y') }})"
class="img img-fluid"
>
</a>
<ul>
<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="">
{{ $recommendedShows->vote_average }} <span class="iconify" data-icon="mdi-star"></span>
</a>
</li>
</ul>
</div>
<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>
</div>
@endforeach
</div>