ldc-portsalaries/resources/views/layouts/frontend/head.blade.php
2021-12-03 15:31:34 +01:00

56 lines
No EOL
1.7 KiB
PHP

<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>@hasSection('title')@yield('title') | @endif{{ config('app.name') }}</title>
<meta name="description" content="@yield('description')">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
@hasSection('canonical')
<link rel="canonical" href="@yield('canonical')" />
@else
<link rel="canonical" href="{{ url()->current() }}" />
@endif
<!-- META INDEX, FOLLOW -->
@hasSection('metaIndex')
<meta name="robots" content="@yield('metaIndex')">
@else
<meta name="robots" content="index, follow">
@endif
<!-- Favicon -->
<link rel="icon" href="{{ asset('assets/images/favicon.ico') }}" type="image/ico">
@preload('mix-manifest.json')
<!-- STYLES -->
<link rel="stylesheet" href="{{ asset('css/preload-front_login.css') }}">
<link rel="stylesheet" href="{{ asset('css/preload-front.css') }}">
<style>
:root {
@if(isset($societe->colors['primary']))
--primary-color: {{ $societe->colors['primary'] }};
@endif
@if(isset($societe->colors['secondary']))
--secondary-color: {{ $societe->colors['secondary'] }};
@endif
@if(isset($societe->colors['color-background']))
--color-background: {{ $societe->colors['color-background'] }};
@endif
}
</style>
@if(isset($societe))
<style>
{{ $societe->style }}
</style>
@endif
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PTNNFW0ZE1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-PTNNFW0ZE1');
</script>