{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Features beside a picture: plain in two columns, as cards with actions, two figures over checked rows, or four metric cards with actions.",
  "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/feature-split.json\n    Features beside a picture. Axes: layout (grid: four plain features in two columns, cards: four features as cards and the actions, stats: two figure cards over three checked rows beside a square picture, metrics: four metric cards and the actions), mediaSide, tone.\n    Props (p): id, title, lead, badge, level, features, stats, actions, layout, mediaSide, tone, image, imageAlt, 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_level = (p.level ?? 2) -%}\n{%- set v_features = (p.features ?? null) -%}\n{%- set v_stats = (p.stats ?? null) -%}\n{%- set v_actions = (p.actions ?? null) -%}\n{%- set v_layout = (p.layout ?? 'grid') -%}\n{%- set v_mediaSide = (p.mediaSide ?? 'end') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set f_1 -%}\n  {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': (og_t(og_eq(v_layout, 'stats')) ? '1/1' : '4/3')}}, with_context = false) }}\n{%- endset -%}\n{%- set c_2 -%}\n  {%- if og_t(og_eq(v_layout, 'grid')) %}\n    {%- if og_t(og_gt(og_len(v_features), 0)) %}\n      {{ include('blocks/feature-pairs.html.twig', {'p': {'features': v_features}}, with_context = false) }}\n    {%- endif %}\n  {%- endif %}\n  {%- if og_t(og_eq(v_layout, 'cards')) %}\n    {%- if og_t(og_gt(og_len(v_features), 0)) %}\n      {{ include('blocks/feature-cards.html.twig', {'p': {'features': v_features, 'cols': '1-2', 'item': 'tile'}}, with_context = false) }}\n    {%- endif %}\n  {%- endif %}\n  {%- if og_t(og_eq(v_layout, 'stats')) %}\n    {%- if og_t(og_gt(og_len(v_features), 0)) %}\n      {{ include('blocks/feature-stat-rows.html.twig', {'p': {'features': v_features, 'stats': v_stats}}, with_context = false) }}\n    {%- endif %}\n  {%- endif %}\n  {%- if og_t(og_eq(v_layout, 'metrics')) %}\n    {%- if og_t(og_gt(og_len(v_stats), 0)) %}\n      {{ include('blocks/feature-metric-cards.html.twig', {'p': {'stats': v_stats}}, with_context = false) }}\n    {%- endif %}\n  {%- endif %}\n  {%- if og_t(og_or([og_eq(v_layout, 'cards'), og_eq(v_layout, 'metrics')])) %}\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'])}}, with_context = false) }}\n  {%- endif %}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'lead': v_lead, 'heading': {'badge': v_badge, 'level': v_level}, 'tone': v_tone, 'layout': 'split', 'media': {'show': true, 'side': v_mediaSide}, 'landmarkLabel': v_landmarkLabel, 'aside': og_markup(f_1)}, 'children': og_markup(c_2)}, with_context = false) }}\n",
      "path": "blocks/feature-split.html.twig",
      "target": "blocks/feature-split.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "feature-split",
  "registryDependencies": [
    "action-group",
    "feature-cards",
    "feature-metric-cards",
    "feature-pairs",
    "feature-stat-rows",
    "media-frame",
    "section-frame",
    "utils"
  ],
  "runtime": "twig",
  "title": "Feature Split",
  "type": "registry:block"
}
