// Login page. Route: /login. Uses the centered `auth` layout. // The form declares data-schema="login" — the framework injects the schema // descriptor + the generic validator, which validates on submit/blur and writes // messages into the [data-error] spans. The same schema guards POST /api/login. page Login { layout = "auth" seo { title = "Sign in" } view {

Sign in

Back home

} style { form, .auth-stack, .auth-field { display: grid; gap: 0.5rem; } form, .auth-stack { gap: 1.25rem; } .auth-field input { min-height: 2.75rem; padding: 0.7rem 0.8rem; border: 1px solid var(--wire-color-border); border-radius: var(--wire-radius-md); background: var(--wire-color-surface); color: inherit; } } }