@if(!empty($item->gambar) && is_array($item->gambar)) @php $firstImage = $item->gambar[0]; @endphp @endif {{ $item->kategori->nama_kategori }} {{ $item->title }} {{ $item->user->name }} {{ $item->created_at->translatedFormat('j F Y') }}