{{-- Page switcher --}}
{{-- ── Body: preview + panels ── --}}
@foreach ($pages as $slug => $def)
@endforeach
{{-- Device preview switcher (centred) --}}
@php
$devices = [
'desktop' => [
'Desktop',
' ',
],
'tablet' => [
'Tablet',
' ',
],
'mobile' => [
'Mobile',
' ',
],
];
@endphp
@foreach ($devices as $dk => [$dlabel, $dicon])
@endforeach
{{-- Autosave status pill --}}
{{ __('All changes saved') }}
{{-- Frontend on/off — when OFF, the public homepage redirects to login;
pricing / privacy / terms / other pages keep working. --}}
{{-- Homepage on/off — uses the shared admin .toggle component (CSS-driven, clear on/off).
When OFF the public homepage redirects to login; legal/pricing/other pages keep working. --}}
{{-- Live preview iframe — wrapper centres + sizes for device modes --}}
{{-- Right panel --}}