{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A small post card of PostShowcase: the picture, the category, the title and the author with the reading time.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/post-mini-card.json\n    A small post card of PostShowcase: the picture, the category, the title and the author with the reading time.\n    Props (p): p, labels. *}\n{var $v_p = ($p['p'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{capture $c_5}\n  {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_p, ['title']), 'src' => og_get($v_p, ['image'])]])|noescape}\n  {capture $c_4}\n    {capture $c_1}\n      {=og_text(og_get($v_p, ['category']))}\n    {/capture}\n    {=og_include('compose/Badge.latte', ['variant' => 'secondary', 'size' => 'sm', 'children' => (string) $c_1])|noescape}\n    {capture $c_2}\n      {=og_text(og_get($v_p, ['title']))}\n    {/capture}\n    {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_2])|noescape}\n    {capture $c_3}\n      {=og_text(og_tpl('{0} · {1}', [og_get($v_p, ['author']), og_tpl(og_get($v_labels, ['minutes']), [og_get($v_p, ['minutes'])])]))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_3])|noescape}\n  {/capture}\n  {=og_include('compose/Stack.latte', ['gap' => '2', 'align' => 'start', 'class' => 'p-2', 'children' => (string) $c_4])|noescape}\n{/capture}\n{=og_include('compose/Stack.latte', ['gap' => '2', 'align' => 'stretch', 'class' => 'rounded bg-card inset-ring inset-ring-border p-2', 'attrs' => og_attrs(['data-slot', 'post-mini']), 'children' => (string) $c_5])|noescape}\n",
      "path": "blocks/post-mini-card.latte",
      "target": "blocks/post-mini-card.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "post-mini-card",
  "registryDependencies": [
    "badge",
    "media-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Post Mini Card",
  "type": "registry:component"
}
