1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 10:16:47 +00:00

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

Update nav, fix positioning
This commit is contained in:
daniel 2019-03-04 19:11:29 -07:00 committed by GitHub
commit 97b2f990a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,11 +14,12 @@
</ul> </ul>
@endauth @endauth
<ul class="navbar-nav mx-auto">
@guest @guest
<ul class="navbar-nav ml-auto">
<li><a class="nav-link font-weight-bold text-primary" href="{{ route('login') }}" title="Login">{{ __('Login') }}</a></li> <li><a class="nav-link font-weight-bold text-primary" href="{{ route('login') }}" title="Login">{{ __('Login') }}</a></li>
<li><a class="nav-link font-weight-bold" href="{{ route('register') }}" title="Register">{{ __('Register') }}</a></li> <li><a class="nav-link font-weight-bold" href="{{ route('register') }}" title="Register">{{ __('Register') }}</a></li>
@else @else
<ul class="navbar-nav mx-auto">
<li class=""> <li class="">
<a class="nav-link font-weight-bold {{request()->is('/') ?'text-primary':''}}" href="/" title="Home Timeline"> <a class="nav-link font-weight-bold {{request()->is('/') ?'text-primary':''}}" href="/" title="Home Timeline">
<span class="d-block d-md-none mr-1" data-toggle="tooltip" title="Home Timeline"> <span class="d-block d-md-none mr-1" data-toggle="tooltip" title="Home Timeline">