staticPages.blade.php 11.8 KB
Newer Older
1
<!DOCTYPE html>
Phil Höfer's avatar
Phil Höfer committed
2
<html lang="{!! trans('staticPages.meta.language') !!}">
3
	<head>
4
		<script src="{{ elixir('js/lib.js') }}"></script>
5
		<meta charset="utf-8" />
6
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
Phil Höfer's avatar
Phil Höfer committed
7
		<title>@yield('title')</title>
8 9
		<meta name="description" content="{!! trans('staticPages.meta.Description') !!}" />
		<meta name="keywords" content="{!! trans('staticPages.meta.Keywords') !!}" />
10 11 12 13 14 15 16
		<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" />
17
		<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()))])) }}">
18
		<link type="text/css" rel="stylesheet" href="/font-awesome/css/font-awesome.min.css" />
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
	</head>
	<body>
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
	<style>


nav ul {
	padding: 0;
  margin: 0;
	list-style: none;
	position: relative;
	}
	
nav ul li {
	display:inline-block;
	background-color: #E64A19;
	}


/* Hide Dropdowns by Default */
nav ul ul {
	display: none;
	position: absolute; 
	top: 60px; /* the height of the main nav */
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

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

232 233 234 235 236 237
		</header>
		<div class="wrapper">
			<main class="mg-panel container">
				@if (isset($success))
					<div class="alert alert-success" role="alert">{{ $success }}</div>
				@endif
238 239 240 241 242 243
				@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
244 245 246 247 248 249
				@if (isset($error))
					<div class="alert alert-danger" role="alert">{{ $error }}</div>
				@endif
				@yield('content')
			</main>
			@yield('optionalContent')
250
			<footer class="noprint">
251
				<ul class="list-inline hidden-xs">
252
					<li>
253
						<a href="https://www.suma-ev.de/"  >
254 255
						<img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo"></a>
					</li>
256
					<li id="info">
257
						<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">{{ trans('staticPages.nav5') }}</a> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">{{ trans('staticPages.nav8') }}</a>
258
						{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/">{{ trans('staticPages.sumaev.2') }}</a>
259 260
					</li>
					<li>
261
						<a href="https://www.uni-hannover.de/"  >
262 263
						<img src="/img/luh_metager.png" alt="LUH Logo"></a>
					</li>
264 265
				</ul>
			</footer>
Dominik Hebeler's avatar
Dominik Hebeler committed
266
			<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
267
		</div>
268
	</body>
269
	<script src="{{ elixir('js/scriptSubPages.js') }}"></script>
270
</html>