Move space add buttons around

This commit is contained in:
Jon Staab
2024-10-15 12:02:11 -07:00
parent 4e83e59249
commit c9826449f2
27 changed files with 82 additions and 74 deletions
+2 -3
View File
@@ -1,13 +1,12 @@
<script lang="ts">
import {page} from "$app/stores"
import Button from "@lib/components/Button.svelte"
import {getPrimaryNavItem} from '@app/routes'
export let title = ""
export let href = ""
$: itemSegment = href.split('/')[1]
$: currentSegment = $page.route?.id?.split('/')[1]
$: itemSegment = href.split("/")[1]
$: currentSegment = $page.route?.id?.split("/")[1]
$: active = itemSegment === currentSegment
</script>