ldc-gen-game-web/resources/views/vendor/errors/illustrated-layout.blade.php

53 lines
1.7 KiB
PHP
Raw Normal View History

2023-08-21 10:22:07 +02:00
<!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">
2023-08-21 10:22:07 +02:00
<title>@yield('title')</title>
2023-08-21 10:22:07 +02:00
2023-11-23 17:31:28 +01:00
@vite(['resources/sass/bo.scss'])
@stack('scripts')
</head>
2023-08-21 10:22:07 +02:00
<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>
2023-08-21 10:22:07 +02:00
<p class="display-6 mb-8 font-light leading-normal">
@yield('message')
</p>
2023-08-21 10:22:07 +02:00
<p class="text-grey-darker fs-4 mb-8 font-light leading-normal">
@yield('submessage')
</p>
2023-08-21 10:22:07 +02:00
@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">
2023-08-21 10:22:07 +02:00
{{ __('Go to page :page', [
2023-12-06 16:00:51 +01:00
'page' => __('Accueil'),
2023-08-21 10:22:07 +02:00
]) }}
</a>
@endif
2023-08-21 10:22:07 +02:00
</div>
</div>
2023-08-21 10:22:07 +02:00
<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')
2023-08-21 10:22:07 +02:00
</div>
</div>
</div>
</body>
2023-08-21 10:22:07 +02:00
</html>