Update nav view

This commit is contained in:
Daniel Supernault 2021-09-03 22:20:55 -06:00
parent a08c8a29d5
commit 6ca140e5cc
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -63,26 +63,7 @@
<img class="d-none" src="/storage/avatars/default.png?v=0" class="rounded-circle border shadow" width="38" height="38" onerror="this.onerror=null;this.src='/storage/avatars/default.png?v=0';"> <img class="d-none" src="/storage/avatars/default.png?v=0" class="rounded-circle border shadow" width="38" height="38" onerror="this.onerror=null;this.src='/storage/avatars/default.png?v=0';">
</a> </a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown" style="min-width: 200px;"> <div class="dropdown-menu dropdown-menu-right px-0 shadow" aria-labelledby="navbarDropdown" style="min-width: 220px;">
<a class="dropdown-item lead" href="{{route('discover')}}">
<span style="width: 50px;margin-right:14px;">
<span class="fal fa-compass text-lighter fa-lg"></span>
</span>
{{__('navmenu.discover')}}
</a>
<a class="dropdown-item lead" href="/groups">
<span style="width: 50px;margin-right:14px;">
<span class="fal fa-user-friends text-lighter"></span>
</span>
Groups
</a>
<a class="dropdown-item lead" href="/i/stories/new">
<span style="width: 50px;margin-right:14px;">
<span class="fal fa-history text-lighter fa-lg"></span>
</span>
Stories
</a>
<div class="dropdown-divider"></div>
@if(config('federation.network_timeline')) @if(config('federation.network_timeline'))
<a class="dropdown-item lead" href="{{route('timeline.public')}}"> <a class="dropdown-item lead" href="{{route('timeline.public')}}">
<span style="width: 50px;margin-right:14px;"> <span style="width: 50px;margin-right:14px;">
@ -117,6 +98,27 @@
</a> </a>
@endif @endif
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item lead" href="{{route('discover')}}">
<span style="width: 50px;margin-right:14px;">
<span class="fal fa-compass text-lighter fa-lg"></span>
</span>
{{__('navmenu.discover')}}
</a>
{{-- <a class="dropdown-item lead" href="/groups">
<span style="width: 50px;margin-right:14px;">
<span class="fal fa-user-friends text-lighter"></span>
</span>
Groups
</a> --}}
@if(config_cache('instance.stories.enabled'))
<a class="dropdown-item lead" href="/i/stories/new">
<span style="width: 50px;margin-right:14px;">
<span class="fal fa-history text-lighter fa-lg"></span>
</span>
Stories
</a>
@endif
<div class="dropdown-divider"></div>
<a class="dropdown-item lead" href="/i/me"> <a class="dropdown-item lead" href="/i/me">
<span style="width: 50px;margin-right:14px;"> <span style="width: 50px;margin-right:14px;">
<span class="fal fa-user text-lighter fa-lg"></span> <span class="fal fa-user text-lighter fa-lg"></span>
@ -141,10 +143,10 @@
<a class="dropdown-item lead" href="{{ route('logout') }}" <a class="dropdown-item lead" href="{{ route('logout') }}"
onclick="event.preventDefault(); onclick="event.preventDefault();
document.getElementById('logout-form').submit();"> document.getElementById('logout-form').submit();">
<span style="width: 50px;margin-right:14px;"> <span style="width: 50px;margin-right:14px;" class="text-lighter">
<span class="fal fa-sign-out-alt fa-lg"></span> <span class="fal fa-sign-out-alt fa-lg"></span>
</span> </span>
{{ __('navmenu.logout') }} <span class="text-lighter">{{ __('navmenu.logout') }}</span>
</a> </a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">