feat: add profile photo upload UI component and integrate into settings

This commit is contained in:
2026-05-09 12:58:11 +08:00
parent 20f1d33751
commit d4a12fe19d
6 changed files with 314 additions and 3 deletions
+1
View File
@@ -30,6 +30,7 @@ export function ProfilePageClient({ profile, recentContributions }: ProfilePageC
role={profile.role}
verified={profile.verified}
createdAt={profile.createdAt}
image={profile.image}
/>
</div>
</div>
+3
View File
@@ -104,6 +104,7 @@ export default function ProfilePage() {
role={profile.role}
verified={profile.verified}
createdAt={profile.createdAt}
image={profile.image}
/>
</div>
</motion.div>
@@ -175,6 +176,8 @@ export default function ProfilePage() {
email={profile.email}
role={profile.role}
createdAt={profile.createdAt}
image={profile.image}
userId={profile.id}
/>
)}
</motion.div>