staticPages.blade.php 3.48 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
16
17
18
19
20
21
22
23
		<link rel="apple-touch-icon" href="/img/apple/touch-icon.png">
		<link rel="apple-touch-icon" sizes="57x57" href="/img/apple/touch-icon-57.png">
		<link rel="apple-touch-icon" sizes="72x72" href="/img/apple/touch-icon-72.png">
		<link rel="apple-touch-icon" sizes="76x76" href="/img/apple/touch-icon-76.png">
		<link rel="apple-touch-icon" sizes="114x114" href="/img/apple/touch-icon-114.png">
		<link rel="apple-touch-icon" sizes="120x120" href="/img/apple/touch-icon-120.png">
		<link rel="apple-touch-icon" sizes="144x144" href="/img/apple/touch-icon-144.png">
		<link rel="apple-touch-icon" sizes="152x152" href="/img/apple/touch-icon-152.png">
		<link rel="apple-touch-icon" sizes="180x180" href="/img/apple/touch-icon-180.png">
24
		<link rel="search" type="application/opensearchdescription+xml" title="{{ trans('staticPages.opensearch') }}" href="{{  LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin')) }}">
Karl Hasselbring's avatar
Karl Hasselbring committed
25
		<link type="text/css" rel="stylesheet" href="{{ mix('css/themes/metager.css') }}" />
Dominik Hebeler's avatar
Dominik Hebeler committed
26
		<link type="text/css" rel="stylesheet" href="{{ mix('css/utility.css') }}" />
27
28
29
		<link href="/fonts/liberationsans/stylesheet.css" rel="stylesheet">
		<link type="text/css" rel="stylesheet" href="{{ mix('css/fontawesome.css') }}" />
		<link type="text/css" rel="stylesheet" href="{{ mix('css/fontawesome-solid.css') }}" />
Dominik Hebeler's avatar
Dominik Hebeler committed
30
31
		<script src="{{ mix('js/lib.js') }}"></script>
		<script src="{{ mix('js/utility.js') }}"></script>
32
		@if (isset($css))
33
34
35
36
37
38
39
			@if(is_array($css))
				@foreach($css as $el)
					<link href="/css/{{ $el }}" rel="stylesheet" />
				@endforeach
			@else
				<link href="/css/{{ $css }}" rel="stylesheet" />
			@endif
40
		@endif
41
42
	</head>
	<body>
43
		@if(Request::getHttpHost() === "metager3.de")
44
		<div class="alert alert-info metager3-unstable-warning-static-pages">
45
			{!! @trans('resultPage.metager3') !!}
46
47
		</div>
		@endif
48
		<header>
49
			@yield('homeIcon')
50
		</header>
Dominik Hebeler's avatar
Dominik Hebeler committed
51
		<div class="wrapper {{$page ?? ''}}">
52
			<main id="main-content">
53
54
55
				@if (isset($success))
					<div class="alert alert-success" role="alert">{{ $success }}</div>
				@endif
56
57
58
59
60
61
				@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
62
63
64
65
66
				@if (isset($error))
					<div class="alert alert-danger" role="alert">{{ $error }}</div>
				@endif
				@yield('content')
			</main>
67
		</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
68
69
		@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
		@include('parts.sidebar-opener', ['class' => 'fixed'])
70
		@if (isset($page) && $page === 'startpage')
71
			@include('parts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
72
		@else
73
			@include('parts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
74
		@endif
75
	</body>
76
</html>