27 lines
813 B
TypeScript
27 lines
813 B
TypeScript
import Form from "#/components/form/form"
|
|
|
|
export default function LoginPage() {
|
|
return(
|
|
<div>
|
|
<Form
|
|
className="bg-white p-2 w-[28rem]"
|
|
fields={[
|
|
{
|
|
label: "Email",
|
|
name: "email",
|
|
type: "email",
|
|
placeholder: "Entrer votre email"
|
|
},
|
|
{
|
|
label: "Password",
|
|
name: "password",
|
|
type: "password",
|
|
placeholder: "Enter votre mot de passe"
|
|
}
|
|
]}
|
|
submit={undefined}
|
|
child={<button type="submit">Login</button>}
|
|
/>
|
|
</div>
|
|
)
|
|
} |