@extends('layouts.site') @section('title', $destination->name . ' - Visit Sri Lanka 360') @php $cover = $destination->cover_image ? asset('storage/' . ltrim($destination->cover_image, '/')) : null; $row = collect($destination->gallery_row ?? [])->take(3); $grid = collect($destination->gallery_grid ?? []); @endphp @section('content') {{-- HERO --}}
@if($cover) {{ $destination->name }} @else
@endif
{{ strtoupper($destination->type ?? 'Destination') }}

{{ $destination->name }}

{{-- CONTENT + SIDEBAR --}}
{{-- MAIN --}}

Epic {{ $destination->name }}

@if($destination->excerpt)

{{ $destination->excerpt }}

@endif {{-- rich content --}} @if($destination->content)
{!! $destination->content !!}
@endif {{-- 3 image row --}} @if($row->count())
@foreach($row as $img) @php $src = !empty($img['image']) ? asset('storage/' . ltrim($img['image'], '/')) : null; @endphp
@if($src) @endif
@endforeach
@endif {{-- another section title like screenshot --}}

Municipalities

Explore areas, viewpoints, and local highlights across {{ $destination->name }}.

{{-- gallery grid (masonry-like) --}} @if($grid->count())
@foreach($grid as $img) @php $src = !empty($img['image']) ? asset('storage/' . ltrim($img['image'], '/')) : null; @endphp
@if($src) @endif
@endforeach
@endif
{{-- SIDEBAR --}}
@endsection