File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
apps/dashboard/src/app/onboarding Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 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+ 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+ }
You can’t perform that action at this time.
0 commit comments