@if (config('alma.default_feed') === 'popular') @else @endif @auth()
avatar
{{-- Admin panel --}} @if (auth()->user()->isAdmin()) {{ __('Admin panel') }}
@endif {{-- Communities --}} @if (auth()->user()->countCommunities())
@foreach (auth()->user()->getCommunityForMenu() as $community) @isset($community->avatar) {{ $community->name }} @endisset {{ Str::ucfirst($community->name) }} @endforeach
@endif {{-- Profile --}}
{{ __('Profile') }}
avatar {{ Str::ucfirst(auth()->user()->username) }} {{-- Create Community --}} @can('add_communities') {{ __('Create a Community') }} @endcan {{-- User Dashboard --}} {{ __('Dashboard') }} {{-- Saved --}} {{ __('Saved') }} {{-- Account Settings --}} {{ __('Settings') }} {{-- Log Out --}}
@csrf {{ __('Log Out') }}
@else @endauth