{{ $post->created_at?->diffForHumans() ?? '-'}}
{{ $post->post }}
@if(count($post->rating)>0)Rating: {{ $rating }} / 5
{{ $post->rating[0]->comment }}
@endif
{{-- Komentar --}}
{{ $c->user->name }}
{{ $c->comment }}
@if ($c->file) @if(Str::endsWith($c->file, ['.jpg', '.jpeg', '.png'])){{ $c->created_at?->diffForHumans() ?? '-' }}
Belum ada komentar.
@endforelse