@extends('layouts.dashboard')
@section('content')
@php
/* The gallery is one JSON list now — posted as footer_gallery_keep[] / footer_gallery_new[] and
stored under a single key. The numbered footer_gallery_1..N settings it replaced are no longer
written by anything, so the "is this slot custom?" test that read them could only ever answer no;
it and the defaults it needed are gone with them. Each image carries its own X instead. */
// One section-visibility toggle (Bootstrap form-switch, re-skinned by app.css).
$sw = static function (string $name, string $label, string $help = '', string $default = '1'): void {
$on = setting($name, $default) === '1';
@endphp