aboutsummaryrefslogtreecommitdiff
path: root/resources/views/includes/admin
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-16 21:02:51 +0100
committerGitHub <noreply@github.com>2023-07-16 21:02:51 +0100
commit2a11cff663b9520643bd0178ddc671705dd06e31 (patch)
treed81c7682b4696d4182ab375d64fa69c4ff755647 /resources/views/includes/admin
parentc5d62dc343790299f81d395ce4581ec7a8c609bb (diff)
feat: site admin (#8)
Diffstat (limited to 'resources/views/includes/admin')
-rw-r--r--resources/views/includes/admin/header.blade.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/views/includes/admin/header.blade.php b/resources/views/includes/admin/header.blade.php
new file mode 100644
index 0000000..edb2fd7
--- /dev/null
+++ b/resources/views/includes/admin/header.blade.php
@@ -0,0 +1,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>