basic UI
This commit is contained in:
1 parent
48fb422e0f
commit
4db4947220
3 files changed
+33
-5
No files matched your search
@@ -1,12 +1,37 @@
|
|||||||
import { BaseAuthPage } from "@/Components/v2/design-elements";
|
import { BaseAuthPage, TextLink } from "@/Components/v2/design-elements";
|
||||||
|
import { Button, TextField } from "@/Components/v2/inputs";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const SetNewPasswordPage = () => {
|
const SetNewPasswordPage = () => {
|
||||||
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<BaseAuthPage
|
<BaseAuthPage
|
||||||
title="setNewPassword"
|
title={t("pages.auth.setNewPassword.title")}
|
||||||
subtitle="new password"
|
subtitle={t("pages.auth.setNewPassword.subtitle")}
|
||||||
>
|
>
|
||||||
Test
|
<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"
|
||||||
|
/>
|
||||||
</BaseAuthPage>
|
</BaseAuthPage>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
File renamed without changes.
@@ -665,6 +665,10 @@
|
|||||||
"linkText": "login"
|
"linkText": "login"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"setNewPassword": {
|
||||||
|
"title": "Reset your password",
|
||||||
|
"subtitle": "Your new password must be different from previously used passwords."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"checks": {
|
"checks": {
|
||||||
@@ -1064,7 +1068,6 @@
|
|||||||
"duration": {
|
"duration": {
|
||||||
"label": "Duration"
|
"label": "Duration"
|
||||||
},
|
},
|
||||||
|
|
||||||
"startTime": {
|
"startTime": {
|
||||||
"label": "Start time"
|
"label": "Start time"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user