@stack('meta') @php $seoHtml = App\Helpers\Utils::getSeoHtml(); @endphp @empty ($seoHtml) {{ env('APP_NAME') }} @else {!! $seoHtml !!} @endempty @php $basePath = '/themes/kbgolf/pro/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'] === 'primary'; })->toArray(); $topMenuPermPage = collect($mainMenuPerm['Page'])->filter(function ($menu) { return $menu['Sort'] === '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') {{----}}