1
0
Fork 0
forked from mirror/pixelfed
pixelfed/resources/views/site/partial/sidebar.blade.php

51 lines
2.7 KiB
PHP
Raw Normal View History

2019-03-19 03:53:24 +00:00
<div class="col-12 col-md-3 py-3 d-none d-md-block" style="border-right:1px solid #ccc;">
2018-05-26 22:42:14 +00:00
<ul class="nav flex-column settings-nav">
<li class="nav-item pl-3 {{request()->is('site/about')?'active':''}}">
2018-11-17 21:33:53 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('site.about')}}">{{__('site.about')}}</a>
2018-05-26 22:42:14 +00:00
</li>
2018-11-17 21:33:53 +00:00
<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>
2018-05-26 22:42:14 +00:00
</li>
2018-06-05 07:49:05 +00:00
<li class="nav-item pl-3 {{request()->is('site/language')?'active':''}}">
2018-11-17 21:33:53 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('site.language')}}">{{__('site.language')}}</a>
2018-06-05 07:49:05 +00:00
</li>
2018-05-26 22:42:14 +00:00
<li class="nav-item">
<hr>
</li>
<li class="nav-item pl-3 {{request()->is('site/fediverse')?'active':''}}">
2018-11-17 21:33:53 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('site.fediverse')}}">{{__('site.fediverse')}}</a>
2018-05-26 22:42:14 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('site/open-source')?'active':''}}">
2018-11-17 21:33:53 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('site.opensource')}}">{{__('site.opensource')}}</a>
2018-05-26 22:42:14 +00:00
</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>
2019-06-18 20:19:27 +00:00
@if(config('instance.contact.enabled'))
<li class="nav-item pl-3 {{request()->is('site/contact')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('site.contact')}}">{{__('site.contact-us')}}</a>
</li>
@endif
2018-05-26 22:42:14 +00:00
<li class="nav-item pl-3 {{request()->is('site/terms')?'active':''}}">
2018-11-17 21:33:53 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('site.terms')}}">{{__('site.terms')}}</a>
2018-05-26 22:42:14 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('site/privacy')?'active':''}}">
2018-11-17 21:33:53 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('site.privacy')}}">{{__('site.privacy')}}</a>
2018-08-10 06:56:38 +00:00
</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>
--}}
2018-05-26 22:42:14 +00:00
</ul>
</div>