1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 01:36:43 +00:00

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;"> <div class="col-12 col-md-3 py-3" style="border-right:1px solid #ccc;">
<ul class="nav flex-column settings-nav"> <ul class="nav flex-column settings-nav">
<li class="nav-item pl-3 {{request()->is('site/about')?'active':''}}"> <li class="nav-item pl-3 {{request()->is('site/about')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.about')}}">About</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>
{{--
<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':''}}"> <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>
<li class="nav-item pl-3 {{request()->is('site/language')?'active':''}}"> <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>
<li class="nav-item"> <li class="nav-item">
<hr> <hr>
</li> </li>
<li class="nav-item pl-3 {{request()->is('site/fediverse')?'active':''}}"> <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>
<li class="nav-item pl-3 {{request()->is('site/open-source')?'active':''}}"> <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>
{{-- <li class="nav-item pl-3 {{request()->is('site/banned-instances')?'active':''}}"> {{-- <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> <a class="nav-link lead text-muted" href="{{route('site.bannedinstances')}}">Banned Content</a>
@ -31,16 +33,18 @@
<hr> <hr>
</li> </li>
<li class="nav-item pl-3 {{request()->is('site/terms')?'active':''}}"> <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>
<li class="nav-item pl-3 {{request()->is('site/privacy')?'active':''}}"> <li class="nav-item pl-3 {{request()->is('site/privacy')?'active':''}}">
<a class="nav-link lead text-muted" href="{{route('site.privacy')}}">Privacy</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> </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> </ul>
</div> </div>