staticPages.blade.php 8.77 KB
Newer Older
1
2
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
Dominik Hebeler's avatar
Dominik Hebeler committed
3
4
5
6
7
8
9
10
11
12
13
14
    <head>
        <title>@yield('title')</title>
        <meta charset="utf-8" />
        <meta name="description" content="Sicher suchen und finden unter Wahrung der Privatsph&auml;re. Das digitale Wissen der Welt muss ohne Bevormundung durch Staaten oder Konzerne frei zug&auml;nglich sein und bleiben." />
        <meta name="keywords" content="Internetsuche, privatsph&auml;re, privacy, Suchmaschine, Datenschutz, Anonproxy, anonym suchen, Bildersuche, Suchmaschine, anonym, MetaGer, metager, metager.de" />
        <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" />
15
        <link rel="search" type="application/opensearchdescription+xml" title="MetaGer: Sicher suchen &amp; finden, Privatsph&auml;re sch&uuml;tzen" href="{{ action('StartpageController@loadPlugin', Request::all()) }}">
Dominik Hebeler's avatar
Dominik Hebeler committed
16
17
        <link href="/css/bootstrap.css" rel="stylesheet" />
        <link href="/css/style.css" rel="stylesheet" />
karl's avatar
karl committed
18
        @if (isset($css))
19
        <link href="/css/{{ $css }}" rel="stylesheet" />
karl's avatar
karl committed
20
        @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
21
22
23
24
25
26
27
28
        <link id="theme" href="/css/theme.css.php" rel="stylesheet" />
    </head>
    <body>
        <header>
          <nav class="navbar navbar-default">
            <div class="container">
              <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
Dominik Hebeler's avatar
Dominik Hebeler committed
29
                  <span class="sr-only">{{ trans('staticPages.navigationToggle') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
30
                  </span>
31
32
33
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
Dominik Hebeler's avatar
Dominik Hebeler committed
34
35
                </button>
              </div>
36
37
38
              <div>
                @yield('homeIcon')
              </div>
Dominik Hebeler's avatar
Dominik Hebeler committed
39
40
              <div class="collapse navbar-collapse" id="navbar-collapse">
                <ul class="nav navbar-nav navbar-right">
41
42
43
                  <li @if ($navbarFocus === 'suche') class="active" @endif >
                    <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" id="navigationSuche">{{ trans('staticPages.nav1') }}</a></li>
                  <li @if ($navbarFocus === 'foerdern') class="dropdown active" @else class="dropdown" @endif >
Dominik Hebeler's avatar
Dominik Hebeler committed
44
                    <a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ trans('staticPages.nav16') }}
45
                      <span class="caret"></span></a>
Dominik Hebeler's avatar
Dominik Hebeler committed
46
47
                    <ul class="dropdown-menu">
                      <li>
48
                        <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende/") }}">{{ trans('staticPages.nav2') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
49
                      <li>
50
51
52
53
54
                        <a href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl">{{ trans('staticPages.nav17') }}</a></li>
                    </ul></li>
                  <li @if ($navbarFocus === 'datenschutz') class="active" @endif >
                    <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/datenschutz/") }}" id="navigationPrivacy">{{ trans('staticPages.nav3') }}</a></li>
                  <li @if ($navbarFocus === 'kontakt') class="dropdown active" @else class="dropdown" @endif >
Dominik Hebeler's avatar
Dominik Hebeler committed
55
                    <a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" id="navigationKontakt">{{ trans('staticPages.nav18') }}
56
                      <span class="caret"></span></a>
Dominik Hebeler's avatar
Dominik Hebeler committed
57
58
                    <ul class="dropdown-menu">
                      <li>
59
                        <a href="http://forum.suma-ev.de/">{{ trans('staticPages.nav4') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
60
                      <li>
61
                        <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt/") }}">{{ trans('staticPages.nav5') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
62
                      <li>
63
                        <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/team/") }}">{{ trans('staticPages.nav6') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
64
                      <li>
65
                        <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/about/") }}">{{ trans('staticPages.nav7') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
66
                      <li>
67
68
69
                        <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/impressum/") }}">{{ trans('staticPages.nav8') }}</a></li>
                    </ul></li>
                  <li @if ($navbarFocus === 'dienste') class="dropdown active" @else class="dropdown" @endif >
Dominik Hebeler's avatar
Dominik Hebeler committed
70
                    <a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ trans('staticPages.nav15') }}
71
                      <span class="caret"></span></a>
Dominik Hebeler's avatar
Dominik Hebeler committed
72
73
                    <ul class="dropdown-menu">
                      <li>
74
                        <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe/") }}">{{ trans('staticPages.nav9') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
75
                      <li>
76
                        <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}">{{ trans('staticPages.nav10') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
77
                      <li>
78
                        <a href="https://metager.de/klassik/asso/" target="_blank">{{ trans('staticPages.nav11') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
79
                      <li>
80
                        <a href="http://code.metager.de/" target="_blank">{{ trans('staticPages.nav12') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
81
                      <li>
82
                        <a href="https://metager.to/" target="_blank">{{ trans('staticPages.nav13') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
83
                      <li>
84
85
86
                        <a href="http://forum.suma-ev.de/viewtopic.php?f=3&amp;t=43" target="_blank">{{ trans('staticPages.nav14') }}</a></li>
                    </ul></li>
                  <li class="dropdown" class="dropdown">
87
                    <a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" id="navigationSprache">{{ trans('staticPages.nav19') }}
88
                      <span class="caret"></span></a>
89
90
91
92
                    <ul class="dropdown-menu">
                      @foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
                      <li><a rel="alternate" hreflang="{{$localeCode}}" href="{{LaravelLocalization::getLocalizedURL($localeCode) }}">{{{ $properties['native'] }}}</a></li>
                      @endforeach
93
                    </ul></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
94
95
96
97
98
                </ul>
              </div>
            </div>
          </nav>
        </header>
99

Dominik Hebeler's avatar
Dominik Hebeler committed
100
        <div class="wrapper">
101
            <main class="mg-panel container">
102
103
104
105
106
107
108
                @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')
Dominik Hebeler's avatar
Dominik Hebeler committed
109
            </main>
110
            @yield('optionalContent')
Dominik Hebeler's avatar
Dominik Hebeler committed
111
112
113
114
            <footer>
              <ul class="list-inline hidden-xs">
                <li>
                  <a href="https://www.suma-ev.de/" target="_blank">
115
                    <img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo"></a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
116
117
                <li id="info">
                  <a href="/kontakt/">{{ trans('staticPages.nav5') }}</a> - <a href="/impressum/">{{ trans('staticPages.nav8') }}</a>
118
                  {{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/" target="_blank" >{{ trans('staticPages.sumaev.2') }}</a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
119
120
                <li>
                  <a href="https://www.uni-hannover.de/" target="_blank">
121
                    <img src="/img/luh_metager.png" alt="LUH Logo"></a></li>
Dominik Hebeler's avatar
Dominik Hebeler committed
122
123
124
125
126
              </ul>
            </footer>
            <script type="text/javascript" src="/js/jquery.js"></script>
            <script type="text/javascript" src="/js/bootstrap.js"></script>
            <script type="text/javascript" src="/js/scriptStartPage.js"></script>
127
128
129
130
131
	    @if (isset($js))
	    	@foreach ($js as $script)
            		<script type="text/javascript" src="/js/{{ $script }}"></script>
            	@endforeach
	    @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
132
133
            <!--[if lte IE 8]><script type="text/javascript" src="/js/html5shiv.min.js"></script><![endif]-->
    </body>
134
</html>