From 64d24c9e3d7e744788644b00cdb2ec44a999d9cd Mon Sep 17 00:00:00 2001
From: Ilion Beyst <ilion.beyst@gmail.com>
Date: Sun, 21 Aug 2022 21:06:10 +0200
Subject: move bot editor to /editor

---
 web/pw-server/src/routes/__layout.svelte | 39 +++++++++++++++++++++++++++-----
 1 file changed, 33 insertions(+), 6 deletions(-)

(limited to 'web/pw-server/src/routes/__layout.svelte')

diff --git a/web/pw-server/src/routes/__layout.svelte b/web/pw-server/src/routes/__layout.svelte
index 53eb265..2267491 100644
--- a/web/pw-server/src/routes/__layout.svelte
+++ b/web/pw-server/src/routes/__layout.svelte
@@ -6,10 +6,17 @@
 
 <div class="outer-container">
   <div class="navbar">
-    <div class="navbar-main">
-      <a href="/">PlanetWars</a>
+    <div class="navbar-left">
+      <div class="navbar-header">
+        <a href="/">PlanetWars</a>
+      </div>
+      <div class="navbar-item">
+        <a href="/editor">Editor</a>
+      </div>
+    </div>
+    <div class="navbar-right">
+      <UserControls />
     </div>
-    <UserControls />
   </div>
   <slot />
 </div>
@@ -34,13 +41,33 @@
     padding: 0 15px;
   }
 
-  .navbar-main {
+  .navbar-left {
+    display: flex;
+  }
+
+  .navbar-right {
+    display: flex;
+  }
+
+  .navbar-header {
     margin: auto 0;
+    padding-right: 24px;
   }
 
-  .navbar-main a {
+  .navbar-header a {
     font-size: 20px;
-    color: #eee;
+    color: #fff;
+    text-decoration: none;
+  }
+  .navbar-item {
+    margin: auto 0;
+    padding: 0 8px;
+  }
+
+  .navbar-item a {
+    font-size: 14px;
+    color: #fff;
     text-decoration: none;
+    font-weight: 600;
   }
 </style>
-- 
cgit v1.2.3

