Working profile system

This commit is contained in:
2025-10-12 14:56:56 +02:00
parent ab84de8b03
commit 5f9bb4c877
8 changed files with 115 additions and 27 deletions
+8 -2
View File
@@ -1,9 +1,15 @@
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar";
export default function ProfilePicture({ name }: { name: string }) {
export default function ProfilePicture({
name,
url,
}: {
name: string;
url: string;
}) {
return (
<Avatar className="h-8 w-8">
<AvatarImage src="https://github.com/kleo-dev.png" alt={name} />
<AvatarImage src={url} alt={name} />
<AvatarFallback>{name[0]}</AvatarFallback>
</Avatar>
);