summaryrefslogtreecommitdiff
path: root/resources/views/layouts/base.blade.php
blob: f1bc1f84c1d7538a03bc773797d0efe5cbff3a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>                                                                                                                                                                                                      
<html lang="de">
<head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, minimumscale=1.0, maximum-scale=1.0" />
	<meta name="robots" content="index,follow"/>
        <meta name="description" content="@yield('description')">
        <meta name="author" content="Maximilian Möhring">
        <link rel="shortcut icon" href="https://www.fuselkoenig.de/wp-content/themes/fuselkoenig_de_v2/img/paw_with_glencairn.png">
	<link rel="shortcut icon" href="https://www.fuselkoenig.de/wp-content/themes/fuselkoenig_de_v2/img/favicon.png">
        <link rel="canonical" href="{{ URL::current() }}">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-title" content="Sonderangebote - Finde den besten Deal - Made by Fuselkönig">

        <title>@yield('header') | {{ env("APP_BRANDING") }}</title>

	<link rel='stylesheet' id='theme-styles-css'  href='/css/theme.min.css' type='text/css' media='all' />
	<link rel='stylesheet' href="/css/open-iconic-bootstrap.css">
	<link rel='preload' href="{{ env('APP_URL') }}css/fonts/charter_regular-webfont.woff" as="font" type="font/woff" crossorigin>
	<link rel='preload' href="{{ env('APP_URL') }}css/fonts/charter_bold-webfont.woff" as="font" type="font/woff" crossorigin>
	<link rel='preload' href="{{ env('APP_URL') }}css/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin>
	<link rel='preload' href="{{ env('APP_URL') }}fonts/open-iconic.woff" as="font" type="font/woff" crossorigin>

	<script type='text/javascript' src='/js/jquery.js'></script>
	<style>
	p { font-size: 18px; }
	.main-header {
		background-image: url("/img/angebote_background.jpg");");
	}
	.ttaxonomy-card {
		box-shadow: inherit !important;
	}
	@media (max-width:768px) {
		.dp-none {
			display:none !important
		}
	}
	.navbar-brand-img {
		margin-right: 5px;
	}
	@media (max-width:768px) {
		.navbar-brand-img {
			margin-left: -10px;
		}
	}
	</style>


	@yield('feed')
	@yield('css')

<script>
function addField(){
        var field = document.createElement("input");
        field.setAttribute("type","text");
        field.setAttribute("placeholder","Weitere Zutat (optional)");
        field.setAttribute("name","i[]");
        field.className = "form-control";

        document.getElementById("cocktail_search_form_field").appendChild(field);
}
</script>

<?php
if ( "" != env('PIWIK_URL') && "" != env('PIWIK_ID') ) {
?>
<script type="text/javascript">
  var _paq = _paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  _paq.push(['enableHeartBeatTimer', 5]);
  _paq.push(['trackVisibleContentImpressions']);
  (function() {
    var u="{{ env('PIWIK_URL') }}";
    _paq.push(['setTrackerUrl', u+'jsp/']);
    _paq.push(['setSiteId', '{{ env("PIWIK_ID") }}']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'jsp/'; s.parentNode.insertBefore(g,s);
  })();
</script>
<?php
}
?>
</head>

<body>

<?php
if ( "" != env('PIWIK_URL') && "" != env('PIWIK_ID') ) {
?>
	<noscript>
	<img src="{{ env('PIWIK_URL') }}jsp/?idsite={{ env('PIWIK_ID') }}&rec=1" style="border:0" alt="" />
	</noscript>
<?php
}
?>

	@include('snippets.navbar')

	@yield('content')

	@include('snippets.footer')


<script type='text/javascript' src='/js/theme.min.js'></script>
<script type='text/javascript' src='/js/underscore.min.js'></script>

	@yield('scripts')
</body>
</html>