addded change profile

This commit is contained in:
a.krylov
2026-06-09 00:01:58 +03:00
parent 5282c30f10
commit 63ce7765df
12 changed files with 374 additions and 50 deletions

View File

@@ -0,0 +1,19 @@
// ─── Profile avatar component ───────────────────────────────────────────────
export default function ProfileAvatar({ avatar, name }) {
if (avatar) {
return (
<img
src={avatar}
alt={name}
className="f-profile-avatar"
title={name}
/>
);
}
return (
<div className="f-profile-avatar-placeholder" title={name}>
👤
</div>
);
}