2023-12-02 09:38:24 +11:00
|
|
|
import { Button, Section, Text } from '../components';
|
2023-09-27 15:34:16 +10:00
|
|
|
import { TemplateDocumentImage } from './template-document-image';
|
2023-09-26 15:39:34 +10:00
|
|
|
|
2023-09-18 11:36:28 +00:00
|
|
|
export type TemplateForgotPasswordProps = {
|
|
|
|
|
resetPasswordLink: string;
|
|
|
|
|
assetBaseUrl: string;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const TemplateForgotPassword = ({
|
|
|
|
|
resetPasswordLink,
|
|
|
|
|
assetBaseUrl,
|
|
|
|
|
}: TemplateForgotPasswordProps) => {
|
|
|
|
|
return (
|
2023-12-02 09:38:24 +11:00
|
|
|
<>
|
2023-09-26 15:39:34 +10:00
|
|
|
<TemplateDocumentImage className="mt-6" assetBaseUrl={assetBaseUrl} />
|
2023-09-18 11:36:28 +00:00
|
|
|
|
2023-09-26 15:39:34 +10:00
|
|
|
<Section className="flex-row items-center justify-center">
|
2023-09-18 11:36:28 +00:00
|
|
|
<Text className="text-primary mx-auto mb-0 max-w-[80%] text-center text-lg font-semibold">
|
|
|
|
|
Forgot your password?
|
|
|
|
|
</Text>
|
|
|
|
|
|
|
|
|
|
<Text className="my-1 text-center text-base text-slate-400">
|
|
|
|
|
That's okay, it happens! Click the button below to reset your password.
|
|
|
|
|
</Text>
|
|
|
|
|
|
|
|
|
|
<Section className="mb-6 mt-8 text-center">
|
|
|
|
|
<Button
|
|
|
|
|
className="bg-documenso-500 inline-flex items-center justify-center rounded-lg px-6 py-3 text-center text-sm font-medium text-black no-underline"
|
|
|
|
|
href={resetPasswordLink}
|
|
|
|
|
>
|
|
|
|
|
Reset Password
|
|
|
|
|
</Button>
|
|
|
|
|
</Section>
|
|
|
|
|
</Section>
|
2023-12-02 09:38:24 +11:00
|
|
|
</>
|
2023-09-18 11:36:28 +00:00
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default TemplateForgotPassword;
|