From 5ee149d5279408c0a0ee3e7e91e88241b2fb17ff Mon Sep 17 00:00:00 2001
From: Mitchell Riedstra <mitch@riedstra.dev>
Date: Tue, 3 Jan 2023 19:29:58 -0500
Subject: Creating new pastes from the UI works. As does the login page.

Still need to redirect to login page automatically.
Also need to show only one of Logout or Login at a time.
---
 ui/src/routes/+layout.svelte | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'ui/src/routes/+layout.svelte')

diff --git a/ui/src/routes/+layout.svelte b/ui/src/routes/+layout.svelte
index 6539952..e9fd192 100644
--- a/ui/src/routes/+layout.svelte
+++ b/ui/src/routes/+layout.svelte
@@ -4,6 +4,8 @@
         |
         <a href="/new">New</a>
         <a href="/login" class="nav-right">Login</a>
+        <span class="nav-right">|</span>
+        <a href="/api/v1/logout" class="nav-right">Logout</a>
     </nav>
 
 
-- 
cgit v1.2.3

