@extends('admin.layout') @section('title', 'Website Content') @section('content')

Website content

Update the public homepage while keeping its existing design. Changes are published when you save. Verify impact figures and provide their source and reporting date before publication.

@if (session('status'))
{{ session('status') }}
@endif @if (session('warning')) @endif @if ($errors->any()) @endif
@csrf @method('PUT') @foreach ($fields as $section => $sectionFields)

{{ $section }}

@foreach ($sectionFields as $key => [$label, $default, $type])
@if ($type === 'textarea') @else @endif
@endforeach
@endforeach

Images

Use JPG, PNG, or WebP images up to 3 MB. Replacing or deleting an image updates the live homepage when saved. Alternative text helps visitors using screen readers.

@foreach ($images as $key => $image)
@if ($image['url']) {{ old('content.'.$image['alt'], $content[$image['alt']]) }} @else @endif @if ($image['url']) @endif
@endforeach
Cancel
@endsection