import Link from "next/link"
import type { Post } from "@/lib/db"
import { formatDate } from "@/lib/utils"
import { TagBadge } from "@/components/tag-badge"
export function PostCard({ post, compact = false }: { post: Post; compact?: boolean }) {
if (compact) {
return (
{post.artist}
)}{post.artist}
)} {post.tags && post.tags.length > 0 && (