{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A whole sign-in page: the card beside a picture panel, on a tinted page, or alone; with any mode of the card.",
  "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/auth-layout.json\n    A whole sign-in page: the AuthCard placed in the page. Axes: layout (split: a picture panel beside the card, centered: the card on a tinted page, minimal: the card alone in a narrow column), side (end, start: the side of the picture), mode, social. The page's heading is the card's title.\n    Props (p): id, title, text, submit, switchTo, labels, visual, level, layout, side, mode, social, 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_submit = og_def(p['submit'], none) -%}\n{%- set v_switchTo = og_def(p['switchTo'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set v_visual = og_def(p['visual'], none) -%}\n{%- set v_level = og_def(p['level'], 1) -%}\n{%- set v_layout = og_def(p['layout'], 'split') -%}\n{%- set v_side = og_def(p['side'], 'end') -%}\n{%- set v_mode = og_def(p['mode'], 'signin') -%}\n{%- set v_social = og_def(p['social'], 'none') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_9 -%}\n  {%- set c_8 -%}\n    {%- if og_t(og_eq(v_layout, 'split')) %}\n      {%- set c_5 -%}\n        {%- set c_1 -%}\n          {{ og_include('blocks/auth-card.html.j2', {'p': {'id': v_id, 'title': v_title, 'text': v_text, 'submit': v_submit, 'switchText': og_get(v_switchTo, ['text']), 'switchLink': og_get(v_switchTo, ['link']), 'switchHref': og_get(v_switchTo, ['href']), 'labels': v_labels, 'mode': v_mode, 'layout': 'plain', 'social': v_social, 'level': v_level, 'landmarkLabel': v_landmarkLabel}}) }}\n        {%- endset -%}\n        {{ og_include('compose/box.html.j2', {'p': {'Class': 'mx-auto flex w-full max-w-sm items-center'}, 'children': c_1}) }}\n        {%- set c_4 -%}\n          {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': og_get(v_visual, ['title']), 'ratio': '4/3'}}) }}\n          {%- set c_2 -%}\n            {{ og_text(og_get(v_visual, ['title'])) }}\n          {%- endset -%}\n          {{ og_include('compose/title.html.j2', {'p': {'As': 2, 'Size': '2xl', 'Weight': 'bold'}, 'children': c_2}) }}\n          {%- set c_3 -%}\n            {{ og_text(og_get(v_visual, ['text'])) }}\n          {%- endset -%}\n          {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_3}) }}\n        {%- endset -%}\n        {{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Align': 'stretch', 'Class': og_s(og_cnv(['justify-end rounded bg-muted p-8', ('md:order-first' if og_t(og_eq(v_side, 'start')) else 'md:order-last')])), 'Attrs': og_attrs(['data-slot', 'visual'])}, 'children': c_4}) }}\n      {%- endset -%}\n      {{ og_include('compose/grid.html.j2', {'p': {'Cols': '1-2', 'Class': 'items-stretch gap-8'}, 'children': c_5}) }}\n    {%- elif og_t(og_eq(v_layout, 'centered')) %}\n      {%- set c_6 -%}\n        {{ og_include('blocks/auth-card.html.j2', {'p': {'id': v_id, 'title': v_title, 'text': v_text, 'submit': v_submit, 'switchText': og_get(v_switchTo, ['text']), 'switchLink': og_get(v_switchTo, ['link']), 'switchHref': og_get(v_switchTo, ['href']), 'labels': v_labels, 'mode': v_mode, 'social': v_social, 'level': v_level, 'landmarkLabel': v_landmarkLabel}}) }}\n      {%- endset -%}\n      {{ og_include('compose/box.html.j2', {'p': {'Class': 'mx-auto w-full max-w-md rounded bg-muted p-6'}, 'children': c_6}) }}\n    {%- else %}\n      {%- set c_7 -%}\n        {{ og_include('blocks/auth-card.html.j2', {'p': {'id': v_id, 'title': v_title, 'text': v_text, 'submit': v_submit, 'switchText': og_get(v_switchTo, ['text']), 'switchLink': og_get(v_switchTo, ['link']), 'switchHref': og_get(v_switchTo, ['href']), 'labels': v_labels, 'mode': v_mode, 'layout': 'plain', 'social': v_social, 'level': v_level, 'landmarkLabel': v_landmarkLabel}}) }}\n      {%- endset -%}\n      {{ og_include('compose/box.html.j2', {'p': {'Class': 'mx-auto w-full max-w-sm'}, 'children': c_7}) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ og_include('compose/container.html.j2', {'p': {'Class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', 'py-12'])), 'Attrs': og_attrs(['data-slot', 'container'])}, 'children': c_8}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'Tag': 'div', 'Class': 'w-full', 'Attrs': og_attrs(['data-layout', v_layout, 'data-slot', 'auth-layout'])}, 'children': c_9}) }}\n",
      "path": "blocks/auth-layout.html.j2",
      "target": "blocks/auth-layout.html.j2"
    }
  ],
  "meta": {
    "category": "account",
    "group": "auth",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "auth-layout",
  "registryDependencies": [
    "auth-card",
    "block",
    "box",
    "container",
    "grid",
    "media-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Auth Layout",
  "type": "registry:block"
}
