refactor: some name and styling changes

This commit is contained in:
Riccardo
2023-12-17 17:48:08 +01:00
parent 6245ee943d
commit 878e787ed0
17 changed files with 55 additions and 44 deletions

View File

@@ -0,0 +1,22 @@
import Email from './template';
export default function ConfirmationTemplate(code: string) {
return {
subject: 'Welcome!',
template: (
<Email
title={'Welcome!'}
body={
<>
Thank you for subscribing. Please confirm your email address by
clicking{' '}
<a href={`${process.env.HOME_URL}/confirmation?code=${code}`}>
here
</a>
.
</>
}
/>
)
};
}