@if (view()->exists('panel.admin.custom.layout.panel.header'))
@include('panel.admin.custom.layout.panel.header')
@elseif (!isset($disable_header))
@include('panel.layout.header')
@endif
@if (view()->exists('panel.admin.custom.layout.panel.header-top-bar'))
@include('panel.admin.custom.layout.panel.header-top-bar')
@endif
@if ($good_for_now)
@yield('content')
@elseif(!$good_for_now and Route::currentRouteName() != 'dashboard.admin.settings.general')
@include('vendor.installer.magicai_c4st_Act')
@else
@yield('content')
@endif
@if (!isset($disable_footer))
@include('panel.layout.footer')
@endif
@include('panel.layout.scripts')
@if (\Session::has('message'))
@endif
@if ($errors->any())
@endif
@yield('script')
@stack('script')
@if (file_exists(base_path('public/assets/js/custom-frontend.js')))
@else
@endif
@if ($setting->dashboard_code_before_body != null)
{!! $setting->dashboard_code_before_body !!}
@endif
@auth()
@if (\Illuminate\Support\Facades\Auth::user()->type == 'admin')
@endif
@endauth