@php
$fields = [
['icon' => 'fas fa-tag', 'label' => __('Name'), 'value' => $playground->Name, 'color' => ''],
['icon' => 'fas fa-city', 'label' => __('City'), 'value' => $playground->City, 'color' => ''],
['icon' => 'fas fa-user-tie', 'label' => __('Owner'), 'value' => $playground->Owner, 'color' => ''],
['icon' => 'fas fa-th-large', 'label' => __('Category'), 'value' => $playground->category?->name,'color' => ''],
['icon' => 'fas fa-leaf', 'label' => __('Grass Type'), 'value' => $playground->Grass_Type, 'color' => ''],
['icon' => 'fas fa-lock-open', 'label' => __('Accessibility'), 'value' => $playground->Accessibility, 'color' => ''],
['icon' => 'fas fa-phone', 'label' => __('Telephone'), 'value' => $playground->Telephone, 'color' => ''],
['icon' => 'fas fa-envelope', 'label' => __('Email'), 'value' => $playground->Email, 'color' => ''],
['icon' => 'fas fa-map-marker-alt', 'label' => __('Address'), 'value' => $playground->Address, 'color' => ''],
['icon' => 'fas fa-compass', 'label' => __('Latitude'), 'value' => $playground->Latitude, 'color' => ''],
['icon' => 'fas fa-compass', 'label' => __('Longitude'), 'value' => $playground->Longitude, 'color' => ''],
['icon' => 'fas fa-toggle-on', 'label' => __('Status'), 'value' => __($playground->status), 'color' => $playground->status === 'active' ? 'bg-success' : ($playground->status === 'inactive' ? 'bg-danger' : 'bg-warning')],
];
@endphp
@foreach($fields as $field)
{{ $field['label'] }}
{{ $field['value'] ?: '—' }}
@endforeach
{{-- About - full width --}}
@if($playground->About)
{{ __('About') }}
{{ $playground->About }}
@endif