@if(\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1)
@else
@endif
@yield('meta_title', get_setting('website_name').' | '.get_setting('site_motto'))
@yield('meta')
@if(!isset($detailedProduct) && !isset($customer_product) && !isset($shop) && !isset($page) && !isset($blog))
@endif
@if(\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1)
@endif
@if (get_setting('google_analytics') == 1)
@endif
@if (get_setting('facebook_pixel') == 1)
@endif
@php
echo get_setting('header_script');
@endphp
@include('frontend.inc.nav')
@yield('content')
@include('frontend.inc.footer')
@if (get_setting('show_cookies_agreement') == 'on')
@php
echo get_setting('cookies_agreement_text');
@endphp
@endif
@if (get_setting('show_website_popup') == 'on')
@endif
@include('frontend.partials.modal')
@yield('modal')
@if (get_setting('facebook_chat') == 1)
@endif
@yield('script')
@php
echo get_setting('footer_script');
@endphp