diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-11-03 21:49:45 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-11-03 21:49:45 +0100 |
commit | 698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd (patch) | |
tree | 670b5f25b776f180f54cbb8a16f00bbce808b374 /web/pw-server/src/lib/components/NavTab.svelte | |
parent | b1f8062b85ee739e9efb32cbdfde205faaf297d8 (diff) | |
download | planetwars.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.svelte | 4 |
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"> |