feat(server): new email template (#9528)

use `yarn af server dev:mail` to preview all mail template
fix CLOUD-93
This commit is contained in:
darkskygit
2025-01-22 02:55:24 +00:00
parent 2db9cc3922
commit 83ed215f4a
54 changed files with 4794 additions and 892 deletions
@@ -0,0 +1,25 @@
import { Content, Name, P, Template, Title } from '../components';
export type ChangeEmailNotificationProps = {
to: string;
};
export default function ChangeEmailNotification(
props: ChangeEmailNotificationProps
) {
return (
<Template>
<Title>Verify your current email for AFFiNE</Title>
<Content>
<P>
As per your request, we have changed your email. Please make sure
you&apos;re using <Name>{props.to}</Name> to log in the next time.
</P>
</Content>
</Template>
);
}
ChangeEmailNotification.PreviewProps = {
to: 'test@affine.pro',
};