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,11 +1,15 @@
<div>
<div class="row">
@foreach($videos as $video)
<div class="col-mc-2">
<a href="https://www.youtube.com/watch?v={{ $video->key }}" data-toggle="lightbox">
<img src="https://i3.ytimg.com/vi/{{ $video->key }}/mqdefault.jpg" alt="">
</a>
</div>
@endforeach
@if($videos->count())
@foreach($videos as $video)
<div class="col-mc-2">
<a href="https://www.youtube.com/watch?v={{ $video->key }}" data-toggle="lightbox">
<img src="https://i3.ytimg.com/vi/{{ $video->key }}/mqdefault.jpg" alt="">
</a>
</div>
@endforeach
@else
<em>This movies does not have videos attached to it at the moment!</em>
@endif
</div>
</div>
@@ -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>
@@ -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>