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