59 lines
2.2 KiB
PHP
59 lines
2.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
<title>{{ config('app.name') }} - @yield('title')</title>
|
|
<meta name="description" content="@yield('description')">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- CSRF Token -->
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
{{-- Favicon --}}
|
|
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
|
|
<link href="{{ asset('apple-touch-icon.png') }}" rel="apple-touch-icon" sizes="180x180">
|
|
<link type="image/png" href="{{ asset('favicon-32x32.png') }}" rel="icon" sizes="32x32">
|
|
<link type="image/png" href="{{ asset('favicon-16x16.png') }}" rel="icon" sizes="16x16">
|
|
<link href="{{ asset('site.webmanifest') }}" rel="manifest">
|
|
<link href="{{ asset('safari-pinned-tab.svg') }}" rel="mask-icon" color="#003e96">
|
|
<meta name="msapplication-TileColor" content="#1e2125">
|
|
<meta name="theme-color" content="#1e2125">
|
|
|
|
<!-- Styles -->
|
|
@vite(['resources/sass/bo/bo.scss'])
|
|
@stack('styles')
|
|
</head>
|
|
|
|
<body class="position-relative min-vh-100">
|
|
@include('layout.nav')
|
|
<div class="content mt-5" id="app">
|
|
<div class="container-xxl container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-12 @yield('bodyClass')">
|
|
@auth
|
|
@foreach ($informations as $information)
|
|
<div class="alert alert-{{ $information->type->class() }}" role="alert">
|
|
<b>{{ $information->title }}</b><br>
|
|
{{ $information->message }} - {{ __('Publié le') }} {{ $information->created_at->format('d-m-Y') }}
|
|
</div>
|
|
@endforeach
|
|
@endauth
|
|
|
|
@include('modules.flash-messages')
|
|
@yield('content')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@include('layout.footer')
|
|
@stack('scriptsConstants')
|
|
@include('modules.script-constants')
|
|
@vite(['resources/ts/bo/bo.ts'])
|
|
|
|
@stack('scripts')
|
|
</body>
|
|
|
|
</html>
|