import {
Body,
Button,
Container,
Head,
Heading,
Html,
Link,
Preview,
Section,
Text,
} from '@react-email/components';
import * as React from 'react';
interface VerificationEmailProps {
verificationUrl: string;
userEmail?: string;
}
export const VerificationEmail = ({
verificationUrl,
userEmail,
}: VerificationEmailProps) => {
return (
Welcome to Toolso.AI!
Thanks for signing up! Please verify your email address to get started.
Or copy and paste this URL into your browser:
{verificationUrl}
If you didn't sign up for Toolso.AI, you can safely ignore this email.
);
};
export default VerificationEmail;
const main = {
backgroundColor: '#ffffff',
fontFamily:
'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif',
};
const container = {
margin: '0 auto',
padding: '20px 0 48px',
width: '560px',
};
const h1 = {
color: '#333',
fontSize: '24px',
fontWeight: '600',
lineHeight: '40px',
margin: '0 0 20px',
};
const text = {
color: '#333',
fontSize: '14px',
lineHeight: '24px',
margin: '0 0 10px',
};
const button = {
backgroundColor: '#000',
borderRadius: '6px',
color: '#fff',
fontSize: '14px',
fontWeight: '600',
textDecoration: 'none',
textAlign: 'center' as const,
display: 'block',
padding: '12px 20px',
};
const buttonContainer = {
margin: '27px 0',
};
const link = {
color: '#2754C5',
fontSize: '14px',
textDecoration: 'underline',
wordBreak: 'break-all' as const,
};
const footer = {
color: '#898989',
fontSize: '12px',
lineHeight: '20px',
margin: '30px 0 0',
};