@if($settings && $settings->enable_client_portal) @include('portal.ninja2020.components.general.sidebar.vendor_mobile', ['sidebar' => $sidebar]) @unless(request()->query('sidebar') === 'hidden') @include('portal.ninja2020.components.general.sidebar.vendor_desktop', ['sidebar' => $sidebar]) @endunless @endif
@if($settings && $settings->enable_client_portal) @include('portal.ninja2020.components.general.sidebar.vendor_header', ['sidebar' => $sidebar]) @endif
@yield('header')
@includeWhen(session()->has('success'), 'portal.ninja2020.components.general.messages.success') {{ $slot }}
@include('portal.ninja2020.components.general.vendor_footer')