aboutsummaryrefslogtreecommitdiffstats
path: root/pages/sign-up.js
diff options
context:
space:
mode:
Diffstat (limited to 'pages/sign-up.js')
-rw-r--r--pages/sign-up.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/pages/sign-up.js b/pages/sign-up.js
new file mode 100644
index 0000000..fbf7baa
--- /dev/null
+++ b/pages/sign-up.js
@@ -0,0 +1,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;