@extends('layouts.app')
@section('title', 'Attractions')
@section('nav_attractions', 'bg-teal-50 text-teal-700 font-semibold')
@section('page_title', 'CDO Attractions')
@section('page_subtitle', 'Local guide shown on the public /attractions page')
@section('content')
@if(session('success'))
{{ session('success') }}
@endif
@if($errors->any())
{{ $errors->first() }}
@endif
@php $inp = 'w-full border-[0.5px] border-gray-200 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-teal-500/20 focus:border-teal-400'; @endphp
@if($attractions->isEmpty())
No attractions yet. Add one above.
@else
@foreach($attractions as $a)
@if($a->image_path)
 }})
@else
@endif
{{ $a->name }}
@if($a->category){{ $a->category }}@endif
@if(!$a->active)Hidden@endif
@if($a->distance_label)
{{ $a->distance_label }}
@endif
@if($a->description)
{{ $a->description }}
@endif
@endforeach
@endif
@endsection