From 6d042d8a75742b74f9d4caa67d295894d5841d5b Mon Sep 17 00:00:00 2001 From: Constantin Plaiasu Date: Mon, 26 Aug 2024 21:04:04 +0300 Subject: [PATCH 1/3] raw movie tpl copy --- resources/views/show.blade.php | 197 +++++++++++++++++++++++++++++---- 1 file changed, 177 insertions(+), 20 deletions(-) diff --git a/resources/views/show.blade.php b/resources/views/show.blade.php index b48906d..f124fd9 100644 --- a/resources/views/show.blade.php +++ b/resources/views/show.blade.php @@ -1,18 +1,184 @@ - @extends('layouts.layout') - @section('schema') - @foreach($meta['schema'] as $value) - - @endforeach - @endsection -{{-- @section('head') +@extends('layouts.layout') +@section('schema') +@foreach($meta['schema'] as $value) + +@endforeach +@endsection +@section('head') + + -@endsection --}} +@endsection {{-- @section('head') --}} -{{-- {!! getMovieMarkupData($movie) !!} --}} +{{-- {!! getMovieMarkupData($show) !!} --}} {{-- @endsection --}} +@section('app') +
+
+ {{ str($show['title'])->apa() }} ({{ $show['year'] }}) +
+
+
+
+

{{ str($show['name'])->apa() }}

+ @if($show['tagline']) +

"{{ $show['tagline'] }}"

+ @endif + +
+
+
+
+ +
+
+
+
+
+
+
+

Watch {{ str($show['name'])->apa() }}

+ + Type : Movie + Category: {{ $show['genres'][0]['name'] }} + +
+
+
+ + + + {{$show['vote_average']}} + + + + + {{$show['vote_count']}} views + + + + +
+ +
    +
  • Share :
  • + + @if (isset($show['share']) && is_array($show['share'])) + @foreach ($show['share'] as $share) + +
  • + +
  • + @endforeach + @endif +
+
+
+ +
+
+
+
+
+
+
+
+

Details

+

{{ $show['overview'] }}

+
    + +
  • + Genres:  + + @foreach($show['genres'] as $genre) + {{ $genre['name'] }}@if(!$loop->last), @endif + @endforeach + +
  • +
  • + Language:  + + @foreach($show['languages'] as $language) + {{ $language }}@if(!$loop->last), @endif + @endforeach + +
  • +
+
+
+

Cast & Crew

+
    +
  • + Cast: + + @foreach($show['cast'] as $actor) + {{ $actor['name'] }}@if(!$loop->last), @endif + @endforeach +
  • +
  • + Director: + + @foreach($show['crew']['directors'] as $actor) + {{ $actor['name'] }}@if(!$loop->last), @endif + @endforeach + +
  • + @unless (empty($show['crew']['producers'])) + +
  • + Producer: + + @foreach($show['crew']['producers'] as $actor) + {{ $actor['name'] }}@if(!$loop->last), @endif + @endforeach +
  • + @endunless + + +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+

Similar Titles

+
+
+
+
+ @foreach ($show['similar'] as $item) + @include('components.title_card', ['data_text' => ucfirst($item['type'])]) + @endforeach +
+
+
+ + + @endsection + @section('footer') + @vite(['resources/js/watch.js']) + + @endsection + @section('content')