Solution:
Just tested this – using Laravel 5.4.36.
<ul class="nav navbar-nav">
@guest
<li>I'm a guest</li>
@endauth
<li>{{ Html::link(url('/consultants'), 'Consultants') }}</li>
<li>{{ Html::link(url('/clients'), 'Clients') }}</li>
<li>{{ Html::link(url('/tasks'), 'Tasks') }}</li>
</ul>
The ‘I’m a guest’ is only displayed to unathenticated users, as expected.
I noticed that you had @endguest
and not @endauth
– is that just a typo here?
Update: if you do this, does it work how you would expect?
@auth('admin')
<li>Dashboard</li>
<li>Log out</li>
@endauth
@auth('web')
<li>Create Post</li>
<li>Log out</li>
@endauth
@guest
<li>Contact</li>
<li>About us</li>
@endauth