ldc-volena/resources/views/bo/layouts/head.blade.php
2025-03-06 14:51:21 +00:00

46 lines
1.6 KiB
PHP

{{-- Meta --}}
<meta charset="utf-8">
{{-- blade-formatter-disable --}}
@hasSection('metaIndex')
<meta name="robots" content="@yield('metaIndex')">
@else
<meta name="robots" content="index, follow">
@endif
{{-- blade-formatter-enable --}}
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="description" content="@yield('description')">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{-- 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="#103251">
<meta name="msapplication-TileColor" content="#103251">
<meta name="theme-color" content="#103251">
{{-- Others --}}
{{-- blade-formatter-disable-next-line --}}
<title>{{ config('app.name') }}@hasSection('title') - @yield('title')@endif</title>
{{-- blade-formatter-disable --}}
@hasSection('canonical')
<link href="@yield('canonical')" rel="canonical" />
@else
<link href="{{ \config('app.url') }}/{{ \request()->path() }}" rel="canonical" />
@endif
{{-- blade-formatter-enable --}}
@include('modules.breadcrumbs.breadcrumb-head')
{{-- STYLES --}}
@vite(['resources/sass/bo/bo.scss'])
@stack('styles')
@if (config('app.debug'))
<script nonce="{{ $nonce ?? '' }}">
window.vueDebug = true;
</script>
@endif