summaryrefslogtreecommitdiff
path: root/resources/views/layouts/base.blade.php
blob: 71306214ca371c062ad5811ead712d187bc5ce63 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!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')
@if(Request::route()->getName() != "index") 
		| {{ env("APP_BRANDING") }}
@endif
	</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");
		background-image: url("/img/cocktails_background.jpg");
		background-image: url("https://www.fuselkoenig.de/wp-content/themes/fuselkoenig_de_v2/img/background_mini_farbig.jpg");
*/
		background-color: #111;
		background-position: center;
		background-image: url("/img/whisky_and_book_dark.jpg");
	}
	.ttaxonomy-card {
		box-shadow: inherit !important;
	}
	@media (max-width:768px) {
		.dp-none {
			display:none !important
		}
		.btn-small-p {
			margin-bottom: 5px;
		}
	}
	@media (min-width:769px) {
		.dp-none-invert {
			display:none !important
		}
	}
	.navbar-brand-img {
		margin-right: 5px;
	}
	@media (max-width:768px) {
		.navbar-brand-img {
			margin-left: -10px;
		}
	}
	/**
	 * ## Bottom Border Color in Navbar
	 */
	@media (min-width: 993px) {
		.navbar-nav > li {
		  position: relative;
		}
		.navbar-nav .active a:not(.dropdown-item)::before{
		  border-bottom: 5px solid #f07206;
		  bottom: -18px;
		  content: " ";
		  left: 0;
		  position: absolute;
		  right: 0;
		}
	}
	@media (max-width: 992px) {
		#main-menu > li.active {
			text-decoration: underline !important;
			/*
			text-decoration-color: theme-color(primary);
			text-decoration: none !important;
			border-bottom: 2px solid theme-color(primary);
			*/
		}
	}
	</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);
}
function addFieldExclude(){
        var field = document.createElement("input");
        field.setAttribute("type","text");
        field.setAttribute("placeholder","Weitere Ausnahme (optional)");
        field.setAttribute("name","i_ex[]");
        field.className = "form-control";

        document.getElementById("cocktail_search_form_field_exclude").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>