@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)); $themeCustomCssAndJs = getThemeCustomCssAndJs(); @endphp @include('design_1.web.includes.metas') {{ $pageTitle ?? '' }}{{ !empty($generalSettings['site_name']) ? (' | '.$generalSettings['site_name']) : '' }} @if($isRtl) @endif @stack('styles_top') @stack('scripts_top') @php $isPanel = true; @endphp
@if(!empty($justContent)) @yield('content') @else @include('design_1.panel.includes.header')
@include('design_1.panel.includes.sidebar')
@include('design_1.panel.includes.title_and_breadcrumb') @if(!empty($panelContentFull)) @yield('content') @else
@yield('content')
@endif
@endif {{-- AI Contents --}} @if($authUser->checkAccessToAIContentFeature()) @include('design_1.panel.ai_contents.generator') @endif {{-- Cart Drawer --}} @include('design_1.web.cart.drawer.index') @include('design_1.web.includes.advertise_modal.index')
@if(session()->has('toast')) @endif @include('design_1.web.includes.purchase_notifications') @stack('styles_bottom') @stack('scripts_bottom') @stack('scripts_bottom2')