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
commit8acc59a86b6ec049dfe07f92fd19eeda726136f3 (patch)
tree56c6506d19c38a59fba962c53a71526b3a1825b5 /src/components/AppHeader.svelte
parent1f8b1f52431dc7a95118b310dbca3a178d24614b (diff)
downloadcoinos-ui-8acc59a86b6ec049dfe07f92fd19eeda726136f3.tar.gz
coinos-ui-8acc59a86b6ec049dfe07f92fd19eeda726136f3.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
>