{
  "$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{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_level = ($p['level'] ?? 2)}\n{var $v_features = ($p['features'] ?? null)}\n{var $v_stats = ($p['stats'] ?? null)}\n{var $v_actions = ($p['actions'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'grid')}\n{var $v_mediaSide = ($p['mediaSide'] ?? 'end')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_image = ($p['image'] ?? null)}\n{var $v_imageAlt = ($p['imageAlt'] ?? null)}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $f_1}\n  {=og_include('blocks/media-frame.latte', ['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')]])|noescape}\n{/capture}\n{capture $c_2}\n  {if og_t(og_eq($v_layout, 'grid'))}\n    {if og_t(og_gt(og_len($v_features), 0))}\n      {=og_include('blocks/feature-pairs.latte', ['p' => ['features' => $v_features]])|noescape}\n    {/if}\n  {/if}\n  {if og_t(og_eq($v_layout, 'cards'))}\n    {if og_t(og_gt(og_len($v_features), 0))}\n      {=og_include('blocks/feature-cards.latte', ['p' => ['features' => $v_features, 'cols' => '1-2', 'item' => 'tile']])|noescape}\n    {/if}\n  {/if}\n  {if og_t(og_eq($v_layout, 'stats'))}\n    {if og_t(og_gt(og_len($v_features), 0))}\n      {=og_include('blocks/feature-stat-rows.latte', ['p' => ['features' => $v_features, 'stats' => $v_stats]])|noescape}\n    {/if}\n  {/if}\n  {if og_t(og_eq($v_layout, 'metrics'))}\n    {if og_t(og_gt(og_len($v_stats), 0))}\n      {=og_include('blocks/feature-metric-cards.latte', ['p' => ['stats' => $v_stats]])|noescape}\n    {/if}\n  {/if}\n  {if og_t(og_or([og_eq($v_layout, 'cards'), og_eq($v_layout, 'metrics')]))}\n    {=og_include('blocks/action-group.latte', ['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'])]])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['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)])|noescape}\n",
      "path": "blocks/feature-split.latte",
      "target": "blocks/feature-split.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "feature-split",
  "registryDependencies": [
    "action-group",
    "feature-cards",
    "feature-metric-cards",
    "feature-pairs",
    "feature-stat-rows",
    "media-frame",
    "section-frame",
    "utils"
  ],
  "runtime": "latte",
  "title": "Feature Split",
  "type": "registry:block"
}
