staticPages.blade.php 10.9 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
			<nav class="navbar navbar-default navbar-fixed-top">
34
				<div class="container-fluid">
35
36
37
38
39
40
41
42
43
44
45
					<div class="navbar-header">
						<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
							<span class="sr-only">{{ trans('staticPages.navigationToggle') }}</span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
						</button>
						@yield('homeIcon')
					</div>
					<div class="collapse navbar-collapse" id="navbar-collapse">
						<ul class="nav navbar-nav navbar-right">
46
							<li @if ( !isset($navbarFocus) || $navbarFocus === 'suche') class="active" @endif >
47
48
								<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" id="navigationSuche">{{ trans('staticPages.nav1') }}</a>
							</li>
49
							<li @if (isset($navbarFocus) && $navbarFocus === 'foerdern') class="dropdown active" @else class="dropdown" @endif >
50
51
52
								<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ trans('staticPages.nav16') }}
								<span class="caret"></span></a>
								<ul class="dropdown-menu">
53
54
55
56
57
58
59
60
61
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende/") }}">{{ trans('staticPages.nav2') }}</a>
									</li>
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/beitritt/") }}">{{ trans('staticPages.nav23') }}</a>
									</li>
									<li>
										<a href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl">{{ trans('staticPages.nav17') }}</a>
									</li>
62
63
								</ul>
							</li>
64
							@if(LaravelLocalization::getCurrentLocale() === "de")
65
							<li id="gutscheine"@if (isset($navbarFocus) && $navbarFocus === 'gutscheine') class="dropdown active" @else class="dropdown" @endif >
Dominik Hebeler's avatar
Dominik Hebeler committed
66
67
								<span class="dropdown-toggle" data-role="button" aria-expanded="false">... durch {!! trans('staticPages.gutscheineToggle') !!}
								<span class="caret"></span></span>
68
69
								<ul class="dropdown-menu">
									<li>
70
										<a href="https://metager.de/gutscheine/congstar/"  >{{ trans('staticPages.gutscheine.2') }}</a>
71
72
									</li>
									<li>
73
										<a href="https://metager.de/gutscheine/check24/"  >{{ trans('staticPages.gutscheine.3') }}</a>
74
75
									</li>
									<li>
76
										<a href="https://metager.de/gutscheine/handyflash/"  >{{ trans('staticPages.gutscheine.4') }}</a>
77
78
									</li>
									<li>
79
										<a href="https://metager.de/gutscheine/groupon/"  >{{ trans('staticPages.gutscheine.5') }}</a>
80
81
									</li>
									<li>
82
										<a href="https://metager.de/gutscheine/medion/"  >{{ trans('staticPages.gutscheine.6') }}</a>
83
84
									</li>
									<li>
85
										<a href="https://metager.de/gutscheine/navabi/"  >{{ trans('staticPages.gutscheine.7') }}</a>
86
87
									</li>
									<li>
88
										<a href="https://metager.de/gutscheine/netcologne/"  >{{ trans('staticPages.gutscheine.8') }}</a>
89
90
									</li>
									<li>
91
										<a href="https://metager.de/gutscheine/teufel/"  >{{ trans('staticPages.gutscheine.9') }}</a>
92
93
94
									</li>
									<li role="separator" class="divider"></li>
									<li>
95
										<a href="https://metager.de/gutscheine/alle-gutscheine/"  >{{ trans('staticPages.gutscheine.10') }}</a>
96
97
98
99
									</li>
								</ul>
							</li>
							@endif
100
							<li @if (isset($navbarFocus) && $navbarFocus === 'datenschutz') class="active" @endif >
101
102
								<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/datenschutz/") }}" id="navigationPrivacy">{{ trans('staticPages.nav3') }}</a>
							</li>
103
104
105
106
							<li @if (isset($navbarFocus) && $navbarFocus === 'hilfe') class="dropdown active" @else class="dropdown" @endif >
								<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" id="navigationHilfe">{{ trans('staticPages.nav20') }}
								<span class="caret"></span></a>
								<ul class="dropdown-menu">
107
108
109
110
111
112
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe/") }}">{{ trans('staticPages.nav20') }}</a>
									</li>
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/faq/") }}">{{ trans('staticPages.nav21') }}</a>
									</li>
113
114
								</ul>
							</li>
115
							<li @if (isset($navbarFocus) && $navbarFocus === 'kontakt') class="dropdown active" @else class="dropdown" @endif >
116
117
118
								<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" id="navigationKontakt">{{ trans('staticPages.nav18') }}
								<span class="caret"></span></a>
								<ul class="dropdown-menu">
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
									<li>
										<a href="http://forum.suma-ev.de/">{{ trans('staticPages.nav4') }}</a>
									</li>
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt/") }}">{{ trans('staticPages.nav5') }}</a>
									</li>
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/team/") }}">{{ trans('staticPages.nav6') }}</a>
									</li>
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/about/") }}">{{ trans('staticPages.nav7') }}</a>
									</li>
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/impressum/") }}">{{ trans('staticPages.nav8') }}</a>
									</li>
134
135
								</ul>
							</li>
136
							<li @if (isset($navbarFocus) && $navbarFocus === 'dienste') class="dropdown active" @else class="dropdown" @endif >
137
138
139
								<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ trans('staticPages.nav15') }}
								<span class="caret"></span></a>
								<ul class="dropdown-menu">
140
141
142
143
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}">{{ trans('staticPages.nav10') }}</a>
									</li>
									<li>
144
										<a href="https://metager.de/klassik/zitat-suche/"  >{{ trans('staticPages.nav22') }}</a>
145
146
									</li>
									<li>
147
										<a href="https://metager.de/klassik/asso/"  >{{ trans('staticPages.nav11') }}</a>
148
149
									</li>
									<li>
150
										<a href="http://code.metager.de/"  >{{ trans('staticPages.nav12') }}</a>
151
152
153
154
155
									</li>
									<li>
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe#mg-app") }}">@lang('staticPages.nav25')</a>
									</li>
									<li>
156
										<a href="https://metager.to/"  >{{ trans('staticPages.nav13') }}</a>
157
158
159
160
161
									</li>
									<li>
										<a href="https://maps.metager.de" target="_blank">Maps.MetaGer.de</a>
									</li>
									<li>
162
										<a href="https://gitlab.metager3.de/open-source/MetaGer"  >{{ trans('staticPages.nav24') }}</a>
163
164
									</li>
									<li>
165
										<a href="http://forum.suma-ev.de/viewtopic.php?f=3&amp;t=43"  >{{ trans('staticPages.nav14') }}</a>
166
									</li>
167
168
								</ul>
							</li>
169
							<li class="dropdown">
170
								<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" id="navigationSprache">{{ trans('staticPages.nav19') }} ({{ LaravelLocalization::getSupportedLocales()[LaravelLocalization::getCurrentLocale()]['native'] }})
171
172
173
								<span class="caret"></span></a>
								<ul class="dropdown-menu">
									@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
174
175
176
										<li>
											<a rel="alternate" hreflang="{{$localeCode}}" href="{{LaravelLocalization::getLocalizedURL($localeCode) }}">{{{ $properties['native'] }}}</a>
										</li>
177
178
									@endforeach
								</ul>
179
							</li>
180
181
						</ul>
					</div>
182
183
184
185
186
187
188
189
190
191
192
193
194
195
				</div>
			</nav>
		</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')
196
			<footer class="noprint">
197
				<ul class="list-inline hidden-xs">
198
					<li>
199
						<a href="https://www.suma-ev.de/"  >
200
201
						<img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo"></a>
					</li>
202
					<li id="info">
203
						<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">{{ trans('staticPages.nav5') }}</a> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">{{ trans('staticPages.nav8') }}</a>
204
						{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/"   >{{ trans('staticPages.sumaev.2') }}</a>
205
206
					</li>
					<li>
207
						<a href="https://www.uni-hannover.de/"  >
208
209
						<img src="/img/luh_metager.png" alt="LUH Logo"></a>
					</li>
210
211
				</ul>
			</footer>
Dominik Hebeler's avatar
Dominik Hebeler committed
212
			<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
213
			<script type="text/javascript" src="{{ elixir('js/all.js') }}"></script>
214
		</div>
215
	</body>
216
</html>