{
  "$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 = (p.p ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set c_5 -%}\n  {{ include('blocks/media-frame.html.twig', {'p': {'alt': og_get(v_p, ['title']), 'src': og_get(v_p, ['image'])}}, with_context = false) }}\n  {%- set c_4 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_p, ['category'])) }}\n    {%- endset -%}\n    {{ include('compose/Badge.html.twig', {'variant': 'secondary', 'size': 'sm', 'children': c_1}, with_context = false) }}\n    {%- set c_2 -%}\n      {{ og_text(og_get(v_p, ['title'])) }}\n    {%- endset -%}\n    {{ include('compose/Title.html.twig', {'as': 3, 'size': 'sm', 'weight': 'semibold', 'children': c_2}, with_context = false) }}\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    {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Stack.html.twig', {'gap': '2', 'align': 'start', 'class': 'p-2', 'children': c_4}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Stack.html.twig', {'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}, with_context = false) }}\n",
      "path": "blocks/post-mini-card.html.twig",
      "target": "blocks/post-mini-card.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "post-mini-card",
  "registryDependencies": [
    "badge",
    "media-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Post Mini Card",
  "type": "registry:component"
}
