import { c as createComponent, m as maybeRenderHead, a as addAttribute, r as renderTemplate, b as createAstro } from './astro/server_DrnzQWw3.mjs'; import 'kleur/colors'; import 'clsx'; import { f as formatPostRelativeTime } from './cms_CRTVymfB.mjs'; const $$Astro = createAstro(); const $$PostCard = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); Astro2.self = $$PostCard; const { post } = Astro2.props; const image = post.thumbnail || post.image; const timeLabel = formatPostRelativeTime(post); return renderTemplate`${maybeRenderHead()}
${image ? renderTemplate`` : renderTemplate`
image
`}
${post.category}

${post.title}

${timeLabel} · ${post.readTime} · ${post.category}
bookmark_border share
`; }, "/Users/drfelfel/ruseemrooz/src/components/PostCard.astro", void 0); export { $$PostCard as $ };