Merge pull request #352 from pixelfed/frontend-ui-refactor

Update site sidebar
This commit is contained in:
daniel 2018-08-10 00:58:55 -06:00 committed by GitHub
commit 53b5c7a1ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,27 @@
<div class="col-12 col-md-3 py-3" 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 lead text-muted" href="{{route('site.about')}}">About</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/features')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.features')}}">Features</a>
<a class="nav-link font-weight-light text-muted" href="{{route('site.about')}}">About</a>
</li>
{{--
<li class="nav-item pl-3 {{request()->is('site/features')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.features')}}">Features</a>
</li>
--}}
<li class="nav-item pl-3 {{request()->is('site/help')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.help')}}">Help</a>
<a class="nav-link font-weight-light text-muted" href="{{route('site.help')}}">Help</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/language')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.language')}}">Language</a>
<a class="nav-link font-weight-light text-muted" href="{{route('site.language')}}">Language</a>
</li>
<li class="nav-item">
<hr>
</li>
<li class="nav-item pl-3 {{request()->is('site/fediverse')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.fediverse')}}">Fediverse</a>
<a class="nav-link font-weight-light text-muted" href="{{route('site.fediverse')}}">Fediverse</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/open-source')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.opensource')}}">Open Source</a>
<a class="nav-link font-weight-light text-muted" href="{{route('site.opensource')}}">Open Source</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>
@ -31,16 +33,18 @@
<hr>
</li>
<li class="nav-item pl-3 {{request()->is('site/terms')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.terms')}}">Terms</a>
<a class="nav-link font-weight-light text-muted" href="{{route('site.terms')}}">Terms</a>
</li>
<li class="nav-item pl-3 {{request()->is('site/privacy')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.privacy')}}">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>
<a class="nav-link font-weight-light text-muted" href="{{route('site.privacy')}}">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>