feat: change navbar when PUBLIC_INSTANCE_URL is set

This commit is contained in:
Xyphyn committed 2023-07-31 15:42:15 -07:00
1 parent 783ecbcb5f
commit 6a5b01b1a8
5 files changed
+54 -14

No files matched your search

+2 -4
View File
@@ -1,14 +1,12 @@
<script lang="ts">
export let href: string
export let highlight: boolean
export let highlight: boolean = false
</script>
<a
{href}
class="inline-flex flex-row gap-2 {highlight
? 'text-sky-500'
: ''} hover:underline"
class="{highlight ? 'text-sky-500' : ''} hover:underline"
{...$$restProps}
>
<slot name="icon" />