@include('partials.head')
@include('cookie-consent::index') @include('partials.alerts')
@include('partials.top_nav') @if (Session::has('achievement')) @include('partials.achievement_modal') @endif @if (Session::has('errors')) @endif
@hasSection('main') @hasSection('sidebar')
@yield('main')
@else
@yield('main')
@endif @else
@yield('content')
@endif
@include('partials.footer') @vite('resources/js/app.js') @if (config('other.freeleech') == true || config('other.invite-only') == false || config('other.doubleup') == true) @endif @foreach (['warning', 'success', 'info'] as $key) @if (Session::has($key)) @endif @endforeach @if (Session::has('errors')) @endif @yield('javascripts') @yield('scripts') @livewireScriptConfig(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()])