@if($_SERVER['QUERY_STRING'] === '') @include('layouts.lang') @include('layouts.analytics') @if(env('CUSTOM_META_TAGS') == 'true' and config('advanced-config.title') != '') {{ config('advanced-config.title') }} @else {{ config('app.name') }} @endif @if(env('CUSTOM_META_TAGS') == 'true') @include('layouts.meta') @else @endif @include('layouts.fonts') @if(file_exists(base_path("assets/linkstack/images/").findFile('favicon'))) @else @endif @if ($color_scheme_override == 'dark') @elseif ($color_scheme_override == 'light') @elseif (config('advanced-config.theme') == 'dark') @elseif (config('advanced-config.theme') == 'light') @else @endif {{-- custom font for logo text --}}
@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar'))) avatar @else
Logo
@endif

{{__('messages.Maintenance Mode')}}

{{__('messages.We are performing scheduled site maintenance at this time')}}

{{__('messages.Please check back with us later')}}

@if(auth()->user() && auth()->user()->role == 'admin')
{{__('messages.Admin options:')}}
{{__('messages.Dashboard')}} | {{__('messages.Turn off')}} @endif
@elseif($_SERVER['QUERY_STRING'] === 'maintenance=off') @php EnvEditor::editKey('MAINTENANCE_MODE', false); ob_clean(); header("Location: " . url('dashboard')); exit; @endphp @endif