{
  "$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 = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_text = og_def(p['text'], none) -%}\n{%- set v_status = og_def(p['status'], none) -%}\n{%- set v_actions = og_def(p['actions'], none) -%}\n{%- set v_level = og_def(p['level'], 1) -%}\n{%- set v_layout = og_def(p['layout'], 'centered') -%}\n{%- set v_code = og_def(p['code'], 'show') -%}\n{%- set v_tone = og_def(p['tone'], 'default') -%}\n{%- set v_image = og_def(p['image'], none) -%}\n{%- set v_imageAlt = og_def(p['imageAlt'], none) -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set f_2 -%}\n  {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': (v_imageAlt if og_t(v_imageAlt) else v_title), 'src': v_image, 'ratio': '4/3'}}) }}\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    {{ og_include('compose/text.html.j2', {'p': {'Size': '4xl', 'Weight': 'bold', 'Class': og_s(og_cnv(['text-8xl text-muted-foreground', ('' if og_t(og_eq(v_layout, 'split')) else 'text-center')])), 'Attrs': og_attrs(['data-slot', 'error-code'])}, 'children': c_1}) }}\n  {%- endif %}\n  {{ og_include('blocks/action-group.html.j2', {'p': {'primary': og_get(v_actions, ['cta']), 'primaryHref': og_get(v_actions, ['href']), 'secondary': (og_get(v_actions, ['secondary']) if og_t(og_eq(og_get(v_actions, ['mode']), 'two')) else none), 'secondaryHref': og_get(v_actions, ['secondaryHref']), 'align': ('start' if og_t(og_eq(v_layout, 'split')) else 'center')}}) }}\n{%- endset -%}\n{{ og_include('blocks/section-frame.html.j2', {'p': {'id': v_id, 'title': v_title, 'lead': v_text, 'heading': {'level': v_level}, 'layout': ('split' if og_t(og_eq(v_layout, 'split')) else 'stack'), 'media': {'show': og_eq(v_layout, 'split')}, 'align': ('start' if og_t(og_eq(v_layout, 'split')) else 'center'), 'tone': v_tone, 'density': 'roomy', 'landmarkLabel': v_landmarkLabel, 'aside': og_markup(f_2)}, 'children': og_markup(c_3)}) }}\n",
      "path": "blocks/error-page.html.j2",
      "target": "blocks/error-page.html.j2"
    }
  ],
  "meta": {
    "category": "support",
    "group": "states",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "error-page",
  "registryDependencies": [
    "action-group",
    "media-frame",
    "section-frame",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Error Page",
  "type": "registry:block"
}
