staticPages.blade.php 2.67 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" />
Phil Höfer's avatar
Phil Höfer committed
5
		<title>@yield('title')</title>
6
7
		<meta name="description" content="{!! trans('staticPages.meta.Description') !!}" />
		<meta name="keywords" content="{!! trans('staticPages.meta.Keywords') !!}" />
8
9
10
11
		<meta name="page-topic" content="Dienstleistung" />
		<meta name="robots" content="index,follow" />
		<meta name="revisit-after" content="7 days" />
		<meta name="audience" content="all" />
12
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
13
14
		<link href="/favicon.ico" rel="icon" type="image/x-icon" />
		<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
15
		<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()))])) }}">
16
		<link type="text/css" rel="stylesheet" href="/fonts/arimo/stylesheet.css" />
Karl Hasselbring's avatar
Karl Hasselbring committed
17
		<link type="text/css" rel="stylesheet" href="{{ mix('css/themes/default.css') }}" />
Dominik Hebeler's avatar
Dominik Hebeler committed
18
19
20
		<link type="text/css" rel="stylesheet" href="{{ mix('css/utility.css') }}" />
		<script src="{{ mix('js/lib.js') }}"></script>
		<script src="{{ mix('js/utility.js') }}"></script>
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
		@if(Request::getHttpHost() === "metager3.de")
33
34
		<div class="alert alert-info metager3-unstable-warning">
			{!! @trans('resultPage.metager3') !!}
35
36
		</div>
		@endif
37
		<header>
38
			@yield('homeIcon')
39
		</header>
40
		@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
41
		@include('parts.sidebar-opener', ['class' => 'fixed'])
42
		<div class="wrapper {{$page or ''}}">
43
			<main class="mg-panel">
44
45
46
				@if (isset($success))
					<div class="alert alert-success" role="alert">{{ $success }}</div>
				@endif
47
48
49
50
51
52
				@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
53
54
55
56
57
58
				@if (isset($error))
					<div class="alert alert-danger" role="alert">{{ $error }}</div>
				@endif
				@yield('content')
			</main>
			@yield('optionalContent')
59
		</div>
60
		@if (isset($page) && $page === 'startpage')
61
			@include('parts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
62
		@else
63
			@include('parts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
64
		@endif
65
	</body>
66
</html>