Dear {userName || 'User'},
36 |Thank you for registering with VoiceCanvas. Please click the button below to verify your email address:
37 | 38 |Or, you can copy and paste the following link into your browser:
56 |60 | {verificationUrl} 61 |
62 | 63 |This link will expire in 24 hours.
64 |If you did not request this verification, please ignore this email.
74 |© {new Date().getFullYear()} VoiceCanvas. All rights reserved.
75 |Dear {userName || 'User'},
36 |We received a request to reset your password. Click the button below to create a new password:
37 | 38 |Or, you can copy and paste the following link into your browser:
56 |60 | {resetUrl} 61 |
62 | 63 |This link will expire in 1 hour for security reasons.
64 |If you did not request a password reset, please ignore this email or contact support if you have concerns.
65 |© {new Date().getFullYear()} VoiceCanvas. All rights reserved.
75 |33 | {t('noAvailableVoice')} 34 |
35 |{voice.name}
62 |{voice.name}
91 |164 | {body} 165 |
166 | ); 167 | }); 168 | FormMessage.displayName = 'FormMessage'; 169 | 170 | export { 171 | useFormField, 172 | Form, 173 | FormItem, 174 | FormLabel, 175 | FormControl, 176 | FormDescription, 177 | FormMessage, 178 | FormField, 179 | }; 180 | -------------------------------------------------------------------------------- /components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- 1 | 'use client'; 2 | 3 | import * as React from 'react'; 4 | import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; 5 | 6 | import { cn } from '@/lib/utils'; 7 | import { buttonVariants } from '@/components/ui/button'; 8 | 9 | const AlertDialog = AlertDialogPrimitive.Root; 10 | 11 | const AlertDialogTrigger = AlertDialogPrimitive.Trigger; 12 | 13 | const AlertDialogPortal = AlertDialogPrimitive.Portal; 14 | 15 | const AlertDialogOverlay = React.forwardRef< 16 | React.ElementRef{t('checkEmailForInstructions') || 'Check your email for instructions to reset your password.'}
113 |{t('emailMightTakeTime') || 'The email might take a few minutes to arrive. Don\'t forget to check your spam folder.'}
114 |