silverwolf-x's picture
download
raw
836 Bytes
import { ContentBlocks } from "./content-blocks";
import DateComponent from "./date";
import Avatar from "./avatar";
export default function PostBody({ content }) {
return (
<div className="prose lg:prose-xl mx-auto max-w-2xl">
<div className="mb-6 block md:hidden">
{content.author.length ? (
<Avatar
name={`${content.author[0].firstName} ${content.author[0].lastName}`}
picture={content.author[0].profilePhoto}
/>
) : null}
</div>
<div className="mb-6 text-lg">
{content.postingDate !== "now" ? (
<div className="mb-6 text-lg">
Posted <DateComponent dateString={content.postingDate} />
</div>
) : null}
</div>
<ContentBlocks content={content.blogContent.json.content} />
</div>
);
}

Xet Storage Details

Size:
836 Bytes
·
Xet hash:
fa8a9674e2dc77dd7be55829c13c0ae25eb749bedeb279f54016e6aa0fb826a3

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