@extends('layouts.layout') @push('head') {{-- @vite(['resources/scss/animate.scss']) --}} @endpush @section('app')
@foreach ($hero as $slider)

{{ __($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')
@endforeach
@include('sections.featured', ['items' => $trending_movies, 'title' => 'Featured'])
@include('sections.single', ['item' => $trending_movies[6]]) @include('sections.items', ['items' => $popular_movies, 'title' => 'Popular Movies']) @include('sections.single', ['item' => $trending_movies[3]]) @include('sections.top', ['col1_title' => 'Top Movies', 'col1_items' => collect($trending_movies)->take(4), 'col2_title' => 'Top Series', 'col2_items' => collect($trending_shows)->take(4), 'item' => $trending_movies[2]]) @include('sections.trailers') @include('sections.single', ['item' => $trending_movies[5]])
@endsection @section('footer') @vite(['resources/js/home.js']) @endsection