This commit is contained in:
2025-08-15 19:10:52 +03:00
parent 34bcdb062e
commit 6f8fe9626c
5 changed files with 53 additions and 67 deletions
+9 -3
View File
@@ -37,12 +37,18 @@
<div class="card-body trending-movies">
@foreach($trendingMovies as $movie)
<div class="movie-item">
<img src="http://image.tmdb.org/t/p/w92/{{ $movie->poster_path }}" alt="{{ $movie->title }}">
<a href="{{ route('movie.show', $movie->slug) }}" title="{{ $movie->title }}">
<img src="http://image.tmdb.org/t/p/w92/{{ $movie->poster_path }}" alt="{{ $movie->title }}">
</a>
<div class="movie-info">
<h6>{{ $movie->title }}</h6>
<a href="{{ route('movie.show', $movie->slug) }}" title="{{ $movie->title }}">
<h6>
{{ $movie->title }}
</h6>
</a>
<div class="rating">
<span class="iconify" data-icon="mdi-star"></span>
{{ number_format($movie->vote_average, 1) }}
{{ number_format($movie->vote_average, 1) }} / {{ $movie->vote_count }}
</div>
</div>
</div>