{
  "$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 = og_def(p['title'], none) -%}\n{%- set v_level = og_def(p['level'], 1) -%}\n{%- set v_badge = og_def(p['badge'], none) -%}\n{%- set v_badgeMark = og_def(p['badgeMark'], none) -%}\n{%- set v_actions = og_def(p['actions'], none) -%}\n{%- set v_composer = og_def(p['composer'], none) -%}\n{%- set v_nav = og_def(p['nav'], none) -%}\n{%- set v_topics = og_def(p['topics'], none) -%}\n{%- set v_density = og_def(p['density'], 'roomy') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_4 -%}\n  {%- set c_3 -%}\n    {%- set c_2 -%}\n      {{ og_include('blocks/hero-head.html.j2', {'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}}) }}\n      {%- set c_1 -%}\n        {%- if og_t(v_badge) %}\n          {{ og_include('blocks/hero-badge.html.j2', {'p': {'label': v_badge, 'mark': v_badgeMark}}) }}\n        {%- endif %}\n        {{ og_include('blocks/weighted-title.html.j2', {'p': {'id': 'home-hero-title', 'title': v_title, 'weights': og_preset('blocks/presets/defaults.json', ['hero', 'titleWeights']), 'level': v_level}}) }}\n        {%- if og_t(og_eq(og_get(v_actions, ['mode']), 'form')) %}\n          {{ og_include('blocks/prompt-composer.html.j2', {'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'])}}) }}\n        {%- elif og_t(og_get(v_actions, ['cta'])) %}\n          {{ og_include('blocks/action-group.html.j2', {'p': {'primary': og_get(v_actions, ['cta']), 'primaryHref': og_get(v_actions, ['href']), 'secondary': (og_get(v_actions, ['secondary']) if og_t(og_eq(og_get(v_actions, ['mode']), 'two')) else none), 'secondaryHref': og_get(v_actions, ['secondaryHref']), 'align': ('center' if og_t(true) else 'start')}}) }}\n        {%- endif %}\n        {%- if og_t(og_and([v_topics, og_gt(og_len(v_topics), 0)])) %}\n          {{ og_include('blocks/topic-chips.html.j2', {'p': {'topics': v_topics, 'tone': 'inverse'}}) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ og_include('compose/stack.html.j2', {'p': {'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}) }}\n    {%- endset -%}\n    {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0', 'Align': 'stretch'}, 'children': c_2}) }}\n  {%- endset -%}\n  {{ og_include('compose/container.html.j2', {'p': {'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}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'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', (none if og_t(v_landmarkLabel) else 'home-hero-title'), 'data-tone', 'inverse', 'data-density', v_density, 'data-chrome', 'nav', 'aria-label', v_landmarkLabel, 'data-slot', 'section'])}, 'children': c_4}) }}\n",
      "path": "blocks/hero-prompt.html.j2",
      "target": "blocks/hero-prompt.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "hero",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "hero-prompt",
  "registryDependencies": [
    "action-group",
    "block",
    "container",
    "hero-badge",
    "hero-head",
    "presets",
    "prompt-composer",
    "stack",
    "topic-chips",
    "utils",
    "weighted-title"
  ],
  "runtime": "jinja2",
  "title": "Hero Prompt",
  "type": "registry:block"
}
