@stack('meta') @yield('title', env('APP_NAME')) @php $basePath = '/themes/pro/syncblock/resources'; @endphp @include('views.partial.site.meta', [ 'basePath' => $basePath ]) @include('views.partial.site.scripts', [ 'basePath' => $basePath ]) @stack('css') @inject('callApiService', 'App\Services\CallApiService') @php $mainMenuPerm = App\Helpers\Utils::getProMainMenu(); $mainMenuPermPage = collect($mainMenuPerm['Page'])->filter(function ($menu) { return $menu['Sort'] === 'syncblock-primary'; })->toArray(); $topMenuPermPage = collect($mainMenuPerm['Page'])->filter(function ($menu) { return $menu['Sort'] === 'syncblock-top'; })->toArray(); $mainMenuList = App\Helpers\Utils::formatMenuList($mainMenuPermPage, 'MenuCode'); $topMenuList = App\Helpers\Utils::formatMenuList($topMenuPermPage, 'MenuCode'); @endphp @include('layouts.js-lang') @include('vendor.lara-izitoast.toast')
@include('views.layouts.main-header') @include('views.layouts.mobile-menu')
@yield('content')
@include('views.layouts.footer') @include('views.layouts.sidebar')
@yield('modal') @stack('modal')
@yield('js') @stack('js')