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:
13
web-app/app/[locale]/email/verify/[id]/page.tsx
Normal file
13
web-app/app/[locale]/email/verify/[id]/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Suspense } from 'react';
|
||||
import EmailVerifyPage from './EmailVerifyPage';
|
||||
import { Main } from '@/app/ui/Main';
|
||||
|
||||
export default async function Page({ params: { id } }: { params: { id: string } }) {
|
||||
return (
|
||||
<Main>
|
||||
<Suspense fallback={<div className="text-center p-8">Loading...</div>}>
|
||||
<EmailVerifyPage shareId={id} />
|
||||
</Suspense>
|
||||
</Main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user