@php $user = Auth::user(); @endphp @php $rtlLanguages = !empty($generalSettings['rtl_languages']) ? $generalSettings['rtl_languages'] : []; $isRtl = (in_array(mb_strtoupper(app()->getLocale()), $rtlLanguages) or !empty($generalSettings['rtl_layout']) and $generalSettings['rtl_layout'] == 1); @endphp @include('web.default.includes.metas') {{ $pageTitle ?? '' }}{{ !empty($generalSettings['site_name']) ? ' | ' . $generalSettings['site_name'] : '' }} @livewireStyles @stack('styles_top') @stack('scripts_top') @php $darkMode = Auth::check() ? Auth::user()->theme->dark_mode ?? false : false; $uid = Auth::check() ? Auth::user()->id : null; @endphp {{-- --}} @if (!empty($generalSettings['preloading']) and $generalSettings['preloading'] == '1') @include('admin.includes.preloading') @endif
@if (!empty($floatingBar) and $floatingBar->position == 'top') @include('web.default.includes.floating_bar') @endif @if (!isset($appHeader)) {{-- remove top navbar, consolidated into one line --}} {{-- @include('web.default.includes.top_nav') --}} {{-- @include('web.default.includes.navbar') --}} @include('web.default.panel.layout.partials.header._header') @endif @if (!empty($justMobileApp)) @include('web.default.includes.mobile_app_top_nav') @endif @include('web.default.includes._mobile-sidebar') {{--
--}} @yield('content') @if (!isset($appFooter)) @endif @include('web.default.includes.advertise_modal.index') @if (!empty($floatingBar) and $floatingBar->position == 'bottom') @include('web.default.includes.floating_bar') @endif
{{-- class grid --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @livewireScripts @if (empty($justMobileApp) and checkShowCookieSecurityDialog()) @include('web.default.includes.cookie-security') @endif @if (session()->has('toast')) @endif @include('web.default.includes.purchase_notifications') @stack('styles_bottom') @stack('scripts_bottom') {{-- earsh disabled --}} {{-- --}}