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

69 lines
2.2 KiB
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">
<header>
<a class="logo_site" href="{{ route('home') }}">
@desktop
<picture>
<source srcset="{{ asset('assets/images/logo-lgl_378.webp') }}" type="image/webp">
<img src="{{ asset('assets/images/logo-lgl_378.png') }}" alt="{{ __('Logo - Le Gaulois') }}">
</picture>
@else
<picture>
<source srcset="{{ asset('assets/images/logo-lgl_289.webp') }}" type="image/webp">
<img src="{{ asset('assets/images/logo-lgl_289.png') }}" alt="{{ __('Logo - Le Gaulois') }}">
</picture>
@enddesktop
</a>
<nav>
</nav>
</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>
<footer class="">
<div class="top">
<section>
<div class="section-header">
<a href="{{ route('home') }}">
<picture>
<img alt="Logo - Le Gaulois" src="{{ asset('assets/images/logo-lgl_289.png') }}">
</picture>
</a>
</div>
</section>
<section>
<ul id="footer-liste-social">
<li><a href="https://www.facebook.com/LeGauloisFrance/" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="https://www.instagram.com/legaulois_officiel/" target="_blank"><i class="fab fa-instagram"></i></a></li>
<li><a href="https://www.youtube.com/user/MyLeGaulois" target="_blank"><i class="fab fa-youtube"></i></a></li>
</ul>
</section>
</div>
<div class="bottom">
<p>
<span>© Copyright Le Gaulois</span>
</p>
</div>
</footer>
</div>
@stack('scriptsConstants')
<script src="{{ asset('js/main.js') }}"></script>
@stack('scripts')
</body>
</html>