@php($title = $destination->meta_title ?: $destination->name) @php($metaDescription = $destination->meta_description ?: ($destination->short_description ?: 'Detail destinasi wisata Cilacap.')) @extends('layouts.app', ['settings' => $settings, 'title' => $title, 'metaDescription' => $metaDescription]) @section('content') @php($images = is_array($destination->images) ? $destination->images : []) @php($mapsEmbedUrl = $destination->maps_embed_url)
Destinasi Wisata / {{ $destination->name }}

{{ $destination->name }}

@if($destination->category) {{ $destination->category->name }} @endif @if($destination->location_zone) {{ config('cilacap.location_zones')[$destination->location_zone] ?? $destination->location_zone }} @endif @if($destination->ticket_price !== null) Tiket: Rp {{ number_format($destination->ticket_price) }} @endif
@forelse($images as $path)
@if(Str::startsWith($path, 'http')) {{ $destination->name }} @elseif(Str::startsWith($path, 'img/')) {{ $destination->name }} @else {{ $destination->name }} @endif
@empty
@endforelse
Deskripsi
{!! nl2br(e($destination->description ?: $destination->short_description)) !!}
@endsection