added avatar and link

This commit is contained in:
Mamalizz
2025-02-21 23:11:55 +03:30
parent 74c361905d
commit cac03d4a3f
+15 -5
View File
@@ -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>