@props(['title' => 'Dashboard', 'subtitle' => null]) @php $brandName = trim((string) ($siteSettings['site_name'] ?? '')); $brandName = $brandName !== '' ? $brandName : config('app.name', 'SnapNest'); $adminLogo = $siteSettings['admin_logo'] ?? null; $favicon = $siteSettings['favicon'] ?? null; @endphp {{ $title }} - {{ $brandName }} @if ($favicon) @endif @vite(['resources/css/app.css', 'resources/js/app.js']) @include('partials.extensions-head')

{{ $title }}

@if ($subtitle) @endif
@if ($multiLanguageEnabled && $languageOptions->isNotEmpty())
@csrf
@endif @php $notificationChannel = ''; if (auth()->check()) { $notificationChannel = \Illuminate\Support\Facades\Gate::allows('viewAny', \App\Models\ActivityLog::class) ? 'admin.notifications' : 'user.' . auth()->id() . '.notifications'; } @endphp

{{ __('Live Notifications') }}

@can('viewAny', \App\Models\ActivityLog::class) {{ __('View all') }} @else {{ __('View all') }} @endcan

{{ __('No notifications yet.') }}

{{ __('Account') }}

{{ __('Profile') }}
@csrf {{ __('Log out') }}
{{ $slot }}
@include('partials.gdpr-banner') @if (session('status') || session('error'))

{{ session('error') ? __('Action blocked') : __('Success') }}

{{ session('error') ?? session('status') }}

@endif @if (! empty($siteSettings['right_click_disable'])) @endif @stack('scripts')