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