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