{
  "$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{var $v_p = ($p['p'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_ratio = ($p['ratio'] ?? '4/3')}\n{capture $c_8}\n  {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_p, ['title']), 'src' => og_get($v_p, ['image']), 'ratio' => $v_ratio, 'className' => og_cnv([(og_t(og_eq($v_ratio, '4/3')) ? 'min-h-80' : 'min-h-64')])]])|noescape}\n  {capture $c_7}\n    {capture $c_3}\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, ['date']))}\n      {/capture}\n      {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n    {/capture}\n    {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'center', 'children' => (string) $c_3])|noescape}\n    {capture $c_4}\n      {=og_text(og_get($v_p, ['title']))}\n    {/capture}\n    {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'base', 'weight' => 'semibold', 'children' => (string) $c_4])|noescape}\n    {capture $c_5}\n      {=og_text(og_get($v_p, ['excerpt']))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => og_s(og_cnv(['text-muted-foreground', 'line-clamp-2'])), 'children' => (string) $c_5])|noescape}\n    {capture $c_6}\n      {=og_text(og_get($v_labels, ['read']))}\n      {=og_include('icons/LucideIcon.latte', ['name' => 'arrow-right', 'size' => 16])|noescape}\n    {/capture}\n    {=og_include('blocks/menu-entry.latte', ['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)])|noescape}\n  {/capture}\n  {=og_include('compose/Stack.latte', ['gap' => '2', 'align' => 'start', 'class' => 'absolute bottom-4 left-4 right-4 rounded bg-background p-4', 'children' => (string) $c_7])|noescape}\n{/capture}\n{=og_include('compose/Box.latte', ['class' => 'relative overflow-hidden rounded', 'attrs' => og_attrs(['data-slot', 'post-overlay']), 'children' => (string) $c_8])|noescape}\n",
      "path": "blocks/post-overlay-card.latte",
      "target": "blocks/post-overlay-card.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "post-overlay-card",
  "registryDependencies": [
    "badge",
    "box",
    "group",
    "lucide-icon",
    "media-frame",
    "menu-entry",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Post Overlay Card",
  "type": "registry:component"
}
