{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The head of an inner page: the heading, one sentence and an optional action.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\n * The head of an inner page: the heading (h1 on a page of its own), one sentence and, optionally, an action.\n * Axes: align (start, center), tone, density.\n */\nimport { type JSX } from \"solid-js\";\nimport { ActionGroup } from \"../components/action-group\";\nimport { SectionFrame } from \"../components/section-frame\";\n\nexport type PageIntroProps = {\n  id: string;\n  title: string;\n  text: string;\n  cta?: string;\n  href?: string;\n  level?: 1 | 2;\n  align?: \"start\" | \"center\";\n  tone?: \"default\" | \"muted\";\n  density?: \"default\" | \"compact\";\n  landmarkLabel?: string;\n};\n\nexport function PageIntro({\n  id,\n  title,\n  text,\n  cta,\n  href,\n  level = 1,\n  align = \"start\",\n  tone = \"default\",\n  density = \"default\",\n  landmarkLabel,\n}: PageIntroProps) {\n  return (\n    <SectionFrame\n      id={id}\n      title={title}\n      lead={text}\n      heading={{ level }}\n      align={align}\n      tone={tone}\n      density={density}\n      landmarkLabel={landmarkLabel}\n    >\n      {cta ? (\n        <ActionGroup primary={cta} primaryHref={href} align={align} />\n      ) : null}\n    </SectionFrame>\n  );\n}\n",
      "path": "blocks/page-intro.tsx",
      "target": "blocks/page-intro.tsx"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "page",
    "kind": "block",
    "tags": [
      "solid",
      "block"
    ]
  },
  "name": "page-intro",
  "registryDependencies": [
    "action-group",
    "section-frame",
    "utils"
  ],
  "runtime": "solid",
  "title": "Page Intro",
  "type": "registry:block"
}
