@php $photos = App\Models\GalleryPhoto::orderBy('id', 'desc')->get(); @endphp @extends('layouts.webfront.page-details') @section('header_title', 'GELERI FOTO') @section('header_url_back', '/') @section('styles') @endsection @section('content')
@foreach ($photos as $photo)
{{ $photo->kategori }}
{{ $photo->keterangan }}
{{ Carbon\Carbon::parse($photo->created_at)->diffForHumans() }}
@endforeach
@endsection @section('modal') @endsection @section('scripts') @endsection