diff options
author | Jeff Kleinaitis <jeffkleinaitis@gmail.com> | 2024-04-09 11:46:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 11:46:56 -0700 |
commit | ccf52d88eb60f518cc3e5bb3ce2b21bbb6858337 (patch) | |
tree | d7ffa68983c80cfbf573840d8398916c8bb9c1d2 /pages/login.js | |
parent | 9df0e1b528cc369ad99e2c46c6eba5e12a3f524f (diff) | |
parent | 102324996e227e1e9bf70a1641afb7b438d56276 (diff) |
Merge pull request #19 from digadoo/develop
merging old commits into main before replacing with React only project
Diffstat (limited to 'pages/login.js')
-rw-r--r-- | pages/login.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pages/login.js b/pages/login.js new file mode 100644 index 0000000..899d6b9 --- /dev/null +++ b/pages/login.js @@ -0,0 +1,29 @@ +import React from "react"; +import FlexibleForm from "../components/flexibleForm"; +import benefitTwoImg from "../public/img/benefit-two.png"; + +const Login = () => { + return ( + <> + <FlexibleForm + imgPos="right" + route="/profile" + data={{ + image: benefitTwoImg, + title: "Sign in to your account", + subtitle: "sign in pls", + formAction: process.env.API_URL, + 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; |