aboutsummaryrefslogtreecommitdiffstats
path: root/pages/forgot-password.js
diff options
context:
space:
mode:
Diffstat (limited to 'pages/forgot-password.js')
-rw-r--r--pages/forgot-password.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/pages/forgot-password.js b/pages/forgot-password.js
new file mode 100644
index 0000000..c110aad
--- /dev/null
+++ b/pages/forgot-password.js
@@ -0,0 +1,26 @@
+import React from "react";
+import FlexibleForm from "../components/flexibleForm";
+import benefitTwoImg from "../public/img/benefit-two.png";
+
+const ForgotPassword = () => {
+ return (
+ <>
+ <FlexibleForm
+ imgPos="right"
+ route="/login"
+ data={{
+ image: benefitTwoImg,
+ title: "Reset your password",
+ subtitle: "Enter the email associated with your account.",
+ formAction: process.env.API_URL,
+ formMethod: "POST",
+ formFields: [
+ { label: "Email address", name: "email", type: "email", autoComplete: "email", required: true },
+ ],
+ underneathButton: {url: "/login", text: "Back" }
+ }}
+ />
+ </>
+ );
+};
+export default ForgotPassword;