This commit is contained in:
2025-02-10 01:58:12 +02:00
parent 25d99e7b72
commit 87bbfc33d3
242 changed files with 38662 additions and 99 deletions
@@ -0,0 +1,55 @@
<div>
<div class="info">
<strong>Episode run time</strong>:
@if($show->episode_run_time)
{{ $show->episode_run_time }} minutes
@else
N/A
@endif
</div>
<div class="info">
<strong>First air date</strong>: {{ $show->first_air_date->format('jS \o\f F, Y') }}
</div>
@if($show->last_air_date)
<div class="info">
<strong>Last air date</strong>: {{ $show->last_air_date->format('jS \o\f F, Y') }}
</div>
@endif
@if($show->genres)
<div class="info">
<strong>Genres</strong>:
@foreach($show->genres as $genre)
<a href="">{{ $genre->name }}</a>
@endforeach
</div>
@endif
@if($show->networks)
<div class="info">
<strong>Networks</strong>:
@foreach($show->networks as $network)
<a href="">{{ $network->name }}</a>
@endforeach
</div>
@endif
<div class="info">
<strong>Seasons</strong>: {{ $show->number_of_seasons }} /
<strong>Episodes</strong>: {{ $show->number_of_episodes }}
</div>
<div class="info">
<strong>Status</strong>: {{ $show->status }}
</div>
<div class="info">
<strong>Languages</strong>:
@foreach((is_array($show->languages) ? $show->languages : json_decode($show->languages)) as $language)
{{ $language }}@if(!$loop->last), @endif
@endforeach
</div>
@if($show->productionCompanies)
<div class="info">
<strong>Production companies</strong>:
@foreach($show->productionCompanies as $productionCompany)
{{ $productionCompany->name }}
@endforeach
</div>
@endif
</div>