Fix feedback button

This commit is contained in:
Jon Staab 2023-10-28 15:35:31 -07:00
parent 04f8d89855
commit 0c6c1468d8
2 changed files with 3 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<NavItem href="/about">
<i class="fa fa-info-circle mr-2" /> About
</NavItem>
<NavItem href="https://github.com/coracle-social/coracle/issues/new">
<NavItem external href="https://github.com/coracle-social/coracle/issues/new">
<i class="fa fa-message mr-2" /> Feedback
</NavItem>
<li class="absolute bottom-0 flex w-full justify-center gap-2 p-2 text-sm text-gray-5">

View File

@ -4,6 +4,7 @@
export let href = null
export let modal = false
export let external = false
export let disabled = false
</script>
@ -12,7 +13,7 @@
"cursor-pointer": !disabled,
"pointer-events-none opacity-75": disabled,
})}>
<Anchor class="block px-4 py-2 hover:bg-accent hover:text-white" {href} {modal} on:click>
<Anchor class="block px-4 py-2 hover:bg-accent hover:text-white" {external} {href} {modal} on:click>
<slot />
</Anchor>
</li>