@if (App::isLocale('ar') || App::isLocale('ur') || App::isLocale('he')) @else @endif @yield('css') @if (isset($settings) && $settings) {{-- Check Google Analytics is "enabled" --}} @if (!empty($settings->google_analytics_id) && Cookie::get('laravel_cookie_consent') === '1') @endif @if ($settings->google_adsense_code != 'DISABLE_ADSENSE_ONLY' && Cookie::get('laravel_cookie_consent') === '1') {{-- AdSense code --}} @endif @endif {{-- CSS/JS from admin settings --}} @if (isset($settings) && $settings) @php $custom_css = $settings->custom_css; $custom_js = $settings->custom_scripts; // Ensure ') === false) { $custom_css = ""; } // Ensure ') === false) { $custom_js = ""; } @endphp {!! $custom_css !!} {!! $custom_js !!} @endif
{{-- Preloader --}}