@include('Partials.sidebar') @include('Partials.header') @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Community Page View All Community Page @csrf @method('PUT') Banner Section: Community Name: Choose a Banner Image: *Dimension: 1920px X 957px @if (isset($communities->banner_image) && !empty($communities->banner_image)) @else @endif Choose Image Slug: Second Section: Section Title: @php $secondSectionDescriptions = json_decode($secondSections->section_description, true); @endphp @foreach ($secondSectionDescriptions as $index => $secondSectionDescription) Section Description: {{ $secondSectionDescription ?? '' }} Remove @endforeach Add New Section Image *Dimension: 940px X 399px @if (isset($secondSections->section_image) && !empty($secondSections->section_image)) @else @endif Choose Image Features Section: Section Title: Feature Slides: @php $featuresslideContents = json_decode($featureSections->slide_content, true); @endphp @if (!empty($featuresslideContents) && count($featuresslideContents) > 0) @foreach ($featuresslideContents as $index => $featuresslides_content) Feature Name: Feature Description: {{ old('feature_description', $featuresslides_content['feature_description'] ?? '') }} Slide Image *Dimension: 1420px X 840px @if (isset($featuresslides_content['slide_image']) && !empty($featuresslides_content['slide_image'])) @else @endif Choose Image Remove Slide @endforeach @else Feature Name: Feature Description: Slide Image *Dimension: 1420px X 840px Choose Image Remove Slide @endif Add New Slide Thumb Images: @php $ThumbslideContents = json_decode($featureSections->slide_thumb_images, true); @endphp @foreach ($ThumbslideContents as $index => $ThumbslideContent) Choose a Slide Thumb Image: *Dimension: 1420px X 840px Choose Image Remove @endforeach Add New Location Section: Section Title: Section Description: {{ old('location_section_description', $locationSections->section_description ?? '') }} Location Cards: @php $locationContents = json_decode($locationSections->location_cards, true); @endphp @if (!empty($locationContents) && count($locationContents) > 0) @foreach ($locationContents as $index => $location_card) Location Name: Time: @if (isset($location_card['location_image']) && !empty($location_card['location_image'])) @else @endif Choose Image Remove Card @endforeach @else Location Name: Time: Choose Image Remove Card @endif Add New Properties Section: Section Title: Properties Cards: @php $propertiesCardContents = json_decode($collectionSections->card_content, true) ?? []; @endphp @if (count($propertiesCardContents) > 0) @foreach ($propertiesCardContents as $index => $properties_content) Property Name: Property Description: {{ old('property_description', $properties_content['property_description'] ?? '') }} Property Link: Choose an Image: *Dimension: 700px X 600px @if (isset($properties_content['image']) && !empty($properties_content['image'])) @else @endif Choose Image Remove Card @endforeach @else Property Name: Property Description: Property Link: Choose an Image: *Dimension: 700px X 600px Choose Image Remove Card @endif Add New Card Update @include('Partials.footer')