refactor: some name and styling changes
This commit is contained in:
22
components/emails/confirmation.tsx
Normal file
22
components/emails/confirmation.tsx
Normal 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>
|
||||
.
|
||||
</>
|
||||
}
|
||||
/>
|
||||
)
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user