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,32 @@
import { TEST_WORKSPACE } from '../common';
import {
Content,
P,
Template,
Title,
Workspace,
type WorkspaceProps,
} from '../components';
export type OwnershipTransferredProps = {
workspace: WorkspaceProps;
};
export default function OwnershipTransferred(props: OwnershipTransferredProps) {
const { workspace } = props;
return (
<Template>
<Title>Ownership transferred</Title>
<Content>
<P>
You have transferred ownership of <Workspace {...workspace} />. You
are now a collaborator in this workspace.
</P>
</Content>
</Template>
);
}
OwnershipTransferred.PreviewProps = {
workspace: TEST_WORKSPACE,
};