diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-08-21 21:06:10 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-08-21 21:06:10 +0200 |
commit | 64d24c9e3d7e744788644b00cdb2ec44a999d9cd (patch) | |
tree | 7b92cc3e3b4d7d008f4de75a41d585dfb2bcaf34 /web/pw-server/src/routes/__layout.svelte | |
parent | 71d37e758fbc155a14f13989e7ed05e7719c2159 (diff) | |
download | planetwars.dev-64d24c9e3d7e744788644b00cdb2ec44a999d9cd.tar.xz planetwars.dev-64d24c9e3d7e744788644b00cdb2ec44a999d9cd.zip |
move bot editor to /editor
Diffstat (limited to 'web/pw-server/src/routes/__layout.svelte')
-rw-r--r-- | web/pw-server/src/routes/__layout.svelte | 39 |
1 files changed, 33 insertions, 6 deletions
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> |