aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppHeader.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-07-30 09:47:08 -0700
committerAdam Soltys <[email protected]>2022-07-30 09:47:08 -0700
commite969501cbaeafaa5b81c20b73455ab19cde2eb0e (patch)
tree025303917f20900043c8abae60740180b5aa1834 /src/components/AppHeader.svelte
parent54962d8d54ea899e0010114939019ba6a18c5515 (diff)
downloadcoinos-ui-e969501cbaeafaa5b81c20b73455ab19cde2eb0e.tar.gz
coinos-ui-e969501cbaeafaa5b81c20b73455ab19cde2eb0e.zip
logout function
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 6376e27f..b096f01e 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -14,9 +14,11 @@
<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
>