aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/NavTab.svelte
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-11-03 21:49:45 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-11-03 21:49:45 +0100
commit698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd (patch)
tree670b5f25b776f180f54cbb8a16f00bbce808b374 /web/pw-server/src/lib/components/NavTab.svelte
parentb1f8062b85ee739e9efb32cbdfde205faaf297d8 (diff)
downloadplanetwars.dev-698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd.tar.xz
planetwars.dev-698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd.zip
add logo and page titles
Diffstat (limited to 'web/pw-server/src/lib/components/NavTab.svelte')
-rw-r--r--web/pw-server/src/lib/components/NavTab.svelte4
1 files changed, 2 insertions, 2 deletions
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 @@
<script lang="ts">
- import { page } from '$app/stores';
+ import { page } from "$app/stores";
export let href: string;
$: isActive = $page.url.pathname == href;
</script>
<a class="nav-tab" {href} class:active={isActive}>
- <slot></slot>
+ <slot />
</a>
<style lang="scss">