Skip to content

Commit 6e5b524

Browse files
committed
First FTUX Push
1 parent 0cafa33 commit 6e5b524

File tree

1 file changed

+43
-0
lines changed
  • apps/dashboard/src/app/onboarding

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
"use client";
2+
import { FormControl, Input } from "@chakra-ui/react";
3+
import { useForm } from "react-hook-form";
4+
import { FormLabel } from "tw-components";
5+
6+
export default function OnboardingPage() {
7+
const form = useForm<{
8+
email: string;
9+
userType: string;
10+
teamName: string;
11+
role: string;
12+
industry: string;
13+
interests: string[];
14+
}>();
15+
16+
return (
17+
<div className="relative flex h-screen place-items-center bg-muted/30 md:flex-row">
18+
<main className="z-10 flex flex-col gap-6">
19+
{/* Left Panel */}
20+
<div className="w-full p-12">
21+
<div className="flex space-y-2">
22+
<h1>Tell us about you.</h1>
23+
<h3>This will help us personalize your experience.</h3>
24+
</div>
25+
<form className="my-8">
26+
<FormControl>
27+
<FormLabel>What's your email?</FormLabel>
28+
<Input
29+
id="email"
30+
type="text"
31+
placeholder="[email protected]"
32+
{...form.register("email")}
33+
/>
34+
{/* <FormErrorMessage>
35+
{form.formState.errors.amount?.message}
36+
</FormErrorMessage> */}
37+
</FormControl>
38+
</form>
39+
</div>
40+
</main>
41+
</div>
42+
);
43+
}

0 commit comments

Comments
 (0)