diff --git a/resources/views/movie.blade.php b/resources/views/movie.blade.php index fca2c5f..a990f6e 100644 --- a/resources/views/movie.blade.php +++ b/resources/views/movie.blade.php @@ -7,6 +7,29 @@ @section('head') @endsection @@ -14,133 +37,139 @@ {{-- {!! getMovieMarkupData($movie) !!} --}} {{-- @endsection --}} @section('app') - + + + @if(isset($movie['backdrop']) && $movie['backdrop'] !== '') + + @endif + + - - - {{ str($movie['title'])->apa() }} - "{{ $movie['tagline'] }}" - - Home - Movies - {{$movie['title']}} - + + + {{ str($movie['title'])->apa() }} + @if($movie['tagline']) + "{{ $movie['tagline'] }}" + @endif + + Home + Movies + {{$movie['title']}} + + - - - - - - {{-- - - @if(isset($movie['backdrop']) && $movie['backdrop'] !== '') - - @endif - - - --}} - - - - Watch {{ str($movie['title'])->apa() }} + + + + + + + + Watch {{ str($movie['title'])->apa() }} - Type : Movie + Type : Movie Category: {{ $movie['genres'][0]['name'] }} - - - - - - - - {{$movie['vote_average']}} - - - - {{$movie['vote_count']}} views - - - - + + - - Share : + + + {{$movie['vote_average']}} + - @if (isset($movie['share']) && is_array($movie['share'])) + + + {{$movie['vote_count']}} views + + + + + + + + Share : + + @if (isset($movie['share']) && is_array($movie['share'])) @foreach ($movie['share'] as $share) @endforeach - @endif - + @endif + + - - - - - - - - - - - Details - {{ $movie['overview'] }} - - Genres:  - - @foreach($movie['genres'] as $genre) - {{ $genre['name'] }}@if(!$loop->last), @endif - @endforeach - - - - Language:  - - @foreach($movie['languages'] as $language) - {{ $language }}@if(!$loop->last), @endif - @endforeach - - - - - Cast & Crew - - - Cast: - - @foreach($movie['cast'] as $actor) - {{ $actor['name'] }}@if(!$loop->last), @endif - @endforeach - - - Director: - - @foreach($movie['crew']['directors'] as $actor) - {{ $actor['name'] }}@if(!$loop->last), @endif - @endforeach - - - @unless (empty($movie['crew']['producers'])) - - Producer: - - @foreach($movie['crew']['producers'] as $actor) - {{ $actor['name'] }}@if(!$loop->last), @endif - @endforeach - - @endunless - - - + + + + + + + + + Details + {{ $movie['overview'] }} + + + + Genres:  + + @foreach($movie['genres'] as $genre) + {{ $genre['name'] }}@if(!$loop->last), @endif + @endforeach + + + + Language:  + + @foreach($movie['languages'] as $language) + {{ $language }}@if(!$loop->last), @endif + @endforeach + + + + + + Cast & Crew + + + Cast: + + @foreach($movie['cast'] as $actor) + {{ $actor['name'] }}@if(!$loop->last), @endif + @endforeach + + + Director: + + @foreach($movie['crew']['directors'] as $actor) + {{ $actor['name'] }}@if(!$loop->last), @endif + @endforeach + + + @unless (empty($movie['crew']['producers'])) + + + Producer: + + @foreach($movie['crew']['producers'] as $actor) + {{ $actor['name'] }}@if(!$loop->last), @endif + @endforeach + + @endunless + + + + + + @@ -149,29 +178,26 @@ - - - - - - - - - Similar Titles + + + + + + Similar Titles + + + + + @foreach ($movie['similar'] as $item) + @include('components.title_card', ['data_text' => ucfirst($item['type'])]) + @endforeach + - - - - @foreach ($movie['similar'] as $item) - @include('components.title_card', ['data_text' => ucfirst($item['type'])]) - @endforeach - - - + -@endsection -@section('footer') + @endsection + @section('footer') -@endsection + @endsection
"{{ $movie['tagline'] }}"
{{ $movie['overview'] }}