staticPages.blade.php 11.6 KB
Newer Older
1
<!DOCTYPE html>
Phil Höfer's avatar
Phil Höfer committed
2
<html lang="{!! trans('staticPages.meta.language') !!}">
3
4
	<head>
		<meta charset="utf-8" />
5
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
Phil Höfer's avatar
Phil Höfer committed
6
		<title>@yield('title')</title>
7
8
		<meta name="description" content="{!! trans('staticPages.meta.Description') !!}" />
		<meta name="keywords" content="{!! trans('staticPages.meta.Keywords') !!}" />
9
10
11
12
13
14
15
		<meta name="page-topic" content="Dienstleistung" />
		<meta name="robots" content="index,follow" />
		<meta name="revisit-after" content="7 days" />
		<meta name="audience" content="all" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
		<meta rel="icon" type="image/x-icon" href="/favicon.ico" />
		<meta rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
Dominik Hebeler's avatar
Dominik Hebeler committed
16
		<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
Dominik Hebeler's avatar
Dominik Hebeler committed
17
		<meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
18
		<link rel="search" type="application/opensearchdescription+xml" title="{{ trans('staticPages.opensearch') }}" href="{{  LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin', ['params' => base64_encode(serialize(Request::all()))])) }}">
19
		<link type="text/css" rel="stylesheet" href="{{ elixir('css/themes/default.css') }}" />
Dominik Hebeler's avatar
Dominik Hebeler committed
20
		<link id="theme" type="text/css" rel="stylesheet" href="/css/theme.css.php" />
21
		@if (isset($css))
22
23
24
25
26
27
28
			@if(is_array($css))
				@foreach($css as $el)
					<link href="/css/{{ $el }}" rel="stylesheet" />
				@endforeach
			@else
				<link href="/css/{{ $css }}" rel="stylesheet" />
			@endif
29
		@endif
30
31
32
	</head>
	<body>
		<header>
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
			@yield('homeIcon')
		<nav id="navbar-static-pages" class="navbar-resultpage">


			<ul id="metager-static-nav-list" class="list-inline pull-right">
				<li id="toggle-nav-hide" class="hidden">
					<a class="metager-navbar-toggle pull-right" href="#" data-original-title="" title="">
									<span class="sr-only">Navigation anzeigen</span>
									<span class="glyphicon glyphicon-menu-hamburger"></span>
					</a>
					<div class="clearfix"></div>
				</li>
				<li id="toggle-nav-show">
					<a class="metager-navbar-toggle pull-right" href="#metager-static-nav-list" data-original-title="" title="">
									<span class="sr-only">Navigation anzeigen</span>
									<span class="glyphicon glyphicon-menu-hamburger"></span>
					</a>
					<div class="clearfix"></div>
				</li>
				<li @if ( !isset($navbarFocus) || $navbarFocus === 'suche') class="active" @endif >
					<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}"  tabindex="200" id="navigationSuche">{{ trans('staticPages.nav1') }}</a>
				</li>
				<li @if (isset($navbarFocus) && $navbarFocus === 'foerdern') class="metager-dropdown active" @else class="metager-dropdown" @endif >
					<a class="metager-dropdown-toggle" role="button" aria-expanded="false" tabindex="201">{{ trans('staticPages.nav16') }}
57
								<span class="caret"></span></a>
58
								<ul class="metager-dropdown-menu">
59
									<li>
60
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende/") }}" tabindex="202">{{ trans('staticPages.nav2') }}</a>
61
62
									</li>
									<li>
63
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/beitritt/") }}" tabindex="203">{{ trans('staticPages.nav23') }}</a>
64
65
									</li>
									<li>
66
										<a href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" tabindex="204">{{ trans('staticPages.nav17') }}</a>
67
									</li>
68
69
								</ul>
							</li>
70
							@if(LaravelLocalization::getCurrentLocale() === "de")
