feat : prifile css change over

This commit is contained in:
许永平
2025-07-07 09:49:35 +08:00
parent 2cdbd4dd73
commit 9a49ef5e57
2 changed files with 38 additions and 6 deletions

View File

@@ -75,8 +75,8 @@ export default function Profile() {
<div className="flex items-center space-x-4">
<Avatar className="w-20 h-20">
<AvatarImage src={userInfo?.avatar || user?.avatar || ''} />
<AvatarFallback>
{(userInfo?.username || user?.username || '用户').slice(0, 2)}
<AvatarFallback className="bg-gradient-to-br from-blue-500 to-purple-600 text-white text-xl font-semibold shadow-lg">
{(userInfo?.username || user?.username || '用户').slice(0, 2).toUpperCase()}
</AvatarFallback>
</Avatar>
<div className="flex-1">