mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-03 10:50:46 +00:00
Merge pull request #898 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
04aaf96aa5
2 changed files with 24 additions and 20 deletions
|
@ -2,13 +2,17 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
'viewMyProfile' => 'View my profile',
|
'search' => 'Search',
|
||||||
'myTimeline' => 'My Timeline',
|
'home' => 'Home',
|
||||||
'publicTimeline' => 'Public Timeline',
|
'local' => 'Local',
|
||||||
'remoteFollow' => 'Remote Follow',
|
'discover' => 'Discover',
|
||||||
'settings' => 'Settings',
|
'viewMyProfile' => 'View my profile',
|
||||||
'admin' => 'Admin',
|
'myTimeline' => 'My Timeline',
|
||||||
'logout' => 'Logout',
|
'publicTimeline' => 'Public Timeline',
|
||||||
'directMessages' => 'Direct Messages',
|
'remoteFollow' => 'Remote Follow',
|
||||||
|
'settings' => 'Settings',
|
||||||
|
'admin' => 'Admin',
|
||||||
|
'logout' => 'Logout',
|
||||||
|
'directMessages' => 'Direct Messages',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
@auth
|
@auth
|
||||||
<ul class="navbar-nav ml-auto d-none d-md-block">
|
<ul class="navbar-nav ml-auto d-none d-md-block">
|
||||||
<form class="form-inline search-form">
|
<form class="form-inline search-form">
|
||||||
<input class="form-control mr-sm-2 search-form-input" type="search" placeholder="Search" aria-label="Search">
|
<input class="form-control mr-sm-2 search-form-input" placeholder="{{__('navmenu.search')}}" aria-label="search" autocomplete="off">
|
||||||
</form>
|
</form>
|
||||||
</ul>
|
</ul>
|
||||||
@endauth
|
@endauth
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<i class="fas fa-home fa-lg"></i>
|
<i class="fas fa-home fa-lg"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="d-none d-md-block">
|
<span class="d-none d-md-block">
|
||||||
{{ __('Home') }}
|
{{__('navmenu.home')}}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
<i class="far fa-map fa-lg"></i>
|
<i class="far fa-map fa-lg"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="d-none d-md-block">
|
<span class="d-none d-md-block">
|
||||||
{{ __('Local') }}
|
{{__('navmenu.local')}}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -50,9 +50,9 @@
|
||||||
</a>
|
</a>
|
||||||
</li> --}}
|
</li> --}}
|
||||||
<li class="nav-item pr-md-2">
|
<li class="nav-item pr-md-2">
|
||||||
<a class="nav-link font-weight-bold" href="{{route('discover')}}" title="Discover" data-toggle="tooltip" data-placement="bottom">
|
<a class="nav-link font-weight-bold {{request()->is('*discover*') ?'text-primary':''}}" href="{{route('discover')}}" title="Discover" data-toggle="tooltip" data-placement="bottom">
|
||||||
<span class="d-none d-md-block">
|
<span class="d-none d-md-block">
|
||||||
{{ __('Discover')}}</i>
|
{{__('navmenu.discover')}}</i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -86,17 +86,17 @@
|
||||||
|
|
||||||
<a class="d-block d-md-none dropdown-item font-weight-bold" href="{{route('discover')}}">
|
<a class="d-block d-md-none dropdown-item font-weight-bold" href="{{route('discover')}}">
|
||||||
<span class="far fa-compass pr-1"></span>
|
<span class="far fa-compass pr-1"></span>
|
||||||
{{__('Discover')}}
|
{{__('navmenu.discover')}}
|
||||||
</a>
|
</a>
|
||||||
{{-- <a class="dropdown-item font-weight-bold" href="{{route('messages')}}">
|
{{-- <a class="dropdown-item font-weight-bold" href="{{route('messages')}}">
|
||||||
<span class="far fa-envelope pr-1"></span>
|
<span class="far fa-envelope pr-1"></span>
|
||||||
{{__('navmenu.directMessages')}}
|
{{__('navmenu.directMessages')}}
|
||||||
</a> --}}
|
</a>
|
||||||
|
<a class="dropdown-item font-weight-bold" href="{{route('account.circles')}}">
|
||||||
|
<span class="far fa-circle pr-1"></span>
|
||||||
|
{{__('Circles')}}
|
||||||
|
</a>--}}
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
{{-- <a class="dropdown-item font-weight-bold" href="{{route('remotefollow')}}">
|
|
||||||
<span class="fas fa-user-plus pr-1"></span>
|
|
||||||
{{__('navmenu.remoteFollow')}}
|
|
||||||
</a> --}}
|
|
||||||
<a class="dropdown-item font-weight-bold" href="{{route('settings')}}">
|
<a class="dropdown-item font-weight-bold" href="{{route('settings')}}">
|
||||||
<span class="fas fa-cog pr-1"></span>
|
<span class="fas fa-cog pr-1"></span>
|
||||||
{{__('navmenu.settings')}}
|
{{__('navmenu.settings')}}
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
@auth
|
@auth
|
||||||
<nav class="breadcrumb d-md-none d-flex">
|
<nav class="breadcrumb d-md-none d-flex">
|
||||||
<form class="form-inline search-form mx-auto">
|
<form class="form-inline search-form mx-auto">
|
||||||
<input class="form-control mr-sm-2 search-form-input" type="search" placeholder="Search" aria-label="Search">
|
<input class="form-control mr-sm-2 search-form-input" type="search" placeholder="{{__('navmenu.search')}}" aria-label="Search">
|
||||||
</form>
|
</form>
|
||||||
</nav>
|
</nav>
|
||||||
@endauth
|
@endauth
|
Loading…
Reference in a new issue