Phase 5 cleanup

This commit is contained in:
Aerilyn Weber 2026-04-26 18:44:59 +09:00
parent 5536acd67d
commit 76a516a417
136 changed files with 6322 additions and 1985 deletions

View file

@ -0,0 +1,27 @@
interface AvatarProps {
name: string;
size?: number;
}
export function Avatar({ name, size = 32 }: AvatarProps) {
const initial = (name.charAt(0) ?? '?').toUpperCase();
return (
<div
aria-label={name}
style={{
width: size,
height: size,
borderRadius: '50%',
background: 'linear-gradient(135deg, var(--viz-4), var(--viz-3))',
color: 'white',
display: 'grid',
placeItems: 'center',
fontWeight: 600,
fontSize: size * 0.4,
flexShrink: 0,
}}
>
{initial}
</div>
);
}