aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppHeader.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-07-30 11:13:39 -0700
committerAdam Soltys <[email protected]>2022-07-30 11:13:39 -0700
commit5bf4891768f1ee359ee5795272c289b40745aed5 (patch)
treec1da5cd4b4f3219162b03c2314b518686b7c69ed /src/components/AppHeader.svelte
parent8acc59a86b6ec049dfe07f92fd19eeda726136f3 (diff)
downloadcoinos-ui-5bf4891768f1ee359ee5795272c289b40745aed5.tar.gz
coinos-ui-5bf4891768f1ee359ee5795272c289b40745aed5.zip
get invoice by uuid
Diffstat (limited to 'src/components/AppHeader.svelte')
-rw-r--r--src/components/AppHeader.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index b096f01e..99eea6d5 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -8,9 +8,11 @@
<header class="bg-gradient-to-r from-primary to-gradient h-[20vh] w-full relative">
<nav class="flex justify-end items-center space-x-4 p-5">
- <button class="bg-white p-2 rounded-full w-12 h-12" on:click={() => goto('/receive')}
+ <a href={`/${$user.username}/receive`}>
+ <button class="bg-white p-2 rounded-full w-12 h-12"
><Icon icon="numpad" style="mx-auto" /></button
>
+ </a>
<button class="bg-white p-2 rounded-full w-12 h-12"
><Icon icon="clock" style="mx-auto" /></button
>