diff options
author | Jeff <jeffkleinaitis@gmail.com> | 2024-04-09 15:02:44 -0400 |
---|---|---|
committer | Jeff <jeffkleinaitis@gmail.com> | 2024-04-09 15:02:44 -0400 |
commit | 7c2574f1985cddba1e6fa6fcc6f8e1c019aaf7ed (patch) | |
tree | 34b1f3e90dd6a7d83cb7c3c9b71b34a138194548 /src/pages | |
parent | 1425783fe7f22efcdcc320de6d3ba49a83a44f3c (diff) |
refactor: Removed NextJS from project
Diffstat (limited to 'src/pages')
-rw-r--r-- | src/pages/404.js | 3 | ||||
-rw-r--r-- | src/pages/About.js | 3 | ||||
-rw-r--r-- | src/pages/Careers.js | 3 | ||||
-rw-r--r-- | src/pages/Contact.js | 3 | ||||
-rw-r--r-- | src/pages/ForgotPassword.js | 25 | ||||
-rw-r--r-- | src/pages/HelpCenter.js | 3 | ||||
-rw-r--r-- | src/pages/Login.js | 28 | ||||
-rw-r--r-- | src/pages/PrivacyPolicy.js | 3 | ||||
-rw-r--r-- | src/pages/SignUp.js | 30 | ||||
-rw-r--r-- | src/pages/TermsOfService.js | 3 |
10 files changed, 104 insertions, 0 deletions
diff --git a/src/pages/404.js b/src/pages/404.js new file mode 100644 index 0000000..9026548 --- /dev/null +++ b/src/pages/404.js @@ -0,0 +1,3 @@ +export default function FoHunnid() { + return <h1>this page should be a fallback - something went wrong rip</h1> +}
\ No newline at end of file diff --git a/src/pages/About.js b/src/pages/About.js new file mode 100644 index 0000000..ac11556 --- /dev/null +++ b/src/pages/About.js @@ -0,0 +1,3 @@ +export default function About() { + return <h1>hands that help</h1> +}
\ No newline at end of file diff --git a/src/pages/Careers.js b/src/pages/Careers.js new file mode 100644 index 0000000..2b88706 --- /dev/null +++ b/src/pages/Careers.js @@ -0,0 +1,3 @@ +export default function Careers() { + return <h1>we cant even get jobs, how we gonna employee you??</h1> +}
\ No newline at end of file diff --git a/src/pages/Contact.js b/src/pages/Contact.js new file mode 100644 index 0000000..e174b9a --- /dev/null +++ b/src/pages/Contact.js @@ -0,0 +1,3 @@ +export default function ContactUs() { + return <h1>dont contact us pls</h1> +}
\ No newline at end of file diff --git a/src/pages/ForgotPassword.js b/src/pages/ForgotPassword.js new file mode 100644 index 0000000..90b0666 --- /dev/null +++ b/src/pages/ForgotPassword.js @@ -0,0 +1,25 @@ +import React from "react"; +import FlexibleForm from "../components/FlexibleForm"; +import benefitTwoImg from "../assets/img/benefit-two.png"; + +const ForgotPassword = () => { + return ( + <> + <FlexibleForm + 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; diff --git a/src/pages/HelpCenter.js b/src/pages/HelpCenter.js new file mode 100644 index 0000000..22206fd --- /dev/null +++ b/src/pages/HelpCenter.js @@ -0,0 +1,3 @@ +export default function HelpCenter() { + return <h1>halp</h1> +}
\ No newline at end of file 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; diff --git a/src/pages/PrivacyPolicy.js b/src/pages/PrivacyPolicy.js new file mode 100644 index 0000000..27333d1 --- /dev/null +++ b/src/pages/PrivacyPolicy.js @@ -0,0 +1,3 @@ +export default function PrivacyPolicy() { + return <h1>so private</h1> +}
\ No newline at end of file diff --git a/src/pages/SignUp.js b/src/pages/SignUp.js new file mode 100644 index 0000000..038b75c --- /dev/null +++ b/src/pages/SignUp.js @@ -0,0 +1,30 @@ +import React from "react"; +import FlexibleForm from "../components/FlexibleForm"; +import benefitTwoImg from "../assets/img/benefit-two.png"; + +const SignUp = () => { + + return ( + <> + <FlexibleForm + onSuccess={''} + data={{ + image: benefitTwoImg, + title: "Create your account", + subtitle: "maybe edit this text hmm", + formAction: "/register", + 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; diff --git a/src/pages/TermsOfService.js b/src/pages/TermsOfService.js new file mode 100644 index 0000000..71df372 --- /dev/null +++ b/src/pages/TermsOfService.js @@ -0,0 +1,3 @@ +export default function TermsOfService() { + return <h1>be good volunteer pls</h1> +}
\ No newline at end of file |