added avatar and link
This commit is contained in:
@@ -56,13 +56,23 @@ await suspense();
|
||||
{{ `${account?.first_name} ${account?.last_name}` }}
|
||||
</p>
|
||||
</span>
|
||||
<button class="text-xs font-semibold text-cyan-500">
|
||||
<NuxtLink
|
||||
:to="{ name: 'profile' }"
|
||||
class="text-xs font-semibold text-cyan-500"
|
||||
>
|
||||
ویرایش اطلاعات
|
||||
</button>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
<img
|
||||
src="https://shatelpart.com/storage/users/user-15-155Mn1.png"
|
||||
class="rounded-full size-[3rem] hover:border-dynamic-rose transition"
|
||||
<Avatar
|
||||
class="!size-[3rem]"
|
||||
:src="account!.profile_photo"
|
||||
:alt="
|
||||
account?.first_name && account?.last_name
|
||||
? `${account?.first_name.charAt(
|
||||
0
|
||||
)} ${account?.last_name.charAt(0)}`
|
||||
: 'بدون نام کاربری'
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user