{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Two sides of the same points: how it was and how it is, as two cards or as rows.",
  "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/before-after.json\n    Two columns that set life without the product against life with it, point by point. Axes: layout (cards: two cards, rows: one row per point), icons (show, hide), tone, density.\n    Props (p): id, title, points, empty, labels, layout, icons, tone, density, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_points = ($p['points'] ?? null)}\n{var $v_empty = ($p['empty'] ?? '')}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'cards')}\n{var $v_icons = ($p['icons'] ?? 'show')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_21}\n  {if og_t(og_eq(og_len($v_points), 0))}\n    {=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'git-compare', 'title' => $v_empty]])|noescape}\n  {elseif og_t(og_eq($v_layout, 'cards'))}\n    {capture $c_13}\n      {capture $c_6}\n        {capture $c_5}\n          {capture $c_1}\n            {=og_text(og_get($v_labels, ['before']))}\n          {/capture}\n          {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'xl', 'weight' => 'bold', 'children' => (string) $c_1])|noescape}\n          {capture $c_4}\n            {foreach og_l($v_points) as $v_p}\n              {capture $c_3}\n                {if og_t(og_eq($v_icons, 'show'))}\n                  {=og_include('icons/LucideIcon.latte', ['name' => 'x', 'size' => 16, 'class' => 'h-lh shrink-0 text-sm'])|noescape}\n                {/if}\n                {capture $c_2}\n                  {=og_text(og_get($v_p, ['before']))}\n                {/capture}\n                {=og_include('compose/Text.latte', ['size' => 'sm', 'children' => (string) $c_2])|noescape}\n              {/capture}\n              {=og_include('compose/ListItem.latte', ['class' => 'flex items-start gap-4', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_3])|noescape}\n            {/foreach}\n          {/capture}\n          {=og_include('compose/List.latte', ['class' => 'm-0 flex list-none flex-col gap-4 p-0', 'children' => (string) $c_4])|noescape}\n        {/capture}\n        {=og_include('compose/CardContent.latte', ['class' => 'flex flex-col gap-4', 'children' => (string) $c_5])|noescape}\n      {/capture}\n      {=og_include('compose/Card.latte', ['variant' => 'muted', 'class' => og_s(og_cnv(['h-full', (og_t(og_eq($v_density, 'compact')) ? 'gap-4 p-4' : '')])), 'attrs' => og_attrs(['data-side', 'before']), 'children' => (string) $c_6])|noescape}\n      {capture $c_12}\n        {capture $c_11}\n          {capture $c_7}\n            {=og_text(og_get($v_labels, ['after']))}\n          {/capture}\n          {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'xl', 'weight' => 'bold', 'children' => (string) $c_7])|noescape}\n          {capture $c_10}\n            {foreach og_l($v_points) as $v_p}\n              {capture $c_9}\n                {if og_t(og_eq($v_icons, 'show'))}\n                  {=og_include('icons/LucideIcon.latte', ['name' => 'check', 'size' => 16, 'class' => 'h-lh shrink-0 text-sm'])|noescape}\n                {/if}\n                {capture $c_8}\n                  {=og_text(og_get($v_p, ['after']))}\n                {/capture}\n                {=og_include('compose/Text.latte', ['size' => 'sm', 'children' => (string) $c_8])|noescape}\n              {/capture}\n              {=og_include('compose/ListItem.latte', ['class' => 'flex items-start gap-4', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_9])|noescape}\n            {/foreach}\n          {/capture}\n          {=og_include('compose/List.latte', ['class' => 'm-0 flex list-none flex-col gap-4 p-0', 'children' => (string) $c_10])|noescape}\n        {/capture}\n        {=og_include('compose/CardContent.latte', ['class' => 'flex flex-col gap-4', 'children' => (string) $c_11])|noescape}\n      {/capture}\n      {=og_include('compose/Card.latte', ['variant' => 'default', 'class' => og_s(og_cnv(['h-full', (og_t(og_eq($v_density, 'compact')) ? 'gap-4 p-4' : '')])), 'attrs' => og_attrs(['data-side', 'after']), 'children' => (string) $c_12])|noescape}\n    {/capture}\n    {=og_include('compose/Grid.latte', ['cols' => '1-2', 'class' => 'items-stretch gap-4', 'attrs' => og_attrs(['data-slot', 'sides']), 'children' => (string) $c_13])|noescape}\n  {else}\n    {capture $c_20}\n      {foreach og_l($v_points) as $v_p}\n        {capture $c_19}\n          {capture $c_14}\n            {=og_text(og_get($v_p, ['title']))}\n          {/capture}\n          {=og_include('compose/Text.latte', ['size' => 'base', 'weight' => 'semibold', 'children' => (string) $c_14])|noescape}\n          {capture $c_16}\n            {if og_t(og_eq($v_icons, 'show'))}\n              {=og_include('icons/LucideIcon.latte', ['name' => 'x', 'size' => 16, 'class' => 'h-lh shrink-0 text-sm text-muted-foreground'])|noescape}\n            {/if}\n            {capture $c_15}\n              {=og_text(og_get($v_p, ['before']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_15])|noescape}\n          {/capture}\n          {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'start', 'children' => (string) $c_16])|noescape}\n          {capture $c_18}\n            {if og_t(og_eq($v_icons, 'show'))}\n              {=og_include('icons/LucideIcon.latte', ['name' => 'check', 'size' => 16, 'class' => 'h-lh shrink-0 text-sm text-primary'])|noescape}\n            {/if}\n            {capture $c_17}\n              {=og_text(og_get($v_p, ['after']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_17])|noescape}\n          {/capture}\n          {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'start', 'children' => (string) $c_18])|noescape}\n        {/capture}\n        {=og_include('compose/Grid.latte', ['cols' => '1-3', 'class' => og_s(og_cnv(['items-center gap-4', 'rounded bg-card inset-ring inset-ring-border p-4'])), 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_19])|noescape}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Stack.latte', ['gap' => '2', 'align' => 'stretch', 'attrs' => og_attrs(['data-slot', 'rows']), 'children' => (string) $c_20])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'tone' => $v_tone, 'density' => $v_density, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_21)])|noescape}\n",
      "path": "blocks/before-after.latte",
      "target": "blocks/before-after.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "before-after",
  "registryDependencies": [
    "card",
    "card-content",
    "empty-state",
    "grid",
    "group",
    "list",
    "list-item",
    "lucide-icon",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Before After",
  "type": "registry:block"
}
