wah.moe/resources/views/includes/admin/header.blade.php

13 lines
383 B
PHP
Raw Normal View History

2023-07-16 20:02:51 +00:00
<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>