avatar: new upload + remove avatar, and placeholder with colour and initials

This commit is contained in:
Oliver Bryan
2026-01-03 11:25:39 +00:00
parent e62b12b1c3
commit 33da8bde85
10 changed files with 138 additions and 54 deletions

View File

@@ -129,6 +129,8 @@ export default function LogInForm() {
{mode === "register" && (
<>
<UploadAvatar
name={name}
username={username || undefined}
avatarURL={avatarURL}
onAvatarUploaded={setAvatarUrl}
className={"mt-2 mb-4"}