{
  "$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{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? null) -%}\n{%- set v_status = (p.status ?? null) -%}\n{%- set v_actions = (p.actions ?? null) -%}\n{%- set v_level = (p.level ?? 1) -%}\n{%- set v_layout = (p.layout ?? 'centered') -%}\n{%- set v_code = (p.code ?? 'show') -%}\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_2 -%}\n  {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n{%- endset -%}\n{%- set c_3 -%}\n  {%- if og_t(og_eq(v_code, 'show')) %}\n    {%- set c_1 -%}\n      {{ og_text(v_status) }}\n    {%- endset -%}\n    {{ include('compose/Text.html.twig', {'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': c_1}, with_context = false) }}\n  {%- endif %}\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']), 'align': (og_t(og_eq(v_layout, 'split')) ? 'start' : 'center')}}, with_context = false) }}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'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)}, with_context = false) }}\n",
      "path": "blocks/error-page.html.twig",
      "target": "blocks/error-page.html.twig"
    }
  ],
  "meta": {
    "category": "support",
    "group": "states",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "error-page",
  "registryDependencies": [
    "action-group",
    "media-frame",
    "section-frame",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Error Page",
  "type": "registry:block"
}
