Files
Checkmate/client/src/Pages/Auth/SetNewPassword/index.tsx
T

39 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-02-09 21:21:17 +00:00
import { BaseAuthPage, TextLink } from "@/Components/v2/design-elements";
import { Button, TextField } from "@/Components/v2/inputs";
import { useTranslation } from "react-i18next";
2026-02-09 21:00:27 +00:00
const SetNewPasswordPage = () => {
2026-02-09 21:21:17 +00:00
const { t } = useTranslation();
2026-02-09 21:00:27 +00:00
return (
<BaseAuthPage
2026-02-09 21:21:17 +00:00
title={t("pages.auth.setNewPassword.title")}
subtitle={t("pages.auth.setNewPassword.subtitle")}
2026-02-09 21:00:27 +00:00
>
2026-02-09 21:21:17 +00:00
<TextField
type="password"
fieldLabel={t("pages.auth.common.form.option.password.label")}
placeholder={t("pages.auth.common.form.option.password.placeholder")}
/>
<TextField
type="password"
fieldLabel={t("pages.auth.common.form.option.confirmPassword.label")}
placeholder={t("pages.auth.common.form.option.password.placeholder")}
/>
<Button
variant="contained"
type="submit"
fullWidth
>
{t("auth.forgotPassword.buttons.resetPassword")}
</Button>
<TextLink
alignSelf="center"
text={t("pages.auth.forgotPassword.links.login.text")}
linkText={t("pages.auth.forgotPassword.links.login.linkText")}
href="/login"
/>
2026-02-09 21:00:27 +00:00
</BaseAuthPage>
);
};
export default SetNewPasswordPage;