import Link from 'next/link'; import type { PlazaPost } from '@/types/plaza'; import { FollowButton } from '@/components/user/FollowButton'; import { formatCount, formatRelativeTime } from '@/lib/format'; export function PostMeta({ post }: { post: PlazaPost }) { return (

{post.category.icon} {post.category.name} ยท {formatRelativeTime(post.published_at)}

{post.title}

{post.summary ?

{post.summary}

: null}
{post.author.display_name}

@{post.author.slug}

๐Ÿ‘ {formatCount(post.stats.like_count)} ๐Ÿ‘ {formatCount(post.stats.view_count)} ๐Ÿ’ฌ {formatCount(post.stats.comment_count)}
); }