 6c75e89303
			
		
	
	6c75e89303
	
	
	
		
			
			- 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.
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			969 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			969 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| @extends('layouts.base')
 | |
| <div class="flex flex-col items-center justify-center h-full">
 | |
|     <div>
 | |
|         <p class="font-mono font-semibold text-7xl dark:text-warning">429</p>
 | |
|         <h1 class="mt-4 font-bold tracking-tight dark:text-white">Woah, slow down there!</h1>
 | |
|         <p class="text-base leading-7 dark:text-neutral-400 text-black">You're making too many requests. Please wait a
 | |
|             few
 | |
|             seconds before trying again.
 | |
|         </p>
 | |
|         <div class="flex items-center mt-10 gap-x-2">
 | |
|             <a href="{{ url()->previous() }}">
 | |
|                 <x-forms.button>Go back</x-forms.button>
 | |
|             </a>
 | |
|             <a href="{{ route('dashboard') }}">
 | |
|                 <x-forms.button>Dashboard</x-forms.button>
 | |
|             </a>
 | |
|             <a target="_blank" class="text-xs" href="{{ config('constants.urls.contact') }}">Contact
 | |
|                 support
 | |
|                 <x-external-link />
 | |
|             </a>
 | |
|         </div>
 | |
|     </div>
 | |
| </div>
 |