feat: change navbar when PUBLIC_INSTANCE_URL is set
This commit is contained in:
1 parent
783ecbcb5f
commit
6a5b01b1a8
5 files changed
+54
-14
No files matched your search
@@ -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" />
|
||||
|
||||
Reference in new issue
Block a user