ldc-lionor/resources/views/fo/layouts/head.blade.php
Vincent BRIDIER 1c8a7c75b2 Merge branch '12-favicon-nok' into 'develop'
Resolve "Favicon NOK"

See merge request ldc-web/projets/lionor!17
2023-09-07 13:15:19 +00:00

46 lines
2 KiB
PHP

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@hasSection('metaIndex')<meta name="robots" content="@yield('metaIndex')">@else<meta name="robots" content="index, follow">@endif
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="description" content="@yield('description')">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Open Graph -->
<meta property="og:title" content="@yield('title') - {{ config('app.name') }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ config('app.url') }}" />
<meta property="og:site_name" content="{{ config('app.name') }}" />
@hasSection('ogPicture')
<meta property="og:image" content="@yield('ogPicture')" />
@else
<meta property="og:image" content="{{ Vite::asset('resources/assets/images/opengraph-website.png') }}" />
@endif
<meta property="og:description" content="@yield('description')" />
<!-- Favicon -->
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}">
<link rel="icon" href="{{ asset('favicon.ico') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon-16x16.png') }}">
<link rel="manifest" href="{{ asset('site.webmanifest') }}">
<link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- Others -->
<title>@yield('title') - {{ config('app.name') }}</title>
@if(config('app.debug'))
<script nonce="{{ $nonce }}">window.vueDebug = true;</script>
@endif
@hasSection('canonical')
<link rel="canonical" href="@yield('canonical')" />
@else
<link rel="canonical" href="{{ \config('app.url') }}/{{ \request()->path() }}" />
@endif
<!-- STYLES -->
@vite(['resources/sass/fo/fo.scss'])
@stack('styles')