{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Heading, lead, one or two actions and optional media.",
  "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/hero-prompt.json\n    A dark hero band: the head row, a badge, a title with weighted words, the prompt box (or actions) and topic pills.\n    Props (p): title, level, badge, badgeMark, actions, composer, nav, topics, density, landmarkLabel. -#}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_level = (p.level ?? 1) -%}\n{%- set v_badge = (p.badge ?? null) -%}\n{%- set v_badgeMark = (p.badgeMark ?? null) -%}\n{%- set v_actions = (p.actions ?? null) -%}\n{%- set v_composer = (p.composer ?? null) -%}\n{%- set v_nav = (p.nav ?? null) -%}\n{%- set v_topics = (p.topics ?? null) -%}\n{%- set v_density = (p.density ?? 'roomy') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_4 -%}\n  {%- set c_3 -%}\n    {%- set c_2 -%}\n      {{ include('blocks/hero-head.html.twig', {'p': {'brand': og_get(v_nav, ['brand']), 'links': og_get(v_nav, ['links']), 'current': og_get(v_nav, ['current']), 'login': og_get(v_nav, ['login']), 'loginHref': og_get(v_nav, ['loginHref']), 'skip': og_get(v_nav, ['skip']), 'navLabel': og_get(v_nav, ['label']), 'cta': og_get(v_actions, ['cta']), 'href': og_get(v_actions, ['href']), 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n      {%- set c_1 -%}\n        {%- if og_t(v_badge) %}\n          {{ include('blocks/hero-badge.html.twig', {'p': {'label': v_badge, 'mark': v_badgeMark}}, with_context = false) }}\n        {%- endif %}\n        {{ include('blocks/weighted-title.html.twig', {'p': {'id': 'home-hero-title', 'title': v_title, 'weights': og_preset('blocks/presets/defaults.json', ['hero', 'titleWeights']), 'level': v_level}}, with_context = false) }}\n        {%- if og_t(og_eq(og_get(v_actions, ['mode']), 'form')) %}\n          {{ include('blocks/prompt-composer.html.twig', {'p': {'label': og_get(v_actions, ['emailLabel']), 'attachLabel': og_get(v_composer, ['attachLabel']), 'modelLabel': og_get(v_composer, ['modelLabel']), 'send': og_get(v_actions, ['cta']), 'href': og_get(v_actions, ['href'])}}, with_context = false) }}\n        {%- elseif og_t(og_get(v_actions, ['cta'])) %}\n          {{ include('blocks/action-group.html.twig', {'p': {'primary': og_get(v_actions, ['cta']), 'primaryHref': og_get(v_actions, ['href']), 'secondary': (og_t(og_eq(og_get(v_actions, ['mode']), 'two')) ? og_get(v_actions, ['secondary']) : null), 'secondaryHref': og_get(v_actions, ['secondaryHref']), 'align': (og_t(true) ? 'center' : 'start')}}, with_context = false) }}\n        {%- endif %}\n        {%- if og_t(og_and([v_topics, og_gt(og_len(v_topics), 0)])) %}\n          {{ include('blocks/topic-chips.html.twig', {'p': {'topics': v_topics, 'tone': 'inverse'}}, with_context = false) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '0', 'align': 'center', 'class': og_s(og_cnv(['mx-auto w-full pt-24 pb-16', og_preset('blocks/presets/defaults.json', ['hero', 'column'])])), 'attrs': og_attrs(['data-slot', 'hero-column']), 'children': c_1}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'gap': '0', 'align': 'stretch', 'children': c_2}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Container.html.twig', {'class': og_s(og_cnv(['mx-auto w-full px-8', og_preset('blocks/presets/defaults.json', ['hero', 'container'])])), '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(['flex w-full flex-col bg-foreground text-background py-8 [&_.text-muted-foreground]:text-background/70', og_preset('blocks/presets/defaults.json', ['hero', 'band'])])), 'attrs': og_attrs(['aria-labelledby', (og_t(v_landmarkLabel) ? null : 'home-hero-title'), 'data-tone', 'inverse', 'data-density', v_density, 'data-chrome', 'nav', 'aria-label', v_landmarkLabel, 'data-slot', 'section']), 'children': c_4}, with_context = false) }}\n",
      "path": "blocks/hero-prompt.html.twig",
      "target": "blocks/hero-prompt.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "hero",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "hero-prompt",
  "registryDependencies": [
    "action-group",
    "block",
    "container",
    "hero-badge",
    "hero-head",
    "presets",
    "prompt-composer",
    "stack",
    "topic-chips",
    "utils",
    "weighted-title"
  ],
  "runtime": "twig",
  "title": "Hero Prompt",
  "type": "registry:block"
}