71
72
73
74
							<li id="gutscheine"@if (isset($navbarFocus) && $navbarFocus === 'gutscheine') class="metager-dropdown active" @else class="metager-dropdown" @endif >
								{!! trans('staticPages.gutscheineToggle') !!}
								<a class="metager-dropdown-toggle" data-role="button" aria-expanded="false" tabindex="205"><span class="caret"></span></span>
								<ul class="metager-dropdown-menu">
75
									<li>
76
										<a href="https://metager.de/gutscheine/congstar/" tabindex="206" >{{ trans('staticPages.gutscheine.2') }}</a>
77
78
									</li>
									<li>
79
										<a href="https://metager.de/gutscheine/check24/" tabindex="207" >{{ trans('staticPages.gutscheine.3') }}</a>
80
81
									</li>
									<li>
82
										<a href="https://metager.de/gutscheine/handyflash/" tabindex="208" >{{ trans('staticPages.gutscheine.4') }}</a>
83
84
									</li>
									<li>
85
										<a href="https://metager.de/gutscheine/groupon/" tabindex="209" >{{ trans('staticPages.gutscheine.5') }}</a>
86
87
									</li>
									<li>
88
										<a href="https://metager.de/gutscheine/medion/" tabindex="210" >{{ trans('staticPages.gutscheine.6') }}</a>
89
90
									</li>
									<li>
91
										<a href="https://metager.de/gutscheine/navabi/" tabindex="211" >{{ trans('staticPages.gutscheine.7') }}</a>
92
93
									</li>
									<li>
94
										<a href="https://metager.de/gutscheine/netcologne/" tabindex="212" >{{ trans('staticPages.gutscheine.8') }}</a>
95
96
									</li>
									<li>
97
										<a href="https://metager.de/gutscheine/teufel/" tabindex="213" >{{ trans('staticPages.gutscheine.9') }}</a>
98
99
100
									</li>
									<li role="separator" class="divider"></li>
									<li>
101
										<a href="https://metager.de/gutscheine/alle-gutscheine/" tabindex="214" >{{ trans('staticPages.gutscheine.10') }}</a>
102
103
104
105
									</li>
								</ul>
							</li>
							@endif
106
							<li @if (isset($navbarFocus) && $navbarFocus === 'datenschutz') class="active" @endif >
107
								<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/datenschutz/") }}" id="navigationPrivacy" tabindex="215">{{ trans('staticPages.nav3') }}</a>
108
							</li>
109
110
							<li @if (isset($navbarFocus) && $navbarFocus === 'hilfe') class="metager-dropdown active" @else class="metager-dropdown" @endif >
								<a class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationHilfe" tabindex="216">{{ trans('staticPages.nav20') }}
111
								<span class="caret"></span></a>
112
								<ul class="metager-dropdown-menu">
113
									<li>
114
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe/") }}" tabindex="217">{{ trans('staticPages.nav20') }}</a>
115
116
									</li>
									<li>
117
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/faq/") }}" tabindex="218">{{ trans('staticPages.nav21') }}</a>
118
									</li>
119
120
								</ul>
							</li>
121
122
							<li @if (isset($navbarFocus) && $navbarFocus === 'kontakt') class="metager-dropdown active" @else class="metager-dropdown" @endif >
								<a class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationKontakt" tabindex="219">{{ trans('staticPages.nav18') }}
123
								<span class="caret"></span></a>
124
								<ul class="metager-dropdown-menu">
125
									<li>
126
										<a href="http://forum.suma-ev.de/" tabindex="220">{{ trans('staticPages.nav4') }}</a>
127
128
									</li>
									<li>
129
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt/") }}" tabindex="221">{{ trans('staticPages.nav5') }}</a>
130
131
									</li>
									<li>
132
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/team/") }}" tabindex="222">{{ trans('staticPages.nav6') }}</a>
133
134
									</li>
									<li>
135
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/about/") }}" tabindex="223">{{ trans('staticPages.nav7') }}</a>
136
137
									</li>
									<li>
