@extends('layouts.app') @section('site_title', formatTitle([__('Progressive web app'), __('Settings'), config('settings.title')])) @section('content')
@include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('admin.dashboard'), 'title' => __('Admin')], ['title' => __('Settings')], ]])

{{ __('Progressive web app') }}

{{ __('Progressive web app') }}
@include('shared.message')
@csrf
@if ($errors->has('pwa')) {{ $errors->first('pwa') }} @endif {{ __('Enable or disable Progressive Web App (PWA) functionality for the website.') }} {{ __('When enabled, users can install the website as an app.') }}
{{ __('Display') }}

@if ($errors->has('pwa_display')) {{ $errors->first('pwa_display') }} @endif {!! __('Learn more at :url.', ['url' => 'Display modes - W3C']) !!}
@if ($errors->has('pwa_orientation')) {{ $errors->first('pwa_orientation') }} @endif {!! __('Learn more at :url.', ['url' => 'Orientation - W3C']) !!}
{{ __('Appearance') }}

@if ($errors->has('pwa_theme_color')) {{ $errors->first('pwa_theme_color') }} @endif {!! __('Learn more at :url.', ['url' => 'Theme color - W3C']) !!}
@if ($errors->has('pwa_background_color')) {{ $errors->first('pwa_background_color') }} @endif {!! __('Learn more at :url.', ['url' => 'Background color - W3C']) !!}
@if ($errors->has('pwa_logo')) {{ $errors->first('pwa_logo') }} @endif {{ __('Image size must be :width by :height.', ['width' => '512px', 'height' => '512px']) }}
@if ($errors->has('pwa_logo_maskable')) {{ $errors->first('pwa_logo_maskable') }} @endif {{ __('Image size must be :width by :height.', ['width' => '512px', 'height' => '512px']) }} {!! __('Learn more at :url.', ['url' => 'Icon masks and safe zone - W3C']) !!}
@if ($errors->has('pwa_logo_monochrome')) {{ $errors->first('pwa_logo_monochrome') }} @endif {{ __('Image size must be :width by :height.', ['width' => '512px', 'height' => '512px']) }} {!! __('Learn more at :url.', ['url' => 'Monochrome icons and solid fills - W3C']) !!}
@endsection @include('shared.sidebars.admin')