Add translations

This commit is contained in:
anime committed 2024-08-28 11:21:16 +06:00
1 parent ab6a6ad5df
commit 498a85b9f2
6 files changed
+64 -28

No files matched your search

+4 -5
View File
@@ -1,8 +1,10 @@
import Image from "next/image";
import key from "./icons/key.svg";
import ResetCodeForm from "@/widgets/forms/ResetCodeForm";
import { useTranslations } from "next-intl";
const ResetCode = () => {
const t = useTranslations("resetCode");
return (
<div className="h-full min-h-[800px] flex justify-center w-full ">
<div className="flex flex-col items-center gap-6">
@@ -12,12 +14,9 @@ const ResetCode = () => {
<div className="mb-2 flex flex-col items-center gap-2 text-center">
<h2 className="text-[24px] font-bold leading-8 text-gray-900">
Введите новый пароль
{t("enterPassword")}
</h2>
<p className="leading-6 text-gray-500">
Пароль должен содерждать минимум 8 символов, 1 заглавная буква и
цифра
</p>
<p className="leading-6 text-gray-500">{t("passInfo")}</p>
</div>
<ResetCodeForm />