{{-- /admin/settings/pwa — installable Progressive Web App manifest. Each field maps 1:1 to a `pwa_*` system_settings row. partials/pwa-meta.blade.php reads them on every request to emit the manifest link + theme-color meta. The `/manifest.json` route is generated dynamically from these same rows. --}}
@csrf @method('PATCH')
{{ __('Admin · Project settings') }}

{{ __('PWA') }} {{ __('settings') }}.

{{ __('Installable app manifest: name, icons, colors, display mode, and offline cache. Drives /manifest.json + the install prompt.') }}

{{ __('All settings') }}
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
{{ __('Please fix the highlighted fields:') }}
    @foreach ($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
{{ __('Installable app') }}

{{ __('PWA manifest') }}

{{-- App icon · 192×192 — upload (replaces the old URL field). --}}
{{ __('App icon') }} {{ __('· recommended 192×192 px PNG') }}
@if ($pwa['icon_192']) {{ __('App icon 192') }} @else {{ __('No icon yet') }} @endif
{{ __('Square PNG, 192×192 px. Used as the home-screen app icon.') }}
{{-- App icon · 512×512 — upload. --}}
{{ __('Large icon / splash') }} {{ __('· recommended 512×512 px PNG') }}
@if ($pwa['icon_512']) {{ __('App icon 512') }} @else {{ __('No icon yet') }} @endif
{{ __('Square PNG, 512×512 px. Used for the install splash + high-DPI screens.') }}
{{ __('Live manifest URL') }}
{{ url('/manifest.json') }}
{{ __('View JSON') }}