{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A post card of PostShowcase with the text on a panel over the lower part of the picture: the category and date, the title, the excerpt and a read link.",
  "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-overlay-card.json\n    A post card of PostShowcase with the text on a panel over the lower part of the picture: the category and date, the title, the excerpt and a read link.\n    Props (p): p, labels, ratio. -#}\n{%- set v_p = og_def(p['p'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set v_ratio = og_def(p['ratio'], '4/3') -%}\n{%- set c_8 -%}\n  {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': og_get(v_p, ['title']), 'src': og_get(v_p, ['image']), 'ratio': v_ratio, 'className': og_cnv([('min-h-80' if og_t(og_eq(v_ratio, '4/3')) else 'min-h-64')])}}) }}\n  {%- set c_7 -%}\n    {%- set c_3 -%}\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, ['date'])) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_3}) }}\n    {%- set c_4 -%}\n      {{ og_text(og_get(v_p, ['title'])) }}\n    {%- endset -%}\n    {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'base', 'Weight': 'semibold'}, 'children': c_4}) }}\n    {%- set c_5 -%}\n      {{ og_text(og_get(v_p, ['excerpt'])) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': og_s(og_cnv(['text-muted-foreground', 'line-clamp-2']))}, 'children': c_5}) }}\n    {%- set c_6 -%}\n      {{ og_text(og_get(v_labels, ['read'])) }}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'arrow-right', 'Size': 16}}) }}\n    {%- endset -%}\n    {{ og_include('blocks/menu-entry.html.j2', {'p': {'href': og_get(v_p, ['href']), 'className': og_cnv(['gap-2 text-sm font-medium']), 'size': 'sm', 'testid': 'read'}, 'children': og_markup(c_6)}) }}\n  {%- endset -%}\n  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Align': 'start', 'Class': 'absolute bottom-4 left-4 right-4 rounded bg-background p-4'}, 'children': c_7}) }}\n{%- endset -%}\n{{ og_include('compose/box.html.j2', {'p': {'Class': 'relative overflow-hidden rounded', 'Attrs': og_attrs(['data-slot', 'post-overlay'])}, 'children': c_8}) }}\n",
      "path": "blocks/post-overlay-card.html.j2",
      "target": "blocks/post-overlay-card.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "post-overlay-card",
  "registryDependencies": [
    "badge",
    "box",
    "group",
    "lucide-icon",
    "media-frame",
    "menu-entry",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Post Overlay Card",
  "type": "registry:component"
}
