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,31 @@
<div>
<div class="cast-list">
@foreach($peopleByDepartment as $department => $personInfo)
<div class="department">
{{ $department }}
<hr>
<div class="persons">
<div class="row">
@foreach($personInfo as [$person, $character])
<div class="col-md-3">
<div class="person">
@if($person->profile_path == null)
@if($person->gender == 2)
<img src="/img/no_avatar_male.png" alt="" class="img img-fluid float-start">
@else
<img src="/img/no_avatar_female.png" alt="" class="img img-fluid float-start">
@endif
@else
<img src="http://image.tmdb.org/t/p/w185/{{ $person->profile_path }}" alt="" class="img img-fluid float-start">
@endif
<a href="{{ route('celebrity.show', $person->slug) }}">{{ $person->name }}</a> <br>
{{ $character }}
</div>
</div>
@endforeach
</div>
</div>
</div>
@endforeach
</div>
</div>
@@ -0,0 +1,31 @@
<div>
<div class="cast-list">
@foreach($peopleByDepartment as $department => $personInfo)
<div class="department">
{{ $department }}
<hr>
<div class="persons">
<div class="row">
@foreach($personInfo as [$person, $character])
<div class="col-md-3">
<div class="person">
@if($person->profile_path == null)
@if($person->gender == 2)
<img src="/img/no_avatar_male.png" alt="" class="img img-fluid float-start">
@else
<img src="/img/no_avatar_female.png" alt="" class="img img-fluid float-start">
@endif
@else
<img src="http://image.tmdb.org/t/p/w185/{{ $person->profile_path }}" alt="" class="img img-fluid float-start">
@endif
<a href="">{{ $person->name }}</a> <br>
{{ $character }}
</div>
</div>
@endforeach
</div>
</div>
</div>
@endforeach
</div>
</div>
@@ -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>
@@ -0,0 +1,3 @@
<div>
{{-- The whole world belongs to you. --}}
</div>