refactor: update company registration flow and email handling; switch to zod for validation
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
import { MedReportTitle } from "@/components/med-report-title";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import Image from 'next/image';
|
||||
import Link from 'next/link';
|
||||
|
||||
import { MedReportTitle } from '@/components/med-report-title';
|
||||
import { Button } from '@/packages/ui/src/shadcn/button';
|
||||
|
||||
import { Trans } from '@kit/ui/trans';
|
||||
|
||||
export default function CompanyRegistrationSuccess() {
|
||||
return (
|
||||
<div className="pt-2 px-16 pb-12 border rounded-3xl border-border">
|
||||
<div className="border-border rounded-3xl border px-16 pt-4 pb-12">
|
||||
<MedReportTitle />
|
||||
<div className="flex flex-col items-center px-4">
|
||||
<Image
|
||||
@@ -14,11 +18,17 @@ export default function CompanyRegistrationSuccess() {
|
||||
width={326}
|
||||
height={195}
|
||||
/>
|
||||
<h1 className="pb-2">Päring edukalt saadetud!</h1>
|
||||
<p className=" text-muted-foreground text-sm">Saadame teile esimesel võimalusel vastuse</p>
|
||||
<h1 className="pb-2">
|
||||
<Trans i18nKey={'account:requestCompanyAccount:successTitle'} />
|
||||
</h1>
|
||||
<p className="text-muted-foreground text-sm">
|
||||
<Trans i18nKey={'account:requestCompanyAccount:successDescription'} />
|
||||
</p>
|
||||
</div>
|
||||
<Button className="w-full mt-8">
|
||||
<Link href="/">Tagasi kodulehele</Link>
|
||||
<Button className="mt-8 w-full">
|
||||
<Link href="/">
|
||||
<Trans i18nKey={'account:requestCompanyAccount:successButton'} />
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user