aboutsummaryrefslogtreecommitdiff
path: root/resources/views/includes/header.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/includes/header.blade.php')
-rw-r--r--resources/views/includes/header.blade.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/views/includes/header.blade.php b/resources/views/includes/header.blade.php
index 53d44e2..01de256 100644
--- a/resources/views/includes/header.blade.php
+++ b/resources/views/includes/header.blade.php
@@ -1,12 +1,18 @@
<nav>
<div>
<a href="/">home</a> |
- <a href="//git.diskfloppy.me/">cgit</a> |
+ <a href="//git.diskfloppy.me/">cgit</a> |
<a href="//wiki.diskfloppy.me/">wiki</a> |
<a href="/projects/">projects</a> |
<a href="/calculators/">calculators</a> |
<a href="/computers/">computers</a> |
<a href="/bookmarks/">bookmarks</a> |
<a href="/guestbook/">guestbook</a>
+ @if (auth()->check())
+ | <a href="/admin/">admin</a>
+ | ({{ auth()->user()->name }}) <a href="/logout">logout</a>
+ @else
+ | <a href="/login">login</a>
+ @endif
</div>
</nav>