ldc-gen-game-web/resources/views/vendor/errors/illustrated-layout.blade.php
2023-12-06 16:00:51 +01:00

52 lines
1.7 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/bo.scss'])
@stack('scripts')
</head>
<body>
<div class="row bg-primary text-primary bg-gradient d-md-flex min-vh-100 h-100 m-0 bg-opacity-25">
<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="bg-purple-light my-md-5 my-3 h-1 w-16"></div>
<p class="display-6 mb-8 font-light leading-normal">
@yield('message')
</p>
<p class="text-grey-darker fs-4 mb-8 font-light leading-normal">
@yield('submessage')
</p>
@hasSection('button')
<a class="btn btn-primary fw-bold text-uppercase px-5 py-3 tracking-wider"
href="{{ app('router')->has('home') ? route('home') : url('/') }}" role="button">
{{ __('Go to page :page', [
'page' => __('Accueil'),
]) }}
</a>
@endif
</div>
</div>
<div
class="col bg-primary position-relative d-md-flex align-items-center justify-content-center vh-md-100 min-vh-50 flex-wrap bg-opacity-25 text-center">
<div>
@yield('image')
</div>
</div>
</div>
</body>
</html>