From 698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 3 Nov 2022 21:49:45 +0100 Subject: add logo and page titles --- planetwars-client/simplebot.toml | 4 +- web/pw-server/src/lib/components/NavTab.svelte | 4 +- web/pw-server/src/routes/__layout.svelte | 42 +++++++----- .../src/routes/bots/[bot_name]/__layout.svelte | 6 +- web/pw-server/static/favicon.ico | Bin 3985 -> 15086 bytes web/pw-server/static/ship.svg | 74 +++++++++++++++++++++ 6 files changed, 110 insertions(+), 20 deletions(-) create mode 100644 web/pw-server/static/ship.svg diff --git a/planetwars-client/simplebot.toml b/planetwars-client/simplebot.toml index dfee25c..9966ce0 100644 --- a/planetwars-client/simplebot.toml +++ b/planetwars-client/simplebot.toml @@ -1,2 +1,2 @@ -name = "simplebot" -command = ["python", "../simplebot/simplebot.py"] +command = "python simplebot.py" +working_directory = "../simplebot" diff --git a/web/pw-server/src/lib/components/NavTab.svelte b/web/pw-server/src/lib/components/NavTab.svelte index 2a93897..611f233 100644 --- a/web/pw-server/src/lib/components/NavTab.svelte +++ b/web/pw-server/src/lib/components/NavTab.svelte @@ -1,12 +1,12 @@ - + diff --git a/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte b/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte index 4393af6..f527690 100644 --- a/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte +++ b/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte @@ -17,12 +17,16 @@ + + {bot["name"]} + +

{bot["name"]}

diff --git a/web/pw-server/static/favicon.ico b/web/pw-server/static/favicon.ico index 628e6ed..a57f3d6 100644 Binary files a/web/pw-server/static/favicon.ico and b/web/pw-server/static/favicon.ico differ diff --git a/web/pw-server/static/ship.svg b/web/pw-server/static/ship.svg new file mode 100644 index 0000000..584dc7d --- /dev/null +++ b/web/pw-server/static/ship.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + -- cgit v1.2.3