@extends('includes.layouts')
@section('content')
@if($banner_movies->count())
@foreach($banner_movies as $movie)
{{ Str::limit($movie->title, 20) }}
@if($movie->imdb_rating)
{{ $movie->imdb_rating }}/10
@endif
{{ $movie->rated }}
{{ $movie->duration }}
{{ Str::limit($movie->description, 200) }}
Distribution: {{ $movie->actors }}
@if($movie->categories->count())
Genre: @foreach($movie->categories as $movie_category) {{ $movie_category->category->name }} @if(!$loop->last) , @endif @endforeach
@endif
@endforeach
@endif
@if($latest_movies->count())
@foreach($latest_movies as $movie)
-
@endforeach
@endif
@if($popular_shows->count())
@foreach($popular_shows as $popular_show)
-
{{ $popular_show->duration }}
@endforeach
@endif
@if($suggestion_movies->count())
@foreach($suggestion_movies as $suggestion_movie)
-
{{ $suggestion_movie->duration }}
@endforeach
@endif
@if($trending_musics->count())
@foreach($trending_musics as $trending_music)
-
{{ $trending_music->duration }}
@endforeach
@endif
@endsection