{{-- Colores del skin --}} {{-- Header Optimizado para Page Settings --}} @if (Session::has('success'))
{!! theme()->getSvgIcon('icons/duotune/art/art005.svg', 'svg-icon svg-icon-2tx svg-icon-success me-3 me-md-4') !!}

{{ __('Home Page updated!') }}

{{ Session::get('success') }}
@endif

{{ __('Configuración de Mantenimiento') }}

{{ __('Activa/desactiva el modo mantenimiento para cada página') }}

{{-- Info callout: top, full width, scannable (UI/UX: primary content = toggles) --}}
{{ __('Por sección') }} {{ __('Activa el switch de cada página para mostrar solo esa sección en mantenimiento. El resto del sitio sigue visible.') }}
{{ __('General (abajo)') }} {{ __('Si está activo, todo el sitio queda en mantenimiento.') }}
{{ __('Páginas principales') }}
@csrf
{{ __('Página Principal') }}
{{ __('Página de inicio del sitio web') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@php $aboutVal = \App\Models\Setting::where('key', 'about_maintenance')->first()?->value ?? 0; @endphp
@csrf
{{ __('Sobre Nosotros') }}
{{ __('Página de información de la empresa') }}
@csrf
{{ __('Contacto') }}
{{ __('Página de contacto y formularios') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
{{ __('Módulos') }}
@if(is_module_active('menu'))
@csrf
{{ __('Menu') }}
{{ __('Menu and food/drinks section') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('services'))
@csrf
{{ __('Servicios') }}
{{ __('Página de servicios y capacidades') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('blog'))
@csrf
{{ __('Blog') }}
{{ __('Página de blog y artículos') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('gallery'))
@csrf
{{ __('Galería') }}
{{ __('Página de galería de imágenes') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('faqs'))
@csrf
{{ __('Preguntas Frecuentes') }}
{{ __('Página de preguntas frecuentes') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('team'))
@csrf
{{ __('Equipo') }}
{{ __('Página del equipo de trabajo') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('projects'))
@csrf
{{ __('Proyectos') }}
{{ __('Página de proyectos y obras') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('products'))
@csrf
{{ __('Products') }}
{{ __('Products catalogue') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('news'))
@csrf
{{ __('News') }}
{{ __('News and articles') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif @if(is_module_active('references'))
@csrf
{{ __('References') }}
{{ __('References and portfolio') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@endif

@csrf
{{ __('Mantenimiento general (todo el sitio)') }}
{{ __('Si está activo, todo el sitio muestra mantenimiento. Desactívalo para que solo apliquen los mantenimientos por sección de arriba.') }}
first()?->value ?? '') ? 'checked' : '' }} onclick="changeVal(event)" />
@push('styles') @endpush