mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 12:12:53 +00:00
20 lines
562 B
TypeScript
20 lines
562 B
TypeScript
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">
|
|
<h1>Registration successful</h1>
|
|
<p className="ztdl-p">You are registered.</p>
|
|
|
|
{`userId: ${searchParams["userid"]}`}
|
|
<Link href="/register">
|
|
<Button variant={ButtonVariants.Primary}>back</Button>
|
|
</Link>
|
|
</div>
|
|
);
|
|
}
|