@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']) : '' }} @if($isRtl) @endif @stack('styles_top') @stack('scripts_top') @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)) @include('web.default.includes.top_nav') @include('web.default.includes.navbar') @endif @if(!empty($justMobileApp)) @include('web.default.includes.mobile_app_top_nav') @endif @yield('content') @if(!isset($appFooter)) @include('web.default.includes.footer') @endif @include('web.default.includes.advertise_modal.index') @if(!empty($floatingBar) and $floatingBar->position == 'bottom') @include('web.default.includes.floating_bar') @endif
@if(empty($justMobileApp) and checkShowCookieSecurityDialog()) @include('web.default.includes.cookie-security') @endif @if(session()->has('toast')) @endif @stack('styles_bottom') @stack('scripts_bottom')