Filled in empty test page for login, logout and register
This commit is contained in:
parent
3c607c89f8
commit
e0359ea35d
@ -1,24 +1,9 @@
|
|||||||
"use client"
|
const Login = () => {
|
||||||
|
return (
|
||||||
import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form";
|
<nav>
|
||||||
import { Input } from "@/components/ui/input";
|
Test
|
||||||
import { useForm } from "react-hook-form";
|
</nav>
|
||||||
|
|
||||||
export default function Login() {
|
|
||||||
const form = useForm()
|
|
||||||
return(
|
|
||||||
<FormField
|
|
||||||
control={form.control}
|
|
||||||
name="username"
|
|
||||||
render={({ field }) => (
|
|
||||||
<FormItem>
|
|
||||||
<FormLabel>Username</FormLabel>
|
|
||||||
<FormControl>
|
|
||||||
<Input placeholder="shadcn" {...field} />
|
|
||||||
</FormControl>
|
|
||||||
<FormDescription>This is your public display name.</FormDescription>
|
|
||||||
<FormMessage />
|
|
||||||
</FormItem>
|
|
||||||
)}/>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default Login;
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
const Logout = () => {
|
||||||
|
return (
|
||||||
|
<nav>
|
||||||
|
Test
|
||||||
|
</nav>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Logout;
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
const Register = () => {
|
||||||
|
return (
|
||||||
|
<nav>
|
||||||
|
Test
|
||||||
|
</nav>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Register;
|
||||||
Loading…
x
Reference in New Issue
Block a user