138
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/impressum/") }}" tabindex="224">{{ trans('staticPages.nav8') }}</a>
139
									</li>
140
141
								</ul>
							</li>
142
143
							<li @if (isset($navbarFocus) && $navbarFocus === 'dienste') class="metager-dropdown active" @else class="metager-dropdown" @endif >
								<a class="metager-dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" tabindex="225">{{ trans('staticPages.nav15') }}
144
								<span class="caret"></span></a>
145
								<ul class="metager-dropdown-menu">
146
									<li>
147
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}" tabindex="226">{{ trans('staticPages.nav10') }}</a>
148
149
									</li>
									<li>
150
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/zitat-suche/") }}" tabindex="227">{{ trans('staticPages.nav22') }}</a>
151
152
									</li>
									<li>
153
										<a href="https://metager.de/klassik/asso/" tabindex="228">{{ trans('staticPages.nav11') }}</a>
154
155
									</li>
									<li>
156
										<a href="http://code.metager.de/" tabindex="229">{{ trans('staticPages.nav12') }}</a>
157
158
									</li>
									<li>
159
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/app/") }}" tabindex="230">@lang('staticPages.nav25')</a>
160
161
									</li>
									<li>
162
										<a href="https://metager.to/" tabindex="231">{{ trans('staticPages.nav13') }}</a>
163
164
									</li>
									<li>
165
										<a href="https://maps.metager.de" target="_blank" tabindex="232">Maps.MetaGer.de</a>
166
167
									</li>
									<li>
168
										<a href="https://gitlab.metager3.de/open-source/MetaGer" tabindex="233">{{ trans('staticPages.nav24') }}</a>
169
170
									</li>
									<li>
171
										<a href="http://forum.suma-ev.de/viewtopic.php?f=3&amp;t=43" tabindex="234">{{ trans('staticPages.nav14') }}</a>
172
									</li>
173
174
								</ul>
							</li>
175
176
							<li class="metager-dropdown">
								<a class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationSprache" tabindex="235">{{ trans('staticPages.nav19') }} ({{ LaravelLocalization::getSupportedLocales()[LaravelLocalization::getCurrentLocale()]['native'] }})
177
								<span class="caret"></span></a>
178
								<ul class="metager-dropdown-menu">
179
									@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
180
										<li>
181
											<a rel="alternate" hreflang="{{$localeCode}}" href="{{LaravelLocalization::getLocalizedURL($localeCode) }}" tabindex="{{235 + $loop->index}}">{{{ $properties['native'] }}}</a>
182
										</li>
183
184
									@endforeach
								</ul>
185
							</li>
186
187
188
			</ul>
		</nav>

189
190
191
192
193
194
195
196
197
198
199
200
		</header>
		<div class="wrapper">
			<main class="mg-panel container">
				@if (isset($success))
					<div class="alert alert-success" role="alert">{{ $success }}</div>
				@endif
				@if (isset($error))
					<div class="alert alert-danger" role="alert">{{ $error }}</div>
				@endif
				@yield('content')
			</main>
			@yield('optionalContent')
201
			<footer class="noprint">
202
				<ul class="list-inline hidden-xs">
203
					<li>
204
						<a href="https://www.suma-ev.de/"  >
205
206
						<img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo"></a>
					</li>
207
					<li id="info">
208
						<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">{{ trans('staticPages.nav5') }}</a> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">{{ trans('staticPages.nav8') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
209
						{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/"   >{{ trans('staticPages.sumaev.2') }}</a>
210
211
					</li>
					<li>
212
						<a href="https://www.uni-hannover.de/"  >
213
214
						<img src="/img/luh_metager.png" alt="LUH Logo"></a>
					</li>
215
216
				</ul>
			</footer>
Dominik Hebeler's avatar
Dominik Hebeler committed
217
			<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
Dominik Hebeler's avatar
Dominik Hebeler committed
218
			<script type="text/javascript" src="{{ elixir('js/all.js') }}"></script>
219
		</div>
220
	</body>
221
</html>