{
  "$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 = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? null) -%}\n{%- set v_submit = (p.submit ?? null) -%}\n{%- set v_switchTo = (p.switchTo ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set v_visual = (p.visual ?? null) -%}\n{%- set v_level = (p.level ?? 1) -%}\n{%- set v_layout = (p.layout ?? 'split') -%}\n{%- set v_side = (p.side ?? 'end') -%}\n{%- set v_mode = (p.mode ?? 'signin') -%}\n{%- set v_social = (p.social ?? 'none') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\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          {{ include('blocks/auth-card.html.twig', {'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}}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Box.html.twig', {'class': 'mx-auto flex w-full max-w-sm items-center', 'children': c_1}, with_context = false) }}\n        {%- set c_4 -%}\n          {{ include('blocks/media-frame.html.twig', {'p': {'alt': og_get(v_visual, ['title']), 'ratio': '4/3'}}, with_context = false) }}\n          {%- set c_2 -%}\n            {{ og_text(og_get(v_visual, ['title'])) }}\n          {%- endset -%}\n          {{ include('compose/Title.html.twig', {'as': 2, 'size': '2xl', 'weight': 'bold', 'children': c_2}, with_context = false) }}\n          {%- set c_3 -%}\n            {{ og_text(og_get(v_visual, ['text'])) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'class': og_s(og_cnv(['justify-end rounded bg-muted p-8', (og_t(og_eq(v_side, 'start')) ? 'md:order-first' : 'md:order-last')])), 'attrs': og_attrs(['data-slot', 'visual']), 'children': c_4}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Grid.html.twig', {'cols': '1-2', 'class': 'items-stretch gap-8', 'children': c_5}, with_context = false) }}\n    {%- elseif og_t(og_eq(v_layout, 'centered')) %}\n      {%- set c_6 -%}\n        {{ include('blocks/auth-card.html.twig', {'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}}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': 'mx-auto w-full max-w-md rounded bg-muted p-6', 'children': c_6}, with_context = false) }}\n    {%- else %}\n      {%- set c_7 -%}\n        {{ include('blocks/auth-card.html.twig', {'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}}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': 'mx-auto w-full max-w-sm', 'children': c_7}, with_context = false) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ include('compose/Container.html.twig', {'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}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'tag': 'div', 'class': 'w-full', 'attrs': og_attrs(['data-layout', v_layout, 'data-slot', 'auth-layout']), 'children': c_9}, with_context = false) }}\n",
      "path": "blocks/auth-layout.html.twig",
      "target": "blocks/auth-layout.html.twig"
    }
  ],
  "meta": {
    "category": "account",
    "group": "auth",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "auth-layout",
  "registryDependencies": [
    "auth-card",
    "block",
    "box",
    "container",
    "grid",
    "media-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Auth Layout",
  "type": "registry:block"
}
