diff options
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; |