@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 @if(!empty($themeHeaderData['component_name'])) @endif @if(!empty($themeFooterData['component_name'])) @endif @stack('styles_top') @stack('scripts_top')
@if(!empty($floatingBar) and $floatingBar->position == 'top')
@include('design_1.web.includes.floating_bar')
@endif @if(!isset($appHeader) and !empty($themeHeaderData['component_name']))
@include("design_1.web.theme.headers.{$themeHeaderData['component_name']}.index")
@endif {{-- Content --}} @yield('content') @if(!isset($appFooter) and !empty($themeFooterData['component_name']))
@include("design_1.web.theme.footers.{$themeFooterData['component_name']}.index")
@endif @include('design_1.web.includes.advertise_modal.index') @if(!empty($floatingBar) and $floatingBar->position == 'bottom')
@include('design_1.web.includes.floating_bar')
@endif {{-- Cart Drawer --}} @include('design_1.web.cart.drawer.index')
@if(empty($justMobileApp) and checkShowCookieSecurityDialog() and empty($dontShowCookieSecurity)) @include('design_1.web.includes.cookie_security.cookie-security') @endif @if(session()->has('toast')) @endif @include('design_1.web.includes.purchase_notifications') @stack('styles_bottom') @stack('scripts_bottom') @stack('scripts_bottom2')