Added header avatar dropdown

main
TZGyn 3 years ago
parent 6cd2072759
commit b47971cc82
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -11,12 +11,28 @@
<p class="text-xl font-bold"> Notes </p> <p class="text-xl font-bold"> Notes </p>
</div> </div>
<div class="flex w-fit justify-end"> <div class="flex w-fit justify-end">
<Icon <el-dropdown trigger="click">
class="rounded-full bg-secondary hover:cursor-pointer" <span class="el-dropdown-link">
@click="navigateTo('/profile')" <Icon
name="fa6-solid:circle-user" class="rounded-full bg-secondary hover:cursor-pointer"
size="36" /> name="fa6-solid:circle-user"
size="36" />
</span>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item @click="navigateTo('/profile')"
>Profile</el-dropdown-item
>
</el-dropdown-menu>
</template>
</el-dropdown>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<style scoped>
:deep(.el-dropdown-menu__item) {
@apply px-8;
}
</style>

Loading…
Cancel
Save