@extends('admin.layouts.app') @section('title', 'Edit About Section - ' . ucfirst(str_replace('_', ' ', $section->section_key))) @section('content')

Edit About Section

@if (session('success')) @endif @if ($errors->any()) @endif
@csrf @method('PUT')
Edit {{ ucfirst(str_replace('_', ' ', $section->section_key)) }} Section
@error('title')
{{ $message }}
@enderror
@error('content')
{{ $message }}
@enderror
You can use HTML tags for formatting.
@if ($section->section_key === 'about_hero')
@elseif($section->section_key === 'about_story')
@php $stats = $section->data['stats'] ?? [] @endphp @foreach ($stats as $index => $stat)
@endforeach
@elseif($section->section_key === 'about_cta')
@php $buttons = $section->data['buttons'] ?? [] @endphp @foreach ($buttons as $index => $button)
@endforeach
@endif
Section Settings
is_active) ? 'checked' : '' }}>
Lower numbers appear first
This identifies the section in the template
Actions
@push('scripts') @endpush @endsection