From 118d84be7a49c1562313216e736c643c13ba7283 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 18 Dec 2023 22:52:39 -0800
Subject: feat(layout): smaller desktop navigation bar

---
 src/routes/+layout.svelte | 27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)

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

diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index ee826f28..2a0862e0 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -47,22 +47,6 @@
 		</div>
 	{:else}
 		<div id="header">
-			<p />
-
-			<h1><a href="/">期限</a></h1>
-
-			{#if data.user === undefined}
-				<a
-					href={`https://anilist.co/api/v2/oauth/authorize?client_id=${env.PUBLIC_ANILIST_CLIENT_ID}&redirect_uri=${env.PUBLIC_ANILIST_REDIRECT_URI}&response_type=code`}
-				>
-					Log in with AniList
-				</a>
-			{:else}
-				<a href="/api/authentication/log-out">Log out from AniList ({currentUserIdentity.name})</a>
-			{/if}
-
-			<p />
-
 			<p id="desktop-navigation-bar">
 				「 <a href="/">Home</a> • <a href="/completed">Completed</a> •
 				<a href="/schedule">Anime Schedule</a> •
@@ -70,6 +54,17 @@
 				<a href="/tools">Tools</a> • {#if data.user}
 					<a href={`/user/${currentUserIdentity.name}`}>Profile</a> •
 				{/if} <a href="/settings">Settings</a> 」
+
+				{#if data.user === undefined}
+					<a
+						href={`https://anilist.co/api/v2/oauth/authorize?client_id=${env.PUBLIC_ANILIST_CLIENT_ID}&redirect_uri=${env.PUBLIC_ANILIST_REDIRECT_URI}&response_type=code`}
+					>
+						Log in with AniList
+					</a>
+				{:else}
+					<a href="/api/authentication/log-out">Log out from AniList ({currentUserIdentity.name})</a
+					>
+				{/if}
 			</p>
 
 			<div id="mobile-navigation-bar">
-- 
cgit v1.2.3

