silverwolf-x's picture
download
raw
592 Bytes
import Image from "next/image";
import { getImageUrl } from "takeshape-routing";
export default function Avatar({ name, picture }) {
return (
<div className="flex items-center">
<div className="w-12 h-12 relative mr-4">
<Image
src={getImageUrl(picture.path, {
fm: "jpg",
fit: "crop",
w: 100,
h: 100,
sat: -100,
})}
layout="fill"
className="rounded-full"
alt={name}
/>
</div>
<div className="text-xl font-bold">{name}</div>
</div>
);
}

Xet Storage Details

Size:
592 Bytes
·
Xet hash:
1f63f4b8aee10bf4b9f952a3d33615a03be3424f47b945aaefc459a1bb372084

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