staticPages.blade.php 10.4 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" />
16
		<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()))])) }}">
17
		<link type="text/css" rel="stylesheet" href="/font-awesome/css/font-awesome.min.css" />
18
		<link type="text/css" rel="stylesheet" href="{{ elixir('css/themes/default.css') }}" />
Dominik Hebeler's avatar
Dominik Hebeler committed
19
		<link id="theme" type="text/css" rel="stylesheet" href="/css/theme.css.php" />
20
		<script src="{{ elixir('js/scriptSubPages.js') }}"></script>
21
		<script src="{{ elixir('js/lib.js') }}"></script>
22
		@if (isset($css))
23
24
25
26
27
28
29
			@if(is_array($css))
				@foreach($css as $el)
					<link href="/css/{{ $el }}" rel="stylesheet" />
				@endforeach
			@else
				<link href="/css/{{ $css }}" rel="stylesheet" />
			@endif
30
		@endif
31
32
33
	</head>
	<body>
		<header>
34
35
36
37
38
39
40
41
			@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>
42
									<i class="fa fa-bars" aria-hidden="true"></i>
43
44
45
46
47
					</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="">
48
49
						<span class="sr-only">Navigation anzeigen</span>
						<i class="fa fa-bars" aria-hidden="true"></i>
50
51
52
53
54
55
56
57
					</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') }}
58
								<span class="caret"></span></a>
59
								<ul class="metager-dropdown-menu">
60
									<li>
61
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende/") }}" tabindex="202">{{ trans('staticPages.nav2') }}</a>
62
63
									</li>
									<li>
64
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/beitritt/") }}" tabindex="203">{{ trans('staticPages.nav23') }}</a>
65
66
									</li>
									<li>
67
										<a href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" tabindex="204">{{ trans('staticPages.nav17') }}</a>
68
									</li>
69
70
71
72
73
74
									@if(LaravelLocalization::getCurrentLocale() == "de")
										<li>
										<a href="https://shop.spreadshirt.de/metager/" rel="noopener" target="_blank">MetaGer-Fanshop</a>

										</li>
									@endif
75
76
								</ul>
							</li>
77
							<li @if (isset($navbarFocus) && $navbarFocus === 'datenschutz') class="active" @endif >
78
								<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/datenschutz/") }}" id="navigationPrivacy" tabindex="215">{{ trans('staticPages.nav3') }}</a>
79
							</li>
80
81
							<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') }}
82
								<span class="caret"></span></a>
83
								<ul class="metager-dropdown-menu">
84
									<li>
85
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe/") }}" tabindex="217">{{ trans('staticPages.nav20') }}</a>
86
87
									</li>
									<li>
88
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/faq/") }}" tabindex="218">{{ trans('staticPages.nav21') }}</a>
89
									</li>
90
91
								</ul>
							</li>
92
93
							<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') }}
94
								<span class="caret"></span></a>
95
								<ul class="metager-dropdown-menu">
96
									<li>
97
										<a href="http://forum.suma-ev.de/" tabindex="220">{{ trans('staticPages.nav4') }}</a>
98
99
									</li>
									<li>
100
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt/") }}" tabindex="221">{{ trans('staticPages.nav5') }}</a>
101
102
									</li>
									<li>
103
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/team/") }}" tabindex="222">{{ trans('staticPages.nav6') }}</a>
104
105
									</li>
									<li>
106
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/about/") }}" tabindex="223">{{ trans('staticPages.nav7') }}</a>
107
108
									</li>
									<li>
109
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/impressum/") }}" tabindex="224">{{ trans('staticPages.nav8') }}</a>
110
									</li>
111
112
								</ul>
							</li>
113
114
							<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') }}
115
								<span class="caret"></span></a>
116
								<ul class="metager-dropdown-menu">
117
									<li>
118
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}" tabindex="226">{{ trans('staticPages.nav10') }}</a>
119
120
									</li>
									<li>
121
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/zitat-suche/") }}" tabindex="227">{{ trans('staticPages.nav22') }}</a>
122
123
									</li>
									<li>
124
										<a href="https://metager.de/klassik/asso/" tabindex="228">{{ trans('staticPages.nav11') }}</a>
125
126
									</li>
									<li>
127
										<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/app/") }}" tabindex="230">@lang('staticPages.nav25')</a>
128
129
									</li>
									<li>
130
										<a href="https://metager.to/" tabindex="231">{{ trans('staticPages.nav13') }}</a>
131
132
									</li>
									<li>
133
										<a href="https://maps.metager.de" target="_blank" tabindex="232">Maps.MetaGer.de</a>
134
135
									</li>
									<li>
136
										<a href="https://gitlab.metager3.de/open-source/MetaGer" tabindex="233">{{ trans('staticPages.nav24') }}</a>
137
138
									</li>
									<li>
139
										<a href="http://forum.suma-ev.de/viewtopic.php?f=3&amp;t=43" tabindex="234">{{ trans('staticPages.nav14') }}</a>
140
									</li>
141
142
								</ul>
							</li>
143
144
							<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'] }})
145
								<span class="caret"></span></a>
146
								<ul class="metager-dropdown-menu">
147
									@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
148
										<li>
149
											<a rel="alternate" hreflang="{{$localeCode}}" href="{{LaravelLocalization::getLocalizedURL($localeCode) }}" tabindex="{{235 + $loop->index}}">{{{ $properties['native'] }}}</a>
150
										</li>
151
152
									@endforeach
								</ul>
153
							</li>
154
155
156
			</ul>
		</nav>

157
158
159
160
161
162
		</header>
		<div class="wrapper">
			<main class="mg-panel container">
				@if (isset($success))
					<div class="alert alert-success" role="alert">{{ $success }}</div>
				@endif
163
164
165
166
167
168
				@if (isset($info))
					<div class="alert alert-info" role="alert">{{ $info }}</div>
				@endif
				@if (isset($warning))
					<div class="alert alert-warning" role="alert">{{ $warning }}</div>
				@endif
169
170
171
172
173
174
				@if (isset($error))
					<div class="alert alert-danger" role="alert">{{ $error }}</div>
				@endif
				@yield('content')
			</main>
			@yield('optionalContent')
175
			<footer class="noprint">
176
					<div class="hidden-xs mg-img">
177
						<a href="https://www.suma-ev.de/"  >
178
						<img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo"></a>
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
					</div>
					<div id="info">
						<div class="links">
							<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">
								{{ trans('staticPages.nav5') }}
							</a>
							<span> - </span>
							<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">
								{{ trans('staticPages.nav8') }}
							</a>
							@if(LaravelLocalization::getCurrentLocale() == "de")
							<span> - </span>
							<a href="https://shop.spreadshirt.de/metager/" rel="noopener" target="_blank">Fanshop</a>
							@endif
						</div>
						<div>
							{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/">{{ trans('staticPages.sumaev.2') }}</a>
						</div>
					</div>
					<div class="hidden-xs mg-img">
199
						<a href="https://www.uni-hannover.de/"  >
200
201
						<img src="/img/luh_metager.png" alt="LUH Logo"></a>
					</li>
202
			</footer>
Dominik Hebeler's avatar
Dominik Hebeler committed
203
			<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
204
		</div>
205
	</body>
206
</html>