{
  "$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{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_lead = ($p['lead'] ?? '')}\n{var $v_badge = ($p['badge'] ?? '')}\n{var $v_label = ($p['label'] ?? null)}\n{var $v_crumbs = ($p['crumbs'] ?? null)}\n{var $v_extras = ($p['extras'] ?? null)}\n{var $v_aside = ($p['aside'] ?? 'none')}\n{var $v_level = ($p['level'] ?? 1)}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{var $v_titleId = og_add($v_id, '-title')}\n{capture $c_4}\n  {capture $c_3}\n    {if og_t(og_gt(og_len($v_crumbs), 0))}\n      {=og_include('blocks/page-crumbs.latte', ['p' => ['label' => $v_label, 'crumbs' => $v_crumbs, 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n    {/if}\n    {capture $c_2}\n      {capture $c_1}\n        {=og_include('blocks/section-header.latte', ['p' => ['titleId' => $v_titleId, 'title' => $v_title, 'heading' => ['level' => $v_level, 'badge' => $v_badge], 'lead' => $v_lead]])|noescape}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'start', 'class' => 'min-w-0', 'children' => (string) $c_1])|noescape}\n      {if og_t(!(og_eq($v_aside, 'none')))}\n        {=og_include('blocks/page-aside.latte', ['p' => ['extras' => $v_extras, 'mode' => $v_aside]])|noescape}\n      {/if}\n    {/capture}\n    {=og_include('compose/Box.latte', ['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' => (string) $c_2])|noescape}\n  {/capture}\n  {=og_include('compose/Container.latte', ['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' => (string) $c_3])|noescape}\n{/capture}\n{=og_include('compose/Block.latte', ['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' => (string) $c_4])|noescape}\n",
      "path": "blocks/page-trail.latte",
      "target": "blocks/page-trail.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "page",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "page-trail",
  "registryDependencies": [
    "block",
    "box",
    "container",
    "page-aside",
    "page-crumbs",
    "section-header",
    "stack",
    "utils"
  ],
  "runtime": "latte",
  "title": "Page Trail",
  "type": "registry:block"
}
