ldc-op-insta/resources/views/vendor/errors/illustrated-layout.blade.php
2023-04-21 14:49:53 +00:00

47 lines
1.8 KiB
PHP

<!DOCTYPE html>
<html dir="ltr" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>@yield('title')</title>
@vite(['resources/sass/fo/fo.scss'])
@stack('scripts')
</head>
<body>
<div class="row bg-primary text-primary bg-opacity-25 bg-gradient d-md-flex min-vh-100 h-100 m-0">
<div class="col-12 col-md-6 d-flex align-items-center justify-content-center">
<div class="w-md-50 m-5">
<div class="display-1">
@yield('code', __('Oh no'))
</div>
<div class="w-16 h-1 bg-purple-light my-3 my-md-5"></div>
<p class="display-6 font-light mb-8 leading-normal">
@yield('message')
</p>
<p class="text-grey-darker fs-4 font-light mb-8 leading-normal">
@yield('submessage')
</p>
@hasSection('button')
<a class="btn btn-primary fw-bold text-uppercase tracking-wider py-3 px-5" role="button" href="{{ app('router')->has('home') ? route('home') : url('/') }}">
{{ __('Go to page :page', [
'page' => __('home')
]) }}
</a>
@endif
</div>
</div>
<div class="col bg-primary bg-opacity-25 position-relative d-md-flex flex-wrap text-center align-items-center justify-content-center vh-md-100 min-vh-50">
<div>
@yield('image')
</div>
</div>
</div>
</body>
</html>