{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A page for something that went wrong, such as a missing page: a code, a heading, a sentence and the way back.",
  "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/error-page.json\n    A page that tells the visitor something went wrong: an icon or a big code, a heading, a sentence and the way back. Axes: layout (centered, split: the picture beside the text), code (show, hide), actions mode (one, two), tone.\n    Props (p): id, title, text, status, actions, level, layout, code, tone, image, imageAlt, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_text = ($p['text'] ?? null)}\n{var $v_status = ($p['status'] ?? null)}\n{var $v_actions = ($p['actions'] ?? null)}\n{var $v_level = ($p['level'] ?? 1)}\n{var $v_layout = ($p['layout'] ?? 'centered')}\n{var $v_code = ($p['code'] ?? 'show')}\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_2}\n  {=og_include('blocks/media-frame.latte', ['p' => ['alt' => (og_t($v_imageAlt) ? $v_imageAlt : $v_title), 'src' => $v_image, 'ratio' => '4/3']])|noescape}\n{/capture}\n{capture $c_3}\n  {if og_t(og_eq($v_code, 'show'))}\n    {capture $c_1}\n      {=og_text($v_status)}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => '4xl', 'weight' => 'bold', 'class' => og_s(og_cnv(['text-8xl text-muted-foreground', (og_t(og_eq($v_layout, 'split')) ? '' : 'text-center')])), 'attrs' => og_attrs(['data-slot', 'error-code']), 'children' => (string) $c_1])|noescape}\n  {/if}\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']), 'align' => (og_t(og_eq($v_layout, 'split')) ? 'start' : 'center')]])|noescape}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_text, 'heading' => ['level' => $v_level], 'layout' => (og_t(og_eq($v_layout, 'split')) ? 'split' : 'stack'), 'media' => ['show' => og_eq($v_layout, 'split')], 'align' => (og_t(og_eq($v_layout, 'split')) ? 'start' : 'center'), 'tone' => $v_tone, 'density' => 'roomy', 'landmarkLabel' => $v_landmarkLabel, 'aside' => og_markup($f_2)], 'children' => og_markup($c_3)])|noescape}\n",
      "path": "blocks/error-page.latte",
      "target": "blocks/error-page.latte"
    }
  ],
  "meta": {
    "category": "support",
    "group": "states",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "error-page",
  "registryDependencies": [
    "action-group",
    "media-frame",
    "section-frame",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Error Page",
  "type": "registry:block"
}
