@foreach($comments as $comment) {{-- {{dd($comments)}} --}} @php $dep = $depth-1; @endphp
parent_id != null) style="margin-left:40px;" @endif>
@if($comment->user_info['photo']) # @else @endif
{{-- {{$post}} --}}

{{$comment->user_info['name']}} At {{$comment->created_at->format('g: i a')}} On {{$comment->created_at->format('M d Y')}}

{{$comment->comment}}

@if($dep) @endif
@include('frontend.pages.comment', ['comments' => $comment->replies, 'depth' => $dep])
@endforeach