@extends('frontend.layouts.app') @section('title', $title) @section('description', $description) @section('image', $image) @section('content') @php $assetPath = fn (string $path) => asset('frontend/' . ltrim($path, '/')); @endphp @include('frontend.layouts.breadcrumb', ['title' => $gallery->title]) Gallery {{ $gallery->title }} @if($gallery->description) {{ $gallery->description }} @endif @forelse($gallery->items as $item) @if($item->file_type === 'image') @elseif($item->file_type === 'video') @else @endif @if($item->title || $item->description) @if($item->title) {{ $item->title }} @endif @if($item->description) {{ \Illuminate\Support\Str::limit($item->description, 95) }} @endif @endif @empty No items in this gallery This gallery is empty at the moment. @endforelse @if($relatedGalleries->count() > 0) More Gallery Related Galleries @foreach($relatedGalleries as $relatedGallery) {{ $relatedGallery->title }} {{ $relatedGallery->items_count }} Photos @endforeach @endif @include('frontend.partials.newsletter') @endsection
{{ $gallery->description }}
This gallery is empty at the moment.