@include('layouts.parts.header-links-start')
@if (user()->hasAppAccess())
@icon('search'){{ trans('common.search') }}
@if(userCanOnAny('view', \BookStack\Entities\Models\Bookshelf::class) || userCan('bookshelf-view-all') || userCan('bookshelf-view-own'))
@icon('bookshelf'){{ trans('entities.shelves') }}
@endif
@icon('books'){{ trans('entities.books') }}
@if(!user()->isGuest() && userCan('settings-manage'))
@icon('settings'){{ trans('settings.settings') }}
@endif
@if(!user()->isGuest() && userCan('users-manage') && !userCan('settings-manage'))
@icon('users'){{ trans('settings.users') }}
@endif
@endif
@if(user()->isGuest())
@if(setting('registration-enabled') && config('auth.method') === 'standard')
@icon('new-user'){{ trans('auth.sign_up') }}
@endif
@icon('login'){{ trans('auth.log_in') }}
@endif