{
  "$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{%- set v_p = og_def(p['p'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set c_5 -%}\n  {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': og_get(v_p, ['title']), 'src': og_get(v_p, ['image'])}}) }}\n  {%- set c_4 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_p, ['category'])) }}\n    {%- endset -%}\n    {{ og_include('compose/badge.html.j2', {'p': {'Variant': 'secondary', 'Size': 'sm'}, 'children': c_1}) }}\n    {%- set c_2 -%}\n      {{ og_text(og_get(v_p, ['title'])) }}\n    {%- endset -%}\n    {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'sm', 'Weight': 'semibold'}, 'children': c_2}) }}\n    {%- set 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    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_3}) }}\n  {%- endset -%}\n  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Align': 'start', 'Class': 'p-2'}, 'children': c_4}) }}\n{%- endset -%}\n{{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Align': 'stretch', 'Class': 'rounded bg-card inset-ring inset-ring-border p-2', 'Attrs': og_attrs(['data-slot', 'post-mini'])}, 'children': c_5}) }}\n",
      "path": "blocks/post-mini-card.html.j2",
      "target": "blocks/post-mini-card.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "post-mini-card",
  "registryDependencies": [
    "badge",
    "media-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Post Mini Card",
  "type": "registry:component"
}
