blob: edb2fd7bf33b42400cbff5ef7c8d980d8df28bf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<nav>
<div>
<a href="/">public home</a> |
<a href="/admin">admin home</a> |
<a href="/admin/guestbook">guestbook</a>
@if (auth()->check())
| ({{ auth()->user()->name }}) <a href="/logout">logout</a>
@else
| <a href="/login">login</a>
@endif
</div>
</nav>
|