sidebar.blade.php 7.57 KB
Newer Older
Aria Givi's avatar
Aria Givi committed
1
<input id="sideBarToggle" style="display: none;" type="checkbox">
2
<div class="sideBar">
Aria Givi's avatar
Aria Givi committed
3
  <label id="closeSidebar" role="button" for="sideBarToggle"></label>
Aria Givi's avatar
Aria Givi committed
4
5
6
  <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">
    <p>MetaGer</p>
  </a>
7
8
  <ul id="metager-static-nav-list" class="list-inline pull-right">
    <li @if ( !isset($navbarFocus) || $navbarFocus === 'suche') class="active" @endif >
9
10
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" tabindex="200" id="navigationSuche">
        <i class="fa fa-search" aria-hidden="true"></i>
11
        <span>&nbsp;{{ trans('sidebar.nav1') }}</span>
12
      </a>
13
    </li>
14
    <li @if (isset($navbarFocus) && $navbarFocus === 'dienste') class="metager-dropdown active" @else class="metager-dropdown" @endif >
15
16
17
      <input id="servicesToggle" class="sideBarCheckbox" type="checkbox">
        <label for="servicesToggle" class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" tabindex="225">
          <i class="fa fa-wrench" aria-hidden="true"></i>
18
          <span>&nbsp;{{ trans('sidebar.nav15') }}</span>
19
20
          <span class="caret"></span>
        </label>
21
22
      <ul class="metager-dropdown-menu">
        <li>
23
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}" tabindex="226">{{ trans('sidebar.nav10') }}</a>
24
25
        </li>
        <li>
26
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/zitat-suche/") }}" tabindex="227">{{ trans('sidebar.nav22') }}</a>
27
28
        </li>
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
29
          <a class="inlink" href="https://metager.de/klassik/asso/" tabindex="228">{{ trans('sidebar.nav11') }}</a>
30
31
        </li>
        <li>
32
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/app/") }}" tabindex="230">@lang('sidebar.nav25')</a>
33
34
        </li>
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
35
          <a class="inlink" href="https://metager.to/" tabindex="231">{{ trans('sidebar.nav13') }}</a>
36
37
        </li>
        <li>
38
          <a class="inlink" href="https://maps.metager.de" target="_blank" tabindex="232">Maps.MetaGer.de</a>
39
40
        </li>
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
41
          <a class="outlink" href="https://gitlab.metager3.de/open-source/MetaGer" tabindex="233">{{ trans('sidebar.nav24') }}</a>
42
43
        </li>
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
44
          <a class="outlink" href="http://forum.suma-ev.de/viewtopic.php?f=3&amp;t=43" tabindex="234">{{ trans('sidebar.nav14') }}</a>
45
46
47
48
        </li>
      </ul>
    </li>
    <li @if (isset($navbarFocus) && $navbarFocus === 'datenschutz') class="active" @endif >
49
50
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/datenschutz/") }}" id="navigationPrivacy" tabindex="215">
        <i class="fa fa-user-secret" aria-hidden="true"></i>
51
        <span>&nbsp;{{ trans('sidebar.nav3') }}</span>
52
      </a>
53
54
    </li>
    <li @if (isset($navbarFocus) && $navbarFocus === 'hilfe') class="metager-dropdown active" @else class="metager-dropdown" @endif >
55
56
57
      <input id="helpToggle" class="sideBarCheckbox" type="checkbox">
      <label for="helpToggle" class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationHilfe" tabindex="216">
        <i class="fa fa-info-circle" aria-hidden="true"></i>
58
        <span>&nbsp;{{ trans('sidebar.nav20') }}</span>
59
60
        <span class="caret"></span>
      </label>
61
62
      <ul class="metager-dropdown-menu">
        <li>
63
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe/") }}" tabindex="217">{{ trans('sidebar.nav20') }}</a>
64
65
        </li>
        <li>
66
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/faq/") }}" tabindex="218">{{ trans('sidebar.nav21') }}</a>
67
68
69
        </li>
      </ul>
    </li>
70
71
    <li @if (isset($navbarFocus) && $navbarFocus === 'foerdern') class="metager-dropdown active" @else class="metager-dropdown" @endif >
      <input id="donationToggle" class="sideBarCheckbox" type="checkbox">
72
73
      <label for="donationToggle" class="metager-dropdown-toggle" role="button" aria-expanded="false" tabindex="201">
        <i class="fa fa-money" aria-hidden="true"></i>
74
        <span>&nbsp;{{ trans('sidebar.nav16') }}</span>
75
76
        <span class="caret"></span>
      </label>
77
78
      <ul class="metager-dropdown-menu">
        <li>
79
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende/") }}" tabindex="202">{{ trans('sidebar.nav2') }}</a>
80
81
        </li>
        <li>
82
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/beitritt/") }}" tabindex="203">{{ trans('sidebar.nav23') }}</a>
83
        </li>
Karl Hasselbring's avatar
Karl Hasselbring committed
84
85
        @if(LaravelLocalization::getCurrentLocale() == "de")
          <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
86
            <a class="outlink" href="https://shop.spreadshirt.de/metager/" rel="noopener" target="_blank">{{ trans('sidebar.nav26') }}</a>
Karl Hasselbring's avatar
Karl Hasselbring committed
87
88
          </li>
        @endif
89
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
90
          <a class="outlink" href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" tabindex="204">{{ trans('sidebar.nav17') }}</a>
91
92
93
        </li>
      </ul>
    </li>
94
    <li @if (isset($navbarFocus) && $navbarFocus === 'kontakt') class="metager-dropdown active" @else class="metager-dropdown" @endif >
95
96
97
      <input id="contactToggle" class="sideBarCheckbox" type="checkbox">
      <label for="contactToggle" class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationKontakt" tabindex="219">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
98
        <span>&nbsp;{{ trans('sidebar.nav18') }}</span>
99
100
        <span class="caret"></span>
      </label>
101
102
      <ul class="metager-dropdown-menu">
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
103
          <a class="outlink" href="http://forum.suma-ev.de/" tabindex="220">{{ trans('sidebar.nav4') }}</a>
104
105
        </li>
        <li>
106
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt/") }}" tabindex="221">{{ trans('sidebar.nav5') }}</a>
107
108
        </li>
        <li>
109
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/team/") }}" tabindex="222">{{ trans('sidebar.nav6') }}</a>
110
111
        </li>
        <li>
112
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/about/") }}" tabindex="223">{{ trans('sidebar.nav7') }}</a>
113
114
        </li>
        <li>
115
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/impressum/") }}" tabindex="224">{{ trans('sidebar.nav8') }}</a>
116
117
118
119
        </li>
      </ul>
    </li>
    <li class="metager-dropdown">
120
121
122
      <input id="languagesToggle" class="sideBarCheckbox" type="checkbox">
      <label for="languagesToggle" class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationSprache" tabindex="235">
        <i class="fa fa-globe" aria-hidden="true"></i>
123
        <span>&nbsp;{{ trans('sidebar.nav19') }} ({{ LaravelLocalization::getSupportedLocales()[LaravelLocalization::getCurrentLocale()]['native'] }})</span>
124
125
        <span class="caret"></span>
      </label>
126
     <ul class="metager-dropdown-menu">
127
128
129
130
131
132
133
134
135
        @foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
          <li>
            <a rel="alternate" hreflang="{{$localeCode}}" href="{{LaravelLocalization::getLocalizedURL($localeCode) }}" tabindex="{{235 + $loop->index}}">{{{ $properties['native'] }}}</a>
          </li>
        @endforeach
      </ul>
    </li>
  </ul>
</div>