feat: implement email verification page
- Create /email/verify/[id] route with page and component - Add share-id validation and 404 on invalid links - Add bilingual translations (English/Croatian) - Implement verification UI with success/error states - Call verifyTenantEmail server action on button click 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -415,6 +415,37 @@
|
||||
"content": "If you have any questions about these Terms, please contact us at <emailLink>support@rezije.app</emailLink>."
|
||||
}
|
||||
},
|
||||
"email-verify-page": {
|
||||
"title": "Verify Your Email Address",
|
||||
"about": {
|
||||
"title": "About Evidencija Režija",
|
||||
"description": "Evidencija Režija is a utility bills tracking application that helps landlords manage their properties and notify tenants about rent and utility bills."
|
||||
},
|
||||
"why": {
|
||||
"title": "Why did you receive this email?",
|
||||
"description": "Your landlord has configured the application to send rent due and/or utility bills notifications to your email address. To start receiving these notifications, you need to verify your email address."
|
||||
},
|
||||
"what-happens": {
|
||||
"title": "What happens after verification?",
|
||||
"description": "After you verify your email address, you will receive notifications when rent is due and/or when utility bills are ready, depending on your landlord's configuration. Notifications are sent up to twice per month."
|
||||
},
|
||||
"opt-out": {
|
||||
"title": "Don't want to receive emails?",
|
||||
"description": "You can ignore this email if you don't want to receive notifications. You can also unsubscribe at any time using the link included in every notification email."
|
||||
},
|
||||
"button": {
|
||||
"verify": "Verify Email Address",
|
||||
"verifying": "Verifying..."
|
||||
},
|
||||
"success": {
|
||||
"title": "Email Verified!",
|
||||
"message": "Your email address has been successfully verified. You will now receive notifications from your landlord."
|
||||
},
|
||||
"error": {
|
||||
"title": "Verification Failed",
|
||||
"unknown": "An error occurred during verification. Please try again or contact your landlord."
|
||||
}
|
||||
},
|
||||
"privacy-policy-page": {
|
||||
"title": "Privacy Policy for the Utility Bill Tracking Web App",
|
||||
"meta": {
|
||||
|
||||
Reference in New Issue
Block a user