silverwolf-x's picture
download
raw
483 Bytes
import DotCmsImage from "./dotcms-image";
export default function Avatar({ name, picture }) {
return (
<div className="flex items-center ">
<div className="w-12 h-12 relative mr-4">
{picture?.idPath ? (
<DotCmsImage
src={picture?.idPath}
layout="fill"
className="rounded-full"
alt={name}
/>
) : null}
</div>
<div className="text-xl font-bold">{name}</div>
</div>
);
}

Xet Storage Details

Size:
483 Bytes
·
Xet hash:
fc6c1a464bc95887d92a33da30ee75da79938060950aea7d5fab3106f9f3e29d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.