summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-14 19:13:56 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-14 19:13:56 +0200
commit14a6435e80c2b0a87c490dc0af95123d1fa442eb (patch)
tree064cd45c6ab326fc7db56d7a77aff9df32c0d413
parenta7c9193a8645f075b3404d4e0b36ee22d5fcaaf3 (diff)
Link to "your profile"
-rw-r--r--components/VHeader.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/VHeader.vue b/components/VHeader.vue
index 13b8919..be1e2af 100644
--- a/components/VHeader.vue
+++ b/components/VHeader.vue
@@ -29,8 +29,8 @@
)
span.sr-only Open user menu
img.h-8.w-8.rounded-full(v-if="me" :src="baseAPI+''+me.avatar" alt="Avatar")
- .absolute.right-0.z-10.mt-2.w-48.origin-top-right.rounded-md.bg-white.py-1.shadow-lg.ring-1.ring-black.ring-opacity-5(class="focus:outline-none" role="menu" aria-orientation="vertical" aria-labelledby="user-menu-button" tabindex="-1" v-if="boxUserInfo")
- a#user-menu-item-0.block.px-4.py-2.text-sm.text-gray-700(href="#" role="menuitem" tabindex="-1") Your Profile
+ .absolute.right-0.z-10.mt-2.w-48.origin-top-right.rounded-md.bg-white.py-1.shadow-lg.ring-1.ring-black.ring-opacity-5(class="focus:outline-none" role="menu" aria-orientation="vertical" aria-labelledby="user-menu-button" tabindex="-1" v-if="boxUserInfo && me")
+ a#user-menu-item-0.block.px-4.py-2.text-sm.text-gray-700(:href="'/user/'+me.id" role="menuitem" tabindex="-1") Your Profile
a#user-menu-item-1.block.px-4.py-2.text-sm.text-gray-700(href="#" role="menuitem" tabindex="-1") Settings
a#user-menu-item-2.block.px-4.py-2.text-sm.text-gray-700(href="#" role="menuitem" tabindex="-1" @click="logout") Sign out
.absolute.inset-y-0.right-0.flex.items-center.pr-2(class="sm:static sm:inset-auto sm:ml-6 sm:pr-0" v-else)