@props([ 'bgColor' => theme('global', 'bgColor'), 'spinnerColor' => theme('global', 'spinnerColor'), 'spinnerTextColor' => theme('global', 'spinnerTextColor'), ]) @php /** * !!! CRITICAL SECURITY NOTICE !!! * DO NOT REMOVE OR MODIFY THIS ACCESS CONTROL CHECK! * * This code block implements essential page-level authorization. * Removing or bypassing these checks will expose protected pages * to unauthorized users, potentially leading to data breaches * and security vulnerabilities. * * If you need to modify access controls, please update the permissions * configuration in the admin panel instead of removing this check. */ $pageAccess = app('pageAccess'); if ($pageAccess->checkAccessDenied(auth()->user(), $pageAccess->getCurrentPage())) { abort(403, $pageAccess->getErrorMessage()); } if (empty($title) && !request()->routeIs('home')) { $uriPage = empty(config('zeus-sky.uri.page')) ? '' : config('zeus-sky.uri.page') . '/'; $prefix = config('zeus-sky.prefix') . '/'; $currentPage = str_replace($prefix . $uriPage, '', request()->path()); $title = ucfirst($currentPage); } @endphp {{ $title ?? config('app.name') }} @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles @if (config('saashovel.COOKIE_CONSENT')) @cookieconsentscripts @endif @if (config('saashovel.SPA_UX')) @include('livewire.pages.assets.default-merged-assets') @endif @include('livewire.pages.assets.merged-assets')
@include('components.header')
{{ $slot }}
@include('components.footer') @if (config('saashovel.COOKIE_CONSENT')) @cookieconsentview @endif @livewireScripts