@extends('layouts.app') @section('title', $content->title) @section('content')
{{ $content->title }}

{{ $content->title }}

@if($content->type == 'series' || $content->type == 'anime') {{ $content->status == 'ongoing' ? 'Ongoing' : 'Completed' }} @endif {{ $content->release_year }} {{ $content->language }} @if(str_contains(strtolower($content->language), 'dub')) DUB @endif @if(str_contains(strtolower($content->language), 'sub')) SUB @endif

{{ $content->description }}

Genres: @foreach($content->genres as $genre) {{ $genre->name }}@if(!$loop->last), @endif @endforeach
Watch Now
@if($content->type != 'movie')

Episodes

@foreach($content->seasons as $season)

Season {{ $season->season_number }} @if($season->title) - {{ $season->title }} @endif

@foreach($season->episodes as $episode)
Ep {{ $episode->episode_number }}

{{ $episode->title }}

@endforeach
@endforeach
@endif

Comments

@auth
@csrf
@endauth @foreach($content->comments()->with('user')->latest()->get() as $comment)
{{ $comment->user->name }} {{ $comment->created_at->diffForHumans() }}

{{ $comment->body }}

@endforeach
@push('scripts') @endpush @endsection