{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The cards layout of DishCompare: one compare card per cut with a picture, the name, the summary, the weight, heat and price as a description list, and the cooking 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/cut-cards.json\n    The cards layout of DishCompare: one compare card per cut with a picture, the name, the summary, the weight, heat and price as a description list, and the cooking time.\n    Props (p): dishes, labels. -#}\n{%- set v_dishes = (p.dishes ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set c_15 -%}\n  {%- for v_d in og_l(v_dishes) %}\n    {%- set c_14 -%}\n      {{ include('blocks/media-frame.html.twig', {'p': {'alt': og_get(v_d, ['name']), 'src': og_get(v_d, ['image']), 'ratio': '4/3'}}, with_context = false) }}\n      {%- set c_1 -%}\n        {{ og_text(og_get(v_d, ['name'])) }}\n      {%- endset -%}\n      {{ include('compose/Text.html.twig', {'size': 'lg', 'weight': 'semibold', 'children': c_1}, with_context = false) }}\n      {%- set c_2 -%}\n        {{ og_text(og_get(v_d, ['summary'])) }}\n      {%- endset -%}\n      {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n      {%- set c_12 -%}\n        {%- set c_5 -%}\n          {%- set c_3 -%}\n            {{ og_text(og_get(v_labels, ['weight'])) }}\n          {%- endset -%}\n          {{ include('compose/Inline.html.twig', {'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n          {%- set c_4 -%}\n            {{ og_text(og_get(v_d, ['weight'])) }}\n          {%- endset -%}\n          {{ include('compose/Inline.html.twig', {'class': 'font-semibold', 'children': c_4}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/ListItem.html.twig', {'class': 'flex items-center justify-between gap-4', 'children': c_5}, with_context = false) }}\n        {%- set c_8 -%}\n          {%- set c_6 -%}\n            {{ og_text(og_get(v_labels, ['heat'])) }}\n          {%- endset -%}\n          {{ include('compose/Inline.html.twig', {'class': 'text-muted-foreground', 'children': c_6}, with_context = false) }}\n          {%- set c_7 -%}\n            {{ og_text(og_get(v_d, ['tag'])) }}\n          {%- endset -%}\n          {{ include('compose/Inline.html.twig', {'class': 'font-semibold', 'children': c_7}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/ListItem.html.twig', {'class': 'flex items-center justify-between gap-4', 'children': c_8}, with_context = false) }}\n        {%- set c_11 -%}\n          {%- set c_9 -%}\n            {{ og_text(og_get(v_labels, ['price'])) }}\n          {%- endset -%}\n          {{ include('compose/Inline.html.twig', {'class': 'text-muted-foreground', 'children': c_9}, with_context = false) }}\n          {%- set c_10 -%}\n            {{ og_text(og_money(og_get(v_d, ['price']), og_get(v_d, ['currency']))) }}\n          {%- endset -%}\n          {{ include('compose/Inline.html.twig', {'class': 'font-semibold', 'children': c_10}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/ListItem.html.twig', {'class': 'flex items-center justify-between gap-4', 'children': c_11}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/List.html.twig', {'tag': 'ul', 'class': 'flex flex-col gap-2 text-sm', 'children': c_12}, with_context = false) }}\n      {%- set c_13 -%}\n        {{ include('icons/LucideIcon.html.twig', {'name': 'timer', 'size': 16}, with_context = false) }}\n        {{ og_text(og_tpl(og_get(v_labels, ['minutes']), [og_str(og_get(v_d, ['minutes']))])) }}\n      {%- endset -%}\n      {{ include('compose/Badge.html.twig', {'variant': 'secondary', 'size': 'default', 'class': 'w-fit', 'children': c_13}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'gap': '4', 'class': 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs': og_attrs(['data-slot', 'item']), 'children': c_14}, with_context = false) }}\n  {%- endfor %}\n{%- endset -%}\n{{ include('compose/Grid.html.twig', {'cols': '1-4', 'class': 'gap-4', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_15}, with_context = false) }}\n",
      "path": "blocks/cut-cards.html.twig",
      "target": "blocks/cut-cards.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "cut-cards",
  "registryDependencies": [
    "badge",
    "grid",
    "inline",
    "list",
    "list-item",
    "lucide-icon",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Cut Cards",
  "type": "registry:component"
}
