sidebar.blade.php 6.36 KB
Newer Older
1
2
<input id="sidebarToggle" class="hidden" type="checkbox">
<div class="sidebar">
3
  <a class="sidebar-logo" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">
Aria Givi's avatar
Aria Givi committed
4
5
    <p>MetaGer</p>
  </a>
6
  <ul class="sidebar-list">
7
    <li>
8
9
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" tabindex="200" id="navigationSuche">
        <i class="fa fa-search" aria-hidden="true"></i>
10
        <span>{{ trans('sidebar.nav1') }}</span>
11
      </a>
12
    </li>
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
    <hr>
    <li>
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/datenschutz/") }}" id="navigationPrivacy" tabindex="215">
        <i class="fa fa-user-secret" aria-hidden="true"></i>
        <span>{{ trans('sidebar.nav3') }}</span>
      </a>
    </li>
    <hr>
    <li>
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe/") }}" tabindex="217">
        <i class="fa fa-info" aria-hidden="true"></i>
        <span>{{ trans('sidebar.nav20') }}</span>
      </a>
    </li>
    <li>
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/faq/") }}" tabindex="218">
        <i class="fa fa-question" aria-hidden="true"></i>
        <span>{{ trans('sidebar.nav21') }}</span>
      </a>
    </li>
    <hr>
    <li>
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende/") }}" tabindex="202">
36
        <i class="fa fa-donate" aria-hidden="true"></i>
37
38
39
40
41
42
43
44
45
46
        <span>{{ trans('sidebar.nav2') }}</span>
      </a>
    </li>
    <li>
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/beitritt/") }}" tabindex="203">
        <i class="fa fa-users" aria-hidden="true"></i>
        <span>{{ trans('sidebar.nav23') }}</span>
      </a>
    </li>
    <hr>
47
48
49
50
51
52
53
54
55
56
57
58
59
    <li>
      <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/app/") }}" tabindex="229">
        <i class="fa fa-mobile-alt" aria-hidden="true"></i>
        <span>@lang('sidebar.nav25')</span>
      </a>
    </li>
    <li>
      <a class="inlink" href="https://maps.metager.de" target="_blank" tabindex="231">
        <i class="fa fa-map" aria-hidden="true"></i>
        <span>Maps.MetaGer.de</span>
      </a>
    </li>
    <hr>
60
61
62
    <li class="metager-dropdown">
      <input id="contactToggle" class="sidebarCheckbox" type="checkbox">
      <label for="contactToggle" class="metager-dropdown-toggle navigation-element" aria-haspopup="true" id="navigationKontakt" tabindex="219">
63
        <i class="fa fa-comments" aria-hidden="true"></i>
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
        <span>{{ trans('sidebar.nav18') }}</span>
        <span class="caret"></span>
      </label>
      <ul class="metager-dropdown-content">
        <li>
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt/") }}" tabindex="221">{{ trans('sidebar.nav5') }}</a>
        </li>
        <li>
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/team/") }}" tabindex="222">{{ trans('sidebar.nav6') }}</a>
        </li>
        <li>
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/about/") }}" tabindex="223">{{ trans('sidebar.nav7') }}</a>
        </li>
        <li>
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/impressum/") }}" tabindex="224">{{ trans('sidebar.nav8') }}</a>
        </li>
      </ul>
    </li>
    <li class="metager-dropdown">
83
      <input id="servicesToggle" class="sidebarCheckbox" type="checkbox">
84
        <label for="servicesToggle" class="metager-dropdown-toggle navigation-element" aria-haspopup="true" tabindex="225">
85
          <i class="fa fa-wrench" aria-hidden="true"></i>
86
          <span>{{ trans('sidebar.nav15') }}</span>
87
88
          <span class="caret"></span>
        </label>
89
      <ul class="metager-dropdown-content">
90
        <li>
91
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}" tabindex="226">{{ trans('sidebar.nav10') }}</a>
92
93
        </li>
        <li>
94
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/zitat-suche/") }}" tabindex="227">{{ trans('sidebar.nav22') }}</a>
95
96
        </li>
        <li>
97
          <a href="{{ action('Assoziator@asso') }}" tabindex="228">{{ trans('sidebar.nav11') }}</a>
98
99
        </li>
        <li>
100
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/tips/") }}" tabindex="230">{{ trans('sidebar.titles.tips') }}</a>
101
102
        </li>
        <li>
103
          <a class="outlink" href="https://gitlab.metager3.de/open-source/MetaGer" tabindex="232">{{ trans('sidebar.nav24') }}</a>
104
105
        </li>
        <li>
106
          <a class="outlink" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/tor/") }}" tabindex="234">{{ trans('sidebar.nav14') }}</a>
107
        </li>
Karl Hasselbring's avatar
Karl Hasselbring committed
108
109
        @if(LaravelLocalization::getCurrentLocale() == "de")
          <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
110
            <a class="outlink" href="https://shop.spreadshirt.de/metager/" rel="noopener" target="_blank">{{ trans('sidebar.nav26') }}</a>
Karl Hasselbring's avatar
Karl Hasselbring committed
111
112
          </li>
        @endif
113
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
114
          <a class="outlink" href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" tabindex="204">{{ trans('sidebar.nav17') }}</a>
115
116
117
118
        </li>
      </ul>
    </li>
    <li class="metager-dropdown">
119
      <input id="languagesToggle" class="sidebarCheckbox" type="checkbox">
120
      <label for="languagesToggle" class="metager-dropdown-toggle navigation-element" aria-haspopup="true" id="navigationSprache" tabindex="235">
121
        <i class="fa fa-globe" aria-hidden="true"></i>
122
        <span>{{ trans('sidebar.nav19') }} ({{ LaravelLocalization::getSupportedLocales()[LaravelLocalization::getCurrentLocale()]['native'] }})</span>
123
124
        <span class="caret"></span>
      </label>
125
      <ul class="metager-dropdown-content">
126
127
128
129
130
131
132
133
134
        @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>