{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "auth-login-page", "dependencies": [ "@inertiajs/react" ], "registryDependencies": [ "@craft/auth-layout", "@craft/form-errors", "@craft/input-error", "@craft/password-input", "@craft/text-link", "@craft/passkey-verify", "button", "checkbox", "input", "label", "spinner" ], "files": [ { "path": "registry/new-york-v4/pages/auth/login.tsx", "content": "import { Form, Head } from \"@inertiajs/react\";\nimport InputError from \"@/components/input-error\";\nimport PasswordInput from \"@/components/password-input\";\nimport TextLink from \"@/components/text-link\";\nimport { Button } from \"@/components/ui/button\";\nimport { toastFirstFormError } from \"@/lib/form-errors\";\nimport { Checkbox } from \"@/components/ui/checkbox\";\nimport { Input } from \"@/components/ui/input\";\nimport { Label } from \"@/components/ui/label\";\nimport { Spinner } from \"@/components/ui/spinner\";\n/* @chisel-registration */\nimport { register } from \"@/routes\";\n/* @end-chisel-registration */\nimport { store } from \"@/routes/login\";\nimport { request } from \"@/routes/password\";\n/* @chisel-passkeys */\nimport PasskeyVerify from \"@/components/passkey-verify\";\n/* @end-chisel-passkeys */\n\ntype Props = {\n status?: string;\n canResetPassword: boolean;\n};\n\nexport default function Login({ status, canResetPassword }: Props) {\n return (\n <>\n \n\n {/* @chisel-passkeys */}\n \n {/* @end-chisel-passkeys */}\n\n \n {({ processing, errors }) => (\n <>\n
\n
\n \n \n \n
\n\n
\n
\n \n {canResetPassword && (\n \n Forgot your password?\n \n )}\n
\n \n \n
\n\n
\n \n \n
\n\n \n {processing && }\n Log in\n \n
\n\n {/* @chisel-registration */}\n
\n Don't have an account?{\" \"}\n \n Sign up\n \n
\n {/* @end-chisel-registration */}\n \n )}\n \n\n {status && (\n
{status}
\n )}\n \n );\n}\n\nLogin.layout = {\n title: \"Log in to your account\",\n description: \"Enter your email and password below to log in\",\n};\n", "type": "registry:file", "target": "resources/js/pages/auth/login.tsx" } ], "type": "registry:block" }