aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppHeader.svelte
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-30 13:01:35 -0600
committersecondl1ght <[email protected]>2022-07-30 13:01:35 -0600
commit7b2050102eb01fe3a694a60b0111262eacef735f (patch)
tree0d0f4070fd763885ee605cdac9baf1d491bac3a6 /src/components/AppHeader.svelte
parente599c7dec8b79903b769f957231c67e16dde9bfc (diff)
parentef3bd2f6687d0bfca1b85cc3f4be47c8e628c748 (diff)
downloadcoinos-ui-7b2050102eb01fe3a694a60b0111262eacef735f.tar.gz
coinos-ui-7b2050102eb01fe3a694a60b0111262eacef735f.zip
Merge branch 'master' of github.com:coinos/coinos-ui-v2
Diffstat (limited to 'src/components/AppHeader.svelte')
-rw-r--r--src/components/AppHeader.svelte8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 6376e27f..99eea6d5 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -8,15 +8,19 @@
<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
>
- <button class="bg-white p-2 rounded-full w-12 h-12"
+ <a href={`/${$user.username}`}>
+ <button class="bg-white p-2 rounded-full w-12 h-12"
><Icon icon="profile" style="mx-auto" /></button
>
+ </a>
<button class="bg-white p-2 rounded-full w-12 h-12"
><Icon icon="menu" style="mx-auto" /></button
>