@foreach($comments as $comment) {{-- {{dd($comments)}} --}} @php $dep = $depth-1; @endphp
parent_id != null) style="margin-left:40px;" @endif>
@if($comment->user_info['photo']) {{ Storage::url($comment->user_info['photo']) }} @else @endif
{{$comment->created_at->format('g: i a')}} On {{$comment->created_at->format('M d Y')}}
{{$comment->user_info['name']}}
{{$comment->comment}}
{{-- @if($dep) Like Reply @endif --}}
@include('frontend.pages.comment', ['comments' => $comment->replies, 'depth' => $dep])
@endforeach