sidebar.blade.php 6.19 KB
Newer Older
1
2
<input id="sidebarToggle" class="hidden" type="checkbox">
<div class="sidebar">
Aria Givi's avatar
Aria Givi committed
3
4
5
  <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">
    <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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
    <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">
        <i class="fa fa-money" aria-hidden="true"></i>
        <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>
    <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">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <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">
70
      <input id="servicesToggle" class="sidebarCheckbox" type="checkbox">
71
        <label for="servicesToggle" class="metager-dropdown-toggle navigation-element" aria-haspopup="true" tabindex="225">
72
          <i class="fa fa-wrench" aria-hidden="true"></i>
73
          <span>{{ trans('sidebar.nav15') }}</span>
74
75
          <span class="caret"></span>
        </label>
76
      <ul class="metager-dropdown-content">
77
        <li>
78
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}" tabindex="226">{{ trans('sidebar.nav10') }}</a>
79
80
        </li>
        <li>
81
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/zitat-suche/") }}" tabindex="227">{{ trans('sidebar.nav22') }}</a>
82
83
        </li>
        <li>
84
          <a href="{{ action('Assoziator@asso') }}" tabindex="228">{{ trans('sidebar.nav11') }}</a>
85
86
        </li>
        <li>
87
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/app/") }}" tabindex="229">@lang('sidebar.nav25')</a>
88
89
        </li>
        <li>
90
          <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/tips/") }}" tabindex="230">{{ trans('sidebar.titles.tips') }}</a>
91
92
        </li>
        <li>
93
          <a class="inlink" href="https://maps.metager.de" target="_blank" tabindex="231">Maps.MetaGer.de</a>
94
95
        </li>
        <li>
96
          <a class="outlink" href="https://gitlab.metager3.de/open-source/MetaGer" tabindex="232">{{ trans('sidebar.nav24') }}</a>
97
98
        </li>
        <li>
99
          <a class="outlink" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/tor/") }}" tabindex="234">{{ trans('sidebar.nav14') }}</a>
100
        </li>
Karl Hasselbring's avatar
Karl Hasselbring committed
101
102
        @if(LaravelLocalization::getCurrentLocale() == "de")
          <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
103
            <a class="outlink" href="https://shop.spreadshirt.de/metager/" rel="noopener" target="_blank">{{ trans('sidebar.nav26') }}</a>
Karl Hasselbring's avatar
Karl Hasselbring committed
104
105
          </li>
        @endif
106
        <li>
Karl Hasselbring's avatar
Karl Hasselbring committed
107
          <a class="outlink" href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" tabindex="204">{{ trans('sidebar.nav17') }}</a>
108
109
110
111
        </li>
      </ul>
    </li>
    <li class="metager-dropdown">
112
      <input id="languagesToggle" class="sidebarCheckbox" type="checkbox">
113
      <label for="languagesToggle" class="metager-dropdown-toggle navigation-element" aria-haspopup="true" id="navigationSprache" tabindex="235">
114
        <i class="fa fa-globe" aria-hidden="true"></i>
115
        <span>{{ trans('sidebar.nav19') }} ({{ LaravelLocalization::getSupportedLocales()[LaravelLocalization::getCurrentLocale()]['native'] }})</span>
116
117
        <span class="caret"></span>
      </label>
118
      <ul class="metager-dropdown-content">
119
120
121
122
123
124
125
126
127
        @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>