| 1 | import { Text } from '@react-email/components' |
| 2 | import { env } |
| 3 | import { ActionButton, EmailLayout |
| 4 | |
| 5 | const baseUrl = env |
| 6 | |
| 7 | interface VerifyEmailProps { |
| 8 | name?: string |
| 9 | verifyUrl: string |
| 10 | } |
| 11 | |
| 12 | export default function VerifyEmail |
| 13 | name = 'there' |
| 14 | verifyUrl = `${baseUrl |
| 15 | }: VerifyEmailProps) |
| 16 | return ( |
| 17 | <EmailLayout |
| 18 | heading='Verify your email' |
| 19 | preview='Confirm your email address to finish creating your Saturn account' |
| 20 | > |
| 21 | <Text style={ |
| 22 | Hi <span style={text |
| 23 | Saturn. Please confirm your email address to activate your account. |
| 24 | </Text> |
| 25 | <ActionButton href={ |
| 26 | <Text style={ |
| 27 | This link expires in 1 hour. If you didn't create a Saturn account, you |
| 28 | can safely ignore this email. |
| 29 | </Text> |
| 30 | </EmailLayout> |
| 31 | ) |
| 32 | } |