From 1afd5b5404a1c064abfe6711b95d59ea1bb13022 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 1 Nov 2022 23:04:46 +0100 Subject: highlight active tab --- web/pw-server/src/lib/components/NavTab.svelte | 26 ++++++++++++++++++++++ .../src/routes/bots/[bot_name]/__layout.svelte | 21 +++++------------ 2 files changed, 32 insertions(+), 15 deletions(-) create mode 100644 web/pw-server/src/lib/components/NavTab.svelte (limited to 'web/pw-server/src') diff --git a/web/pw-server/src/lib/components/NavTab.svelte b/web/pw-server/src/lib/components/NavTab.svelte new file mode 100644 index 0000000..2a93897 --- /dev/null +++ b/web/pw-server/src/lib/components/NavTab.svelte @@ -0,0 +1,26 @@ + + + + + + + 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 f445cbb..4393af6 100644 --- a/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte +++ b/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte @@ -16,7 +16,8 @@