import { Heading, Section, Text, } from '@react-email/components'; import { EmailLayout } from './components/EmailLayout'; import { Card } from './components/Card'; import { theme } from './theme'; interface AccountBannedEmailProps { userName?: string; reason?: string; appealLink?: string; } export const AccountBannedEmail = ({ userName = 'Kirubel', reason = 'Violation of our Terms of Service', appealLink = 'https://amba.app/appeal', }: AccountBannedEmailProps) => { return (
Account Suspended ⛔ Hi {userName}, We're writing to inform you that your AmbaPay account has been suspended due to a violation of our Terms of Service.
Reason for Suspension: {reason}
During this suspension, you will not be able to:
• Access your account • Make transactions • Receive payments • Use any AmbaPay services
If you believe this suspension is a mistake, you have the right to appeal this decision. Please submit an appeal with any relevant information or documentation.
Submit an Appeal
Our team will review your appeal within 5-7 business days. You will receive an email notification once a decision has been made. If you have any questions, please contact our support team. Best regards,
The AmbaPay Team
); }; const heading = { color: theme.colors.primary, fontSize: '28px', fontWeight: '700', margin: '0 0 24px', }; const text = { color: theme.colors.textDark, fontSize: '16px', lineHeight: '24px', margin: '0 0 16px', }; const reasonSection = { padding: '0', }; const reasonTitle = { color: theme.colors.primary, fontSize: '18px', fontWeight: '600', margin: '0 0 8px', }; const reasonText = { color: theme.colors.textDark, fontSize: '16px', lineHeight: '24px', margin: '0', }; const restrictionsList = { margin: '16px 0', paddingLeft: '20px', }; const restrictionItem = { color: theme.colors.textDark, fontSize: '16px', lineHeight: '24px', margin: '0 0 8px', }; const buttonSection = { textAlign: 'center' as const, margin: '32px 0', }; const appealLink = { textAlign: 'center' as const, margin: '0', }; const linkStyle = { color: theme.colors.primary, textDecoration: 'underline', fontSize: '16px', fontWeight: '600', }; AccountBannedEmail.PreviewProps = { userName: 'Kirubel', reason: 'Violation of our Terms of Service', appealLink: 'https://amba.app/appeal', } as AccountBannedEmailProps; export default AccountBannedEmail;