{{-- Start of required lines block. DON'T REMOVE THESE LINES! They're required or might break things --}} @if(Theme::getSetting('gen_darkmode')) @endif @yield('scripts_head') @yield('css') {{-- End of the required stuff in the head block --}} @if(isset($plain)) @else @endif {{-- Theme Helpers --}} @include('theme_helpers') @php $DBasic = isset($DBasic) ? $DBasic : check_module('DisposableBasic'); $DSpecial = isset($DSpecial) ? $DSpecial : check_module('DisposableSpecial'); @endphp {{-- Navigation --}} @if(empty($disable_nav)) @include('nav') @endif {{-- Page Contents --}}
@include('flash.message') @yield('content') {{-- Fixed position logos for IVAO and VATSIM, links are not possible --}} @if(empty($plain)) @if(Theme::getSetting('gen_ivao_logo'))
@if(filled(Theme::getSetting('gen_ivao_vaid'))) @else @endif
@endif @if(Theme::getSetting('gen_vatsim_logo'))
@endif @endif
{{-- Footer --}} @if(empty($plain)) @endif {{-- External Redirects Modal --}} @include('external_redirect_modal') {{-- Start of the required tags block. Don't remove these or things will break!! --}} @if(Theme::getSetting('gen_darkmode')) @endif @if(Theme::getSetting('gen_nicescroll')) @endif @yield('scripts') @if(empty($plain)) {{-- EU Privacy Laws Requirements --}} {{-- https://privacypolicies.com/blog/eu-cookie-law --}} @endif {{-- End the required tags block --}} {{-- Google Analytics tracking code. Only active if an ID has been entered You can modify to any tracking code and re-use that settings field, or just remove it completely. Only added as a convenience factor --}} @php $gtag = setting('general.google_analytics_id', null); @endphp @if(filled($gtag)) {{-- Global site tag (gtag.js) - Google Analytics --}} @endif {{-- End of the Google Analytics code --}} {{-- UTC Clock --}} @if(Theme::getSetting('gen_utc_clock') && Auth::check()) @endif {{-- Bootstrap Scripts v5.1.3 CDN --}}