ldc-legaulois/resources/views/layouts/error.blade.php
2021-09-15 14:49:51 +02:00

29 lines
795 B
PHP

<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
@section('metaIndex', 'noindex, nofollow')
@include('layouts.app-head')
<!-- Styles -->
<link rel="stylesheet" href="{{ asset('css/main.css') }}">
@stack('styles')
</head>
<body>
<div id="app">
@include('layouts.app-header')
<div class="content error @yield('errorCode')">
<h1>@yield('title')</h1>
<h4>@yield('message')</h4>
@if((app()->view->getSections()['code'] ?? '') !== '503')
<a href="{{ route('home') }}" class="btn btn-yellow btn-arronded-20 text-uppercase">
{{ __('Retour à la page d\'accueil') }}
</a>
@endif
</div>
@include('layouts.app-footer')
</div>
@stack('scriptsConstants')
<script src="{{ asset('js/main.js') }}"></script>
@stack('scripts')
</body>
</html>