Adding resources/views/layouts/error.blade.php
This commit is contained in:
parent
640e021ad3
commit
f7ecd82c8a
1 changed files with 18 additions and 0 deletions
18
resources/views/layouts/error.blade.php
Normal file
18
resources/views/layouts/error.blade.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<x-layout>
|
||||
|
||||
<div class="flex justify-center items-center mt-28 mx-auto pr-4 pt-24 pb-32 bg-center bg-contain bg-no-repeat "
|
||||
style="background-image: url({{ url('/img/error-bg.png') }})">
|
||||
<h2 class="font-bold text-9xl text-black">{{ $code }}</h2>
|
||||
</div>
|
||||
|
||||
<div class="max-w-lg mt-4 mx-auto text-center">
|
||||
<h2 class="text-4xl tracking-wider">{{ $title }}</h2>
|
||||
<p class="text-xl mt-4 max-w-sm mx-auto">{{ $message }}</p>
|
||||
</div>
|
||||
|
||||
<div class="mt-12 flex justify-center divide-x">
|
||||
<x-link class="px-4" href="/">{{ __('Home') }}</x-link>
|
||||
<x-link class="px-4" href="{{ url()->previous() }}">{{ __('Back') }}</x-link>
|
||||
</div>
|
||||
|
||||
</x-layout>
|
||||
Reference in a new issue