progress
This commit is contained in:
@@ -12,6 +12,13 @@
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<img src="http://image.tmdb.org/t/p/w185/{{ $celebrity->profile_path }}" alt="">
|
||||
<a href="https://www.themoviedb.org/person/{{ $celebrity->tmdb_id }}" target="_blank">TMDB</a>
|
||||
@if($celebrity->homepage)
|
||||
| <a href="{{ $celebrity->homepage }}" target="_blank">TMDB</a>
|
||||
@endif
|
||||
@if($celebrity->imdb_id)
|
||||
| <a href="https://www.imdb.com/name/{{ $celebrity->imdb_id }}" target="_blank">IMDB</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
@if($celebrity->birtday)
|
||||
@@ -32,9 +39,62 @@
|
||||
@endforeach
|
||||
</p>
|
||||
@endif
|
||||
popularity / <br>
|
||||
tmdb/imdb/homepage <br>
|
||||
movies
|
||||
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link active" id="movies-tab" data-bs-toggle="tab" data-bs-target="#movies-tab-pane" type="button" role="tab" aria-controls="movies-tab-pane" aria-selected="true">Movies</button>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link" id="shows-tab" data-bs-toggle="tab" data-bs-target="#shows-tab-pane" type="button" role="tab" aria-controls="shows-tab-pane" aria-selected="false">Shows</button>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade show active" id="movies-tab-pane" role="tabpanel" aria-labelledby="movies-tab" tabindex="0">
|
||||
<div class="row">
|
||||
@foreach($moviesByDepartments as $department => $movies)
|
||||
<div class="celebrity-department">
|
||||
<h3>{{ $department }}</h3>
|
||||
</div>
|
||||
@foreach($movies as $movie)
|
||||
<div class="col-md-2">
|
||||
<div class="celebrity-movie-small">
|
||||
<a href="{{ route('movie.show', $movie->slug) }}">
|
||||
<img
|
||||
src="http://image.tmdb.org/t/p/w185/{{ $movie->poster_path }}"
|
||||
alt="{{ $movie->title }}"
|
||||
title="{{ $movie->title }}"
|
||||
class="img img-fluid"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="shows-tab-pane" role="tabpanel" aria-labelledby="shows-tab" tabindex="0">
|
||||
<div class="row">
|
||||
@foreach($showsByDepartment as $department => $shows)
|
||||
<div class="celebrity-department">
|
||||
<h3>{{ $department }}</h3>
|
||||
</div>
|
||||
@foreach($shows as $show)
|
||||
<div class="col-md-2">
|
||||
<div class="celebrity-movie-small">
|
||||
<a href="{{ route('show.show', $show->slug) }}">
|
||||
<img
|
||||
src="http://image.tmdb.org/t/p/w185/{{ $show->poster_path }}"
|
||||
alt="{{ $show->name }}"
|
||||
title="{{ $show->name }}"
|
||||
class="img img-fluid"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user