@extends('layouts.layout') @push('head') {{-- --}} @endpush @section('app')
@foreach ($hero as $slider) {{-- {{dd($slider)}} --}} {{-- @if ($slider->caption_show != 1) @else --}}

{{ __($slider['title']) }}

    @if($slider['vote_average'] && $slider['vote_average'] != 0)
  • ({{$slider['vote_average'] ?? 'NA'}})
  • @endif @foreach($slider['genres'] as $genre)
  • {{ $genre['name'] }}
  • @endforeach

{{ __($slider['overview']) }}

{{-- @if ($slider->item->item_type == 3) --}}
@lang('Watch')
{{-- @else
@lang('Watch Now')
@endif --}}
{{-- @endif --}} @endforeach
@include('sections.featured', ['items' => $trending_movies, 'title' => 'Featured Items'])
@include('sections.single', ['item' => $trending_movies[2]]) @include('sections.items', ['items' => $popular_movies, 'title' => 'Popular Movies']) @include('sections.single', ['item' => $trending_movies[3]]) @include('sections.top', ['col1_title' => 'Trending Videos', 'col1_items' => collect($trending_movies)->take(4), 'col2_title' => 'Top Rated', 'col2_items' => collect($trending_shows)->take(4), 'item' => $trending_movies[4]]) @include('sections.trailers') @include('sections.single', ['item' => $trending_movies[5]])
@endsection @section('footer') @endsection