@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(getTemplate().'.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 @php $isPanel = true; @endphp
@include('web.default.includes.navbar')
@include('web.default.panel.includes.sidebar')
@yield('content')
@include('web.default.includes.advertise_modal.index') {{-- AI Contents --}} @if($authUser->checkAccessToAIContentFeature()) @include('web.default.panel.includes.aiContent.generator') @endif
@if(session()->has('toast')) @endif @stack('styles_bottom') @stack('scripts_bottom') @stack('scripts_bottom2')