From 21952c2024697dfd902e9ecf87623d0614c15ce4 Mon Sep 17 00:00:00 2001 From: Adrian Gaudebert Date: Thu, 24 Oct 2024 19:26:57 +0200 Subject: [PATCH] Make the navigation bar prettier. --- public/img/icons/field.svg | 1 + public/img/icons/village.svg | 1 + src/hud/Navigation.svelte | 39 ++++++++++++++++++++++++++++++++++-- 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 public/img/icons/field.svg create mode 100644 public/img/icons/village.svg diff --git a/public/img/icons/field.svg b/public/img/icons/field.svg new file mode 100644 index 0000000..3f5b42d --- /dev/null +++ b/public/img/icons/field.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/village.svg b/public/img/icons/village.svg new file mode 100644 index 0000000..43ee62a --- /dev/null +++ b/public/img/icons/village.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/hud/Navigation.svelte b/src/hud/Navigation.svelte index 33b7f8b..e33bf9d 100644 --- a/src/hud/Navigation.svelte +++ b/src/hud/Navigation.svelte @@ -9,12 +9,47 @@ class="invisible" on:click={ () => setTab('village') } > - Village + + Village + +