@extends('frontend.layouts.app') @php use Illuminate\Support\Str; $metaDescription = $kund->seo_description ?: Str::limit(strip_tags($kund->short_description ?: $kund->description ?: ''), 155); $cover = $kund->featured_image ?: $kund->image; $mapHref = $kund->map_url ?: (($kund->latitude !== null && $kund->longitude !== null) ? 'https://maps.google.com/?q='.(float) $kund->latitude.','.(float) $kund->longitude : null); @endphp @section('title', $kund->seo_title ?: $kund->name.' — '.($kund->place?->name ?? 'Braj')) @section('meta_description', e($metaDescription)) @section('og_title', $kund->seo_title ?: $kund->name.' | The Braj') @section('og_description', e($metaDescription)) @if($kund->canonical_url) @section('canonical', $kund->canonical_url) @endif @if($kund->og_image) @section('og_image', Str::startsWith($kund->og_image, ['http://', 'https://']) ? $kund->og_image : asset($kund->og_image)) @elseif($cover) @section('og_image', Str::startsWith($cover, ['http://', 'https://']) ? $cover : asset($cover)) @endif @section('jsonld') @endsection @section('content')
@include('frontend.shared._report', ['type' => 'kund', 'id' => $kund->id])
@if($cover)
{{ $kund->seo_image_alt ?: $kund->name }}
@endif

{{ $kund->name }}

@if($kund->place){{ $kund->place->name }}@endif

@if($kund->short_description)

{{ $kund->short_description }}

@endif
@if($mapHref) View Map & Directions @endif @if($kund->place) Back to {{ $kund->place->name }} @endif
@php $sections = [ 'Introduction' => $kund->description, 'History' => $kund->history, 'Religious Significance' => $kund->significance, 'Traditions & Special Features' => $kund->traditions, 'Festivals & Occasions' => $kund->festivals, ]; @endphp @foreach($sections as $label => $html) @if($html && trim(strip_tags($html)) !== '')

{{ $label }}

{!! $html !!}
@endif @endforeach @if($kund->bathing_info || ($kund->rituals && trim(strip_tags($kund->rituals)) !== '') || $kund->aarti_schedule || $kund->timing_note)

Rituals, Bathing & Aarti

@if($kund->bathing_info)

Bathing Information

{{ $kund->bathing_info }}
@endif @if($kund->rituals && trim(strip_tags($kund->rituals)) !== '')

Rituals & Activities

{!! $kund->rituals !!}
@endif @if($kund->aarti_schedule)

Aarti Schedule

{{ $kund->aarti_schedule }}
@endif @if($kund->timing_note)

{{ $kund->timing_note }}

@endif @if($kund->timings_verified_on || $kund->timings_source)

Information last verified @if($kund->timings_verified_on) on {{ $kund->timings_verified_on->format('d M Y') }}@endif @if($kund->timings_source) (source: {{ $kund->timings_source }})@endif — please reconfirm locally before visiting.

@endif
@endif @if($kund->safety_info && trim(strip_tags($kund->safety_info)) !== '')

Safety Information

{!! $kund->safety_info !!}
@endif @if($kund->address || $kund->phone || $kund->website || ($kund->latitude !== null && $kund->longitude !== null))

Location & Contact

@if($kund->address)
{{ $kund->address }}@if($kund->place), {{ $kund->place->name }}@endif
@endif @if($kund->phone)
{{ $kund->phone }}
@endif @if($kund->website)
Official Website
@endif
@endif @if(($kund->visitor_guidelines && trim(strip_tags($kund->visitor_guidelines)) !== '') || $kund->photography_rules || $kund->entry_fee)

Visitor Information

@if($kund->visitor_guidelines && trim(strip_tags($kund->visitor_guidelines)) !== '')
{!! $kund->visitor_guidelines !!}
@endif @if($kund->photography_rules)

Photography: {{ $kund->photography_rules }}

@endif @if($kund->entry_fee)

Entry Fee: {{ $kund->entry_fee }}

@endif
@endif @if($related->isNotEmpty())

More Kunds in {{ $kund->place?->name }}

@foreach($related as $rel) @if($rel->image) {{ $rel->name }} @endif
{{ $rel->name }}
@endforeach
@endif @include('frontend.partials.related-stories', ['stories' => $entityStories])
@endsection