1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 09:17:03 +00:00
pixelfed/resources/views/site/partial/sidebar.blade.php
2019-03-18 21:53:24 -06:00

46 lines
No EOL
2.4 KiB
PHP

<div class="col-12 col-md-3 py-3 d-none d-md-block" style="border-right:1px solid #ccc;">
<ul class="nav flex-column settings-nav">
<li class="nav-item pl-3 {{request()->is('site/about')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.about')}}">{{__('site.about')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is(['site/help','site/kb*'])?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.help')}}">{{__('site.help')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/language')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.language')}}">{{__('site.language')}}</a>
</li>
<li class="nav-item">
<hr>
</li>
<li class="nav-item pl-3 {{request()->is('site/fediverse')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.fediverse')}}">{{__('site.fediverse')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/open-source')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.opensource')}}">{{__('site.opensource')}}</a>
</li>
{{-- <li class="nav-item pl-3 {{request()->is('site/banned-instances')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.bannedinstances')}}">Banned Content</a>
</li>
<li class="nav-item pl-3">
<a class="nav-link lead text-muted" href="#">Verification Badge</a>
</li> --}}
<li class="nav-item">
<hr>
</li>
<li class="nav-item pl-3 {{request()->is('site/terms')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.terms')}}">{{__('site.terms')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/privacy')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.privacy')}}">{{__('site.privacy')}}</a>
</li>
{{--
<li class="nav-item pl-3 {{request()->is('site/platform')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.platform')}}">Platform</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/libraries')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.libraries')}}">Libraries</a>
</li>
--}}
</ul>
</div>