diff options
author | Jeff <jeffkleinaitis@gmail.com> | 2024-04-04 21:30:12 -0400 |
---|---|---|
committer | Jeff <jeffkleinaitis@gmail.com> | 2024-04-04 21:30:12 -0400 |
commit | 82347a8ce661ab79bd58c5d0d579f8bcaf385e60 (patch) | |
tree | 8e415976de5c11c637c51ad4065f368878dc49d6 | |
parent | 327859a42b18d26ecfd2d6973fdc6751a2d25e16 (diff) |
feat: Add separate page for users to sign up
-rw-r--r-- | pages/sign-up.js | 30 |
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; |