feat: sign in page
This commit is contained in:
parent
bb8bf01e33
commit
66b99099b3
10 changed files with 379 additions and 100 deletions
8
zodSchema/login.tsx
Normal file
8
zodSchema/login.tsx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import z from "zod"
|
||||
|
||||
export const loginSchema = z.object({
|
||||
email: z.string().email(),
|
||||
password: z.string().min(8),
|
||||
})
|
||||
|
||||
export type User = z.infer<typeof loginSchema>
|
||||
Loading…
Add table
Add a link
Reference in a new issue