{post.type}
{post.title}{timeAgo(post.createdAt)} · {post.voteCount} vote{post.voteCount === 1 ? "" : "s"}
Loading
{:else if profile}Contributor
Member since {new Date(profile._creationTime).toLocaleDateString(undefined, { month: "long", year: "numeric", })}
{profile.totalContributions}
Contributions
{profile.noteCount}
Notes
{profile.questionCount}
Questions
{profile.commentCount}
Comments
No posts yet.
{:else} {#each profile.posts as post}{post.type}
{post.title}{timeAgo(post.createdAt)} · {post.voteCount} vote{post.voteCount === 1 ? "" : "s"}
No comments yet.
{:else} {#each profile.comments as comment}On {comment.targetTitle ?? `a ${comment.targetType}`}
{previewMarkdown(comment.content)}
{timeAgo(comment.createdAt)}
This user does not exist.
{/if}