@php event(new \Modules\Layout\Events\LayoutBeginHead()); @endphp @php $favicon = setting_item('site_favicon'); @endphp @if($favicon) @php $file = (new \Modules\Media\Models\MediaFile())->findById($favicon); @endphp @if(!empty($file)) @else: @endif @endif @include('Layout::parts.seo-meta') {!! \App\Helpers\Assets::css() !!} {!! \App\Helpers\Assets::js() !!} @yield('head') {{--Custom Style--}} @if(setting_item_with_lang('enable_rtl')) @endif {!! setting_item('head_scripts') !!} {!! setting_item_with_lang_raw('head_scripts') !!} @php event(new \Modules\Layout\Events\LayoutEndHead()); @endphp @laravelPWA() header_style : "header-normal" }} {{$body_class ?? ''}} @if(setting_item_with_lang('enable_rtl')) is-rtl @endif @if(is_api()) is_api @endif"> @php event(new \Modules\Layout\Events\LayoutBeginBody()); @endphp {!! setting_item('body_scripts') !!} {!! setting_item_with_lang_raw('body_scripts') !!}
@if(!is_api()) @include('Layout::parts.topbar') @include('Layout::parts.header') @endif @yield('content') @include('Layout::parts.footer')
{!! setting_item('footer_scripts') !!} {!! setting_item_with_lang_raw('footer_scripts') !!} @php event(new \Modules\Layout\Events\LayoutEndBody()); @endphp