1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import React from "react";
import FlexibleForm from "../components/flexibleForm";
import benefitTwoImg from "../public/img/benefit-two.png";
const SignUp = () => {
return (
<>
<FlexibleForm
imgPos="right"
route="/profile"
data={{
image: benefitTwoImg,
title: "Create your account",
subtitle: "maybe edit this text hmm",
formAction: process.env.API_URL,
formMethod: "POST",
formFields: [
{ label: "Full Name", name: "name", type: "text", autoComplete: "name", required: true },
{ label: "Email address", name: "email", type: "email", autoComplete: "email", required: true },
{ label: "Password", name: "password", type: "password", autoComplete: "new-password", required: true },
],
ctaText: "Create Account",
ctaLink: { text: "Already have an account?", linkText: "Log in instead!", url: "/login" },
underneathButton: {url: "", text: "" }
}}
/>
</>
);
};
export default SignUp;
|