2020-03-13 22:17:08 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<!-- Error: {{ session('error') }} -->
|
|
|
|
|
|
|
|
@if (config('services.analytics.tracking_id'))
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-122229484-1"></script>
|
|
|
|
<script>
|
|
|
|
window.dataLayer = window.dataLayer || [];
|
|
|
|
|
|
|
|
function gtag() {
|
|
|
|
dataLayer.push(arguments);
|
|
|
|
}
|
|
|
|
|
|
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', '{{ config('services.analytics.tracking_id') }}', {'anonymize_ip': true});
|
|
|
|
|
|
|
|
function trackEvent(category, action) {
|
|
|
|
ga('send', 'event', category, action, this.src);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script>
|
|
|
|
Vue.config.devtools = true;
|
|
|
|
</script>
|
|
|
|
@else
|
|
|
|
<script>
|
|
|
|
function gtag() {
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<!-- Title -->
|
2021-07-29 23:52:58 +02:00
|
|
|
@if(isset($account) && !$account->isPaid())
|
|
|
|
<title>@yield('meta_title', '') — Invoice Ninja</title>
|
|
|
|
@elseif(isset($company) && !is_null($company))
|
|
|
|
<title>@yield('meta_title', '') — {{ $company->present()->name() }}</title>
|
|
|
|
@else
|
|
|
|
<title>@yield('meta_title', '')</title>
|
|
|
|
@endif
|
2020-03-13 22:17:08 +01:00
|
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="description" content="@yield('meta_description')"/>
|
|
|
|
|
|
|
|
<!-- CSRF Token -->
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
|
|
|
<!-- Scripts -->
|
|
|
|
<script src="{{ mix('js/app.js') }}" defer></script>
|
2020-12-05 13:55:29 +01:00
|
|
|
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.7.x/dist/alpine.min.js" defer></script>
|
2020-03-13 22:17:08 +01:00
|
|
|
|
|
|
|
<!-- Fonts -->
|
|
|
|
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet" type="text/css">
|
|
|
|
|
|
|
|
<!-- Styles -->
|
|
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
|
|
|
|
{{-- <link href="{{ mix('favicon.png') }}" rel="shortcut icon" type="image/png"> --}}
|
|
|
|
|
2020-12-07 21:21:08 +01:00
|
|
|
<link rel="canonical" href="{{ config('ninja.app_url') }}/{{ request()->path() }}"/>
|
2020-03-13 22:17:08 +01:00
|
|
|
|
|
|
|
{{-- Feel free to push anything to header using @push('header') --}}
|
|
|
|
@stack('head')
|
|
|
|
|
2021-03-11 17:20:30 +01:00
|
|
|
@livewireStyles
|
|
|
|
|
2020-11-19 13:41:19 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
|
2020-03-13 22:17:08 +01:00
|
|
|
</head>
|
|
|
|
|
2021-01-13 14:31:28 +01:00
|
|
|
@include('portal.ninja2020.components.primary-color')
|
|
|
|
|
2020-06-22 10:47:55 +02:00
|
|
|
<body class="antialiased {{ $custom_body_class ?? '' }}">
|
2021-01-27 14:10:24 +01:00
|
|
|
@if(session()->has('message'))
|
|
|
|
<div class="py-1 text-sm text-center text-white bg-primary disposable-alert">
|
|
|
|
{{ session('message') }}
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2020-03-13 22:17:08 +01:00
|
|
|
@yield('body')
|
2020-11-19 13:41:19 +01:00
|
|
|
|
2021-03-11 17:20:30 +01:00
|
|
|
@livewireScripts
|
|
|
|
|
2020-11-19 13:41:19 +01:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
|
|
|
|
<script>
|
|
|
|
window.addEventListener("load", function(){
|
|
|
|
if (! window.cookieconsent) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
window.cookieconsent.initialise({
|
|
|
|
"palette": {
|
|
|
|
"popup": {
|
|
|
|
"background": "#000"
|
|
|
|
},
|
|
|
|
"button": {
|
|
|
|
"background": "#f1d600"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"content": {
|
|
|
|
"href": "https://www.invoiceninja.com/privacy-policy/",
|
|
|
|
"message": "This website uses cookies to ensure you get the best experience on our website.",
|
|
|
|
"dismiss": "Got it!",
|
|
|
|
"link": "Learn more",
|
|
|
|
}
|
|
|
|
})}
|
|
|
|
);
|
|
|
|
</script>
|
2020-03-13 22:17:08 +01:00
|
|
|
</body>
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
@yield('footer')
|
|
|
|
@stack('footer')
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
</html>
|