feat: app shell, UI kit, data loading, recurring sync
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
23f3192cd0
commit
08f23f909f
14 files changed
+493
-7
No files matched your search
@@ -0,0 +1,10 @@
|
||||
export function Avatar({ user, size = 34 }: { user: { firstName: string; color: string }; size?: number }) {
|
||||
return (
|
||||
<span
|
||||
className="inline-grid shrink-0 place-items-center rounded-full font-bold text-white"
|
||||
style={{ backgroundColor: user.color, width: size, height: size, fontSize: size * 0.38 }}
|
||||
>
|
||||
{user.firstName.slice(0, 1).toUpperCase()}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user