From 2b9985bbc7a1aaf31132b75a877f25d892ff2a0e Mon Sep 17 00:00:00 2001 From: Arya Dwi Putra Date: Tue, 2 Dec 2025 08:04:49 +0700 Subject: [PATCH] Revamp public asset view with marketplace-style photo gallery --- .../views/pages/landing/asset-show.blade.php | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/resources/views/pages/landing/asset-show.blade.php b/resources/views/pages/landing/asset-show.blade.php index 1f7cf08..05a0390 100644 --- a/resources/views/pages/landing/asset-show.blade.php +++ b/resources/views/pages/landing/asset-show.blade.php @@ -3,7 +3,7 @@ @section('content')
-
+
Asset Detail @@ -44,15 +44,17 @@
-
+ @php $firstPhoto = $asset->photos->first(); @endphp +
+ foto aset +
+
@forelse($asset->photos as $photo) -
- - foto aset - -
+ @empty -
Belum ada foto aset.
+ Belum ada foto aset. @endforelse
@@ -61,4 +63,18 @@
+ +@section('scripts') + +@endsection @endsection