diff --git a/resources/views/errors/admin-shell.blade.php b/resources/views/errors/admin-shell.blade.php index fcdf9f8..3b52839 100644 --- a/resources/views/errors/admin-shell.blade.php +++ b/resources/views/errors/admin-shell.blade.php @@ -1,34 +1,46 @@ @php - $titles = [ + $errors = [ 401 => ['Authentication required', 'Sign in to continue to the admin area.'], 403 => ['Access denied', 'You do not have permission to view this page.'], - 404 => ['Page not found', 'The requested admin page does not exist or may have moved.'], - 419 => ['Session expired', 'Refresh the page and try again.'], + 404 => ['Page not found', 'This admin page may have been moved, deleted, or never existed.'], + 419 => ['Session expired', 'Your session has expired. Refresh the page to continue.'], 429 => ['Too many requests', 'Please wait a moment before trying again.'], ]; - [$errorTitle, $errorMessage] = $titles[$status] ?? $titles[404]; + [$errorTitle, $errorMessage] = $errors[$status] ?? $errors[404]; @endphp -
-
-
-
- -
-
-

{{ $errorTitle }}

-

Admin panel / HTTP {{ $status }}

-
+ {{-- Keep the central error illustration independent from host Vite builds. --}} + +
+
+ -
-
{{ $status }}
-

{{ $errorTitle }}

-

{{ $errorMessage }}

-
- - -
+ +

{{ $errorTitle }}

+

{{ $errorMessage }}

+
+ +
-
-
+

HTTP {{ $status }} ยท {{ config('app.name', 'Lazy Admin') }}

+
+