@if($blogDetails['image']) blog-image @endif

{{ $blogDetails['title'] }}

  • {{ \Carbon\Carbon::parse($blogDetails['post_date'])->format('d M Y') }}
  • {{sizeof($allComments)}} Comments
  • @foreach (json_decode($blogDetails['tag'], true) as $tag) #{{ $tag }} @endforeach
{!!$blogDetails['description']!!}
{{--

Share the post

--}}

About Author

Darren Elder
Dr. {{ $blogDetails['doctor_name'] }} @if($blogDetails['doctorAbout'] != null)

{{ $blogDetails['doctorAbout'] }}

@else

Not Uploaded

@endif
@if($allComments && sizeof($allComments) > 0)

Comments ({{ sizeof($allComments) }})

@else

No Comments Available

@endif
    @if($allComments && sizeof($allComments) > 0) @foreach($allComments as $comment)
  • {{$comment['name']}}
    {{ $comment['name'] }}

    {{ $comment['comment'] }}

    {{\Carbon\Carbon::parse($comment['created_at'])->format('d M Y') }}

    {{-- Reply --}}
    @if($comment['doctorComment'] != null)
    • {{$blogDetails['doctor_name']}}
      {{ $blogDetails['doctor_name'] }}

      {{ $comment['doctorComment'] }}

      {{\Carbon\Carbon::parse($comment['replyDate'])->format('d M Y') }}

      {{-- Reply --}}
    @endif
  • @endforeach @endif

Leave Comment

@error('name') {{ $message }} @enderror
@error('email_id') {{ $message }} @enderror
@error('comment') {{ $message }} @enderror
@if($submitComment != null && $submitComment) @elseif($submitComment != null && !$submitComment) @endif