@yield('ld-data') {{-- Style --}} @include('frontend.partials.public-styles') {{-- @include('frontend.partials.preloader') --}} @yield('css') {{-- Custome css and js --}} {!! $setting->header_css !!} {!! $setting->header_script !!} @php $userId = auth()->check() ? auth()->id() : 0; @endphp {{-- Header --}} @include('frontend.partials.header') {{-- Main --}} @yield('main') {{-- footer --}} @include('frontend.partials.footer') @include('frontend.partials.public-scripts') {{-- @themeSwitcherWidget() --}} {!! $setting->body_script !!} @if (config('app.demo_mode')) {{-- --}} @endif @include('frontend.partials.analytics') @if ($setting->pwa_enable) @endif