17 lines
689 B
TypeScript
17 lines
689 B
TypeScript
import { Link } from "react-router";
|
|
import { t as i18nT } from "i18next";
|
|
|
|
export default function TotpAuthStubRoute() {
|
|
return (
|
|
<main className="mx-auto flex min-h-screen max-w-md flex-col justify-center px-6 py-12">
|
|
<div className="rounded-lg border border-gray-200 bg-white p-6 shadow-sm">
|
|
<h1 className="text-xl font-semibold text-gray-900">{i18nT("auth:totp.title")}</h1>
|
|
<p className="mt-2 text-sm text-gray-600">{i18nT("auth:totp.description")}</p>
|
|
<Link to="/login" className="mt-4 inline-block text-sm font-medium text-gray-900 hover:underline">
|
|
{i18nT("account.forgot.backToLogin")}
|
|
</Link>
|
|
</div>
|
|
</main>
|
|
);
|
|
}
|