From 6c75e893038e4fbf2bd5d597918a096d65a6f6d1 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 22 Aug 2025 14:00:01 +0200 Subject: [PATCH] fix(errors): update error pages to provide navigation options - Modified error pages (400, 401, 402, 403, 404, 419, 429, 500, 503) to replace "Go back home" button with "Go back" and added a "Dashboard" button for improved navigation. - Updated links to use `url()->previous()` for returning to the previous page and `route('dashboard')` for accessing the dashboard directly. --- resources/views/errors/400.blade.php | 9 ++++++--- resources/views/errors/401.blade.php | 9 ++++++--- resources/views/errors/402.blade.php | 9 ++++++--- resources/views/errors/403.blade.php | 9 ++++++--- resources/views/errors/404.blade.php | 9 ++++++--- resources/views/errors/419.blade.php | 9 ++++++--- resources/views/errors/429.blade.php | 9 ++++++--- resources/views/errors/500.blade.php | 9 ++++++--- resources/views/errors/503.blade.php | 16 ++++++++++++---- 9 files changed, 60 insertions(+), 28 deletions(-) diff --git a/resources/views/errors/400.blade.php b/resources/views/errors/400.blade.php index d0fbf306b..4b5956142 100644 --- a/resources/views/errors/400.blade.php +++ b/resources/views/errors/400.blade.php @@ -11,9 +11,12 @@ malformed syntax.
@endif -You don't have permission to access this page.
-402
You don't have permission to access this page.
-Sorry, we couldn’t find the page you’re looking for.
-Sorry, we couldn’t find the page you’re looking for.
-