@php($premiumDashboard = request()->routeIs('dashboard') && auth()->user()?->isAdmin()) @php($premiumWorksites = request()->routeIs('worksites.index')) {{ $title ?? __('common.appName') }} ยท {{ __('common.appName') }} @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles @php($user = auth()->user()) {{ __('portal.skip') }}
{{ $heading ?? '' }}
{{-- Profile menu --}}
{{ $slot }}
{{-- Toasts for notifications that arrive while the page is open (not while typing); a generic native notification if the tab is hidden and the user enabled it. --}}
@if($user->isAdmin())@endif @livewireScripts