@auth @if(isset($currentUser->avatar->path)) ... @else @endif @else @endauth
    @auth
  • {{ clean(trans('cynoebook::account.links.my_account')) }}
  • {{ clean(trans('cynoebook::account.links.my_profile')) }}
  • {{ clean(trans('cynoebook::account.links.logout')) }}
  • @if(setting('enable_ebook_upload'))
  • {{ clean(trans('cynoebook::account.links.upload_ebook')) }}
  • @endif
  • @if(auth()->user()->hasRoleName('admin'))
  • {{ clean(trans('cynoebook::account.links.admin_dashboard')) }}
  • @endif @else
  • {{ clean(trans('user::auth.sign_in')) }}
  • @if(setting('enable_registrations'))
  • {{ clean(trans('user::auth.sign_up')) }}
  • @endif @endauth