turtle-wow-source-kinda/Dumps/Source Code/8 - Development_website/develop/resources/views/layout/head.blade.php
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

89 lines
3.1 KiB
PHP

<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<link rel="icon" type="image/x-icon" href="{{ Vite::asset('resources/images/favicon.ico')}}">
{!! SEO::generate() !!}
<!-- audio player-->
<link rel="stylesheet" type="text/css"
href="https://cdn.jsdelivr.net/gh/greghub/green-audio-player/dist/css/green-audio-player.min.css">
<script src="https://cdn.jsdelivr.net/gh/greghub/green-audio-player/dist/js/green-audio-player.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<!-- video player-->
<link href="https://vjs.zencdn.net/7.20.3/video-js.css" rel="stylesheet"/>
<!-- tooltips-->
<script>
var whTooltips = {
colorLinks: false,
iconizeLinks: false,
renameLinks: false,
iconSize: 'medium'
};
</script>
<link rel="preconnect" href="https://fonts.gstatic.com"/>
{{--<link rel="stylesheet" href="{{ asset('build/assets/css/app.css') }}" >--}}
@vite(['resources/css/app.css', 'resources/js/app.js'])
{{--<script async src="https://www.googletagmanager.com/gtag/js?id=UA-125328091-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-125328091-1');
</script>--}}
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
@if (config('app.env') == 'production')
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
@auth('account')
_paq.push(['setUserId', '{{Auth::guard('account')->user()->email}}']);
@endauth
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="{{ config('customs.matomo.url') }}";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '{{ config('customs.matomo.id') }}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
@endif
@if (config('customs.google_tag_manager.enabled'))
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ config('customs.google_tag_manager.id') }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ config('customs.google_tag_manager.id') }}');
</script>
@endif
@livewireStyles
@livewireScripts
</head>