diff options
author | Jeff <jeffkleinaitis@gmail.com> | 2024-04-09 15:12:50 -0400 |
---|---|---|
committer | Jeff <jeffkleinaitis@gmail.com> | 2024-04-09 15:12:50 -0400 |
commit | 9ac6e1ddef7a1a9f277b9736fee08d97247adab2 (patch) | |
tree | b2b5ce4599514ba744744ba3f0d6f64de7c2602e /src/pages/Login.js | |
parent | 102324996e227e1e9bf70a1641afb7b438d56276 (diff) |
refactor: Remove NextJS from project
Diffstat (limited to 'src/pages/Login.js')
-rw-r--r-- | src/pages/Login.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/pages/Login.js b/src/pages/Login.js new file mode 100644 index 0000000..700de0d --- /dev/null +++ b/src/pages/Login.js @@ -0,0 +1,28 @@ +import React from "react"; +import FlexibleForm from "../components/FlexibleForm"; +import benefitTwoImg from "../assets/img/benefit-two.png"; +const Login = () => { + return ( + <> + <FlexibleForm + onSuccess={''} + data={{ + image: benefitTwoImg, + title: "Sign in to your account", + subtitle: "Sign in please", + formAction: "/login", + formMethod: "POST", + formFields: [ + { label: "Email address", name: "email", type: "email", autoComplete: "email", required: true }, + { label: "Password", name: "password", type: "password", autoComplete: "current-password", required: true }, + ], + ctaText: "Login", + ctaLink: { text: "Don't have an account?", linkText: "Create an account instead!", url: "/sign-up" }, + underneathButton: { url: "/forgot-password", text: "Forgot Password?" } + }} + /> + </> + ); +}; + +export default Login; |