@extends('layouts.frontend.app') @push('meta') @endpush @section('title',$blog->title) @push('css') @endpush @section('content')

{{$blog->title}}

{{$blog->created_at}} {{$blog->user->name}}

{!! $blog->description !!}

@forelse ($blog->comments as $comment)
Avatar
{{$comment->user->name}}
@auth reply @else reply @endauth

{{$comment->body}}

{{$comment->created_at->diffForHumans()}}

@forelse ($comment->replies as $reply)
Avatar
{{$reply->user->name}}

{{$reply->body}}

{{$reply->created_at->diffForHumans()}}

@empty @endforelse
@empty

Comments not available

@endforelse
@auth
@csrf
@error('comment') {{$message}} @enderror
@endauth
@endsection @push('js') @auth @endauth @endpush