{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Breadcrumbs over the badge, the heading and the lead; with one large figure, a note card or four key facts at the end.",
  "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/page-trail.json\n    The head of an inner page with breadcrumbs. Axes: aside (none, figure: one large figure such as a count or a total, note: a small card with a glyph such as a delivery promise or a document version, facts: four key facts in two columns), tone.\n    Props (p): id, title, lead, badge, label, crumbs, extras, aside, level, tone, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_lead = (p.lead ?? '') -%}\n{%- set v_badge = (p.badge ?? '') -%}\n{%- set v_label = (p.label ?? null) -%}\n{%- set v_crumbs = (p.crumbs ?? null) -%}\n{%- set v_extras = (p.extras ?? null) -%}\n{%- set v_aside = (p.aside ?? 'none') -%}\n{%- set v_level = (p.level ?? 1) -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set v_titleId = og_add(v_id, '-title') -%}\n{%- set c_4 -%}\n  {%- set c_3 -%}\n    {%- if og_t(og_gt(og_len(v_crumbs), 0)) %}\n      {{ include('blocks/page-crumbs.html.twig', {'p': {'label': v_label, 'crumbs': v_crumbs, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n    {%- endif %}\n    {%- set c_2 -%}\n      {%- set c_1 -%}\n        {{ include('blocks/section-header.html.twig', {'p': {'titleId': v_titleId, 'title': v_title, 'heading': {'level': v_level, 'badge': v_badge}, 'lead': v_lead}}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'start', 'class': 'min-w-0', 'children': c_1}, with_context = false) }}\n      {%- if og_t(not (og_eq(v_aside, 'none'))) %}\n        {{ include('blocks/page-aside.html.twig', {'p': {'extras': v_extras, 'mode': v_aside}}, with_context = false) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ include('compose/Box.html.twig', {'class': og_s((og_t(og_eq(v_aside, 'facts')) ? 'grid grid-cols-1 items-center gap-8 lg:grid-cols-2' : 'flex flex-col gap-6 md:flex-row md:items-end md:justify-between')), 'children': c_2}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Container.html.twig', {'class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', 'flex flex-col gap-6'])), 'attrs': og_attrs(['data-slot', 'container']), 'children': c_3}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'tag': 'section', 'class': og_s(og_cnv(['py-8', (og_t(og_eq(v_tone, 'muted')) ? 'bg-muted' : '')])), 'attrs': og_attrs(['aria-labelledby', (og_t(v_landmarkLabel) ? null : v_titleId), 'data-tone', v_tone, 'data-aside', v_aside, 'aria-label', v_landmarkLabel, 'data-slot', 'section']), 'children': c_4}, with_context = false) }}\n",
      "path": "blocks/page-trail.html.twig",
      "target": "blocks/page-trail.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "page",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "page-trail",
  "registryDependencies": [
    "block",
    "box",
    "container",
    "page-aside",
    "page-crumbs",
    "section-header",
    "stack",
    "utils"
  ],
  "runtime": "twig",
  "title": "Page Trail",
  "type": "registry:block"
}
