{!! SEO::generate() !!} @foreach(localization()->getSupportedLocales() as $localeCode => $properties) @endforeach @if ( $general->page_load ) @endif @if ( $general->adblock_detection ) @endif @if ( !empty($general->font_family) ) @if($general->font_family == 'Inter') @else @endif @endif @if ( $advanced->header_status && $advanced->insert_header != null ) {!! $advanced->insert_header !!} @endif @livewireStyles @if ( $advanced->body_status && $advanced->insert_body != null ) {!! $advanced->insert_body !!} @endif @if ( $general->maintenance_mode && ( !Auth::check() || Auth::user()->is_admin != 1 ) && !Route::is('admin.login') ) @livewire('public.maintenance') @else
@if(Auth::user() && \App\Models\Admin\AuthPages::where('name', 'Verify Email')->first()->status && Auth::user()->email_verified_at == null) @endif
@switch(true) @case( Route::is('login') ) @if ( \App\Models\Admin\AuthPages::where('name', 'Login')->first()->status ) @livewire('public.auth.login') @else @include('errors.disabled', ['message' => 'Login']) @endif @break @case( Route::is('admin.login') ) @livewire('public.auth.admin-login') @break @case( Route::is('register') ) @if ( \App\Models\Admin\AuthPages::where('name', 'Register')->first()->status ) @livewire('public.auth.register') @else @include('errors.disabled', ['message' => 'Register']) @endif @break @case( Route::is('password.forgot') ) @if ( \App\Models\Admin\AuthPages::where('name', 'Forgot Password')->first()->status ) @livewire('public.auth.forgot-password') @else @include('errors.disabled', ['message' => 'Forgot Password']) @endif @break @case( Route::is('password.reset') ) @if ( \App\Models\Admin\AuthPages::where('name', 'Reset Password')->first()->status ) @livewire('public.auth.reset-password', [ 'token' => request()->token, 'email' => request()->email ]) @else @include('errors.disabled', ['message' => 'Reset Password']) @endif @break @case( Route::is('verify.email') ) @if ( \App\Models\Admin\AuthPages::where('name', 'Verify Email')->first()->status ) @livewire('public.auth.verify-email') @else @include('errors.disabled', ['message' => 'Verify Email']) @endif @break @case( Route::is('user.profile') ) @if ( \App\Models\Admin\AuthPages::where('name', 'Profile')->first()->status ) @livewire('public.auth.profile') @else @include('errors.disabled', ['message' => 'Profile']) @endif @break @default @endswitch
@if ( $general->lazy_loading ) @endif @if ( $general->back_to_top )
@endif @if ( $general->adblock_detection ) @endif @if (Cookie::get('cookies') == null) @if ( $notice->status )
{{ __('Cookie') }}
{!! __(GrahamCampbell\Security\Facades\Security::clean($notice->notice)) !!}
@if ( $notice->button)
@endif
@endif @endif @if ( $general->theme_mode ) @endif @if ( $advanced->footer_status && $advanced->insert_footer != null ) {!! $advanced->insert_footer !!} @endif
@livewireScripts @endif