2023-04-27 17:07:57 +02:00
|
|
|
import { Button, ButtonVariants } from "#/ui/Button";
|
|
|
|
|
import Link from "next/link";
|
|
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
|
searchParams: { [key: string]: string | string[] | undefined };
|
|
|
|
|
};
|
|
|
|
|
export default async function Page({ searchParams }: Props) {
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex flex-col items-center space-y-4">
|
2023-05-05 10:10:54 +02:00
|
|
|
<h1>Registration successful</h1>
|
2023-05-05 10:04:30 +02:00
|
|
|
<p className="ztdl-p">You are registered.</p>
|
2023-04-27 17:07:57 +02:00
|
|
|
|
|
|
|
|
{`userId: ${searchParams["userid"]}`}
|
|
|
|
|
<Link href="/register">
|
2023-05-05 16:32:57 +02:00
|
|
|
<Button variant={ButtonVariants.Primary}>back</Button>
|
2023-04-27 17:07:57 +02:00
|
|
|
</Link>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|