ldc-cocotte/resources/views/vendor/errors/illustrated-layout.blade.php

50 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2026-06-14 21:32: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">
<title>@yield('title')</title>
@vite(['resources/sass/fo/fo.scss'])
@stack('scripts')
</head>
<body class="d-flex align-items-center min-vh-100">
<div class="container">
<div class="row align-items-center justify-content-center text-md-start g-5 text-center">
<div class="col-12 col-md-6 order-md-1 order-2">
<h1 class="display-1 fw-bolder mb-3">
@yield('code', __('Oh no'))
</h1>
<h2 class="display-6 fw-bold mb-4">
@yield('message')
</h2>
<p class="lead fw-bold mb-5">
@yield('submessage')
</p>
@hasSection('button')
<a class="btn btn-primary btn-lg fw-bold px-5 py-3 shadow-sm" href="{{ request()->is('bo*') ? route('bo.dashboard') : url('/') }}"
role="button">
{{ __('Return to home') }}
</a>
@endif
</div>
<div class="col-12 col-md-5 order-md-2 order-1 text-center">
<div class="rounded-4 overflow-hidden shadow-lg">
@yield('image')
</div>
</div>
</div>
</div>
</body>
</html>