mirror of
https://github.com/docmost/docmost.git
synced 2026-06-22 10:51:49 +10:00
69d7532c6c
feat: clickhouse driver * sync * updates
32 lines
946 B
TypeScript
32 lines
946 B
TypeScript
import { Button, Link, Section, Text } from '@react-email/components';
|
|
import * as React from 'react';
|
|
import { button, content, paragraph } from '../css/styles';
|
|
import { MailBody } from '../partials/partials';
|
|
|
|
interface Props {
|
|
username: string;
|
|
resetLink: string;
|
|
}
|
|
|
|
export const ForgotPasswordEmail = ({ username, resetLink }: Props) => {
|
|
return (
|
|
<MailBody>
|
|
<Section style={content}>
|
|
<Text style={paragraph}>Hi {username},</Text>
|
|
<Text style={paragraph}>
|
|
We received a request from you to reset your password.
|
|
</Text>
|
|
<Link href={resetLink}> Click here to set a new password</Link>
|
|
<Text style={paragraph}>
|
|
This link is valid for 30 minutes.
|
|
</Text>
|
|
<Text style={paragraph}>
|
|
If you did not request a password reset, please ignore this email.
|
|
</Text>
|
|
</Section>
|
|
</MailBody>
|
|
);
|
|
};
|
|
|
|
export default ForgotPasswordEmail;
|