page.tsx37 lines, 1.1 KB
| 1 | import { RegisterForm } from "@/components/auth/register-form"; |
| 2 | import { |
| 3 | Card, |
| 4 | CardContent, |
| 5 | CardDescription, |
| 6 | CardHeader, |
| 7 | CardTitle, |
| 8 | } from "@/components/ui/card"; |
| 9 | |
| 10 | export default function RegisterPage() { |
| 11 | return ( |
| 12 | <div className="container flex h-screen w-screen flex-col items-center justify-center"> |
| 13 | <div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]"> |
| 14 | <div className="flex flex-col space-y-2 text-center"> |
| 15 | <h1 className="text-2xl font-semibold tracking-tight"> |
| 16 | Create an account |
| 17 | </h1> |
| 18 | <p className="text-sm text-muted-foreground"> |
| 19 | Enter your details to create an account. |
| 20 | </p> |
| 21 | </div> |
| 22 | |
| 23 | <Card> |
| 24 | <CardHeader className="space-y-1"> |
| 25 | <CardTitle>Sign up</CardTitle> |
| 26 | <CardDescription> |
| 27 | Fill your details below to create an account. |
| 28 | </CardDescription> |
| 29 | </CardHeader> |
| 30 | <CardContent> |
| 31 | <RegisterForm /> |
| 32 | </CardContent> |
| 33 | </Card> |
| 34 | </div> |
| 35 | </div> |
| 36 | ); |
| 37 | } |