wah.moe/resources/views/includes/admin/header.blade.php
2023-07-16 21:02:51 +01:00

13 lines
383 B
PHP

<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>