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