{{-- title --}} @yield('page_title') {{-- meta data --}} {!! view_render_event('bagisto.shop.layout.head') !!} {{-- for extra head data --}} @yield('head') {{-- seo meta data --}} @yield('seo') {{-- fav icon --}} @if ($favicon = core()->getCurrentChannel()->favicon_url) @else @endif {{-- all styles --}} @include('shop::layouts.styles') getCurrentLocale() && core()->getCurrentLocale()->direction === 'rtl') class="rtl" @endif> {!! view_render_event('bagisto.shop.layout.body.before') !!} {{-- main app --}}
@section('body-header') {{-- top nav which contains currency, locale and login header --}} @include('shop::layouts.top-nav.index') {!! view_render_event('bagisto.shop.layout.header.before') !!} {{-- primary header after top nav --}} @include('shop::layouts.header.index') {!! view_render_event('bagisto.shop.layout.header.after') !!}
{{-- secondary header --}}
{{-- mobile header --}}
@include('shop::layouts.header.mobile')
{{-- desktop header --}} @include('shop::layouts.header.desktop')
{!! view_render_event('bagisto.shop.layout.content.before') !!} @yield('content-wrapper') {!! view_render_event('bagisto.shop.layout.content.after') !!}
@show
{!! view_render_event('bagisto.shop.layout.full-content.before') !!} @yield('full-content-wrapper') {!! view_render_event('bagisto.shop.layout.full-content.after') !!}
{{-- overlay loader --}}
{{-- footer --}} @section('footer') {!! view_render_event('bagisto.shop.layout.footer.before') !!} @include('shop::layouts.footer.index') {!! view_render_event('bagisto.shop.layout.footer.after') !!} @show {!! view_render_event('bagisto.shop.layout.body.after') !!} {{-- alert container --}}
{{-- all scripts --}} @include('shop::layouts.scripts')