51203c7eee
- Turnstile: quitar clases Tailwind del wrapper (my-3/flex/justify-center) → estilo inline neutral centrado, como la web Django. - login/register/recover: el boton ya NO arranca deshabilitado (gris) por falta de captcha; se ve activo como en Django. El captcha lo sigue validando el servidor (devuelve captchaFailed). Se quita el SITE_KEY cliente ya innecesario. - reset-password: pagina que habia quedado sin migrar (usaba nw-btn/ nw-input/mx-auto/text-amber) → PageShell + middle-center-table + inputs planos + recover-button + alert-message, igual que el resto del flujo. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
702 B
TypeScript
27 lines
702 B
TypeScript
import { getTranslations, setRequestLocale } from 'next-intl/server'
|
|
import { PageShell } from '@/components/PageShell'
|
|
import { ResetForm } from './ResetForm'
|
|
|
|
export default async function ResetPasswordPage({
|
|
params,
|
|
searchParams,
|
|
}: {
|
|
params: Promise<{ locale: string }>
|
|
searchParams: Promise<{ token?: string }>
|
|
}) {
|
|
const { locale } = await params
|
|
setRequestLocale(locale)
|
|
const { token } = await searchParams
|
|
const t = await getTranslations('Reset')
|
|
|
|
return (
|
|
<PageShell title={t('title')}>
|
|
<div className="box-content">
|
|
<div className="body-box-content centered">
|
|
<ResetForm token={token ?? ''} />
|
|
</div>
|
|
</div>
|
|
</PageShell>
|
|
)
|
|
}
|