Archived
1
0
Fork 0

Adding resources/views/layouts/error.blade.php

This commit is contained in:
Henrik Hautakoski 2022-01-09 16:09:15 +01:00
parent 640e021ad3
commit f7ecd82c8a

View 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>