From e1bd0293f1571329596df95b52a8deb78339a1b0 Mon Sep 17 00:00:00 2001 From: Ebube Date: Fri, 22 Mar 2024 17:19:58 +0100 Subject: [PATCH 1/3] Added You are almost there comp --- src/App.css | 4 +- src/components/GetStarted/BasicInfo.tsx | 4 +- .../GetStarted/EmploymentDetails.tsx | 99 ++++++++++++++ src/components/GetStarted/GetStarted.tsx | 3 +- .../{InputSection.tsx => IntroDetails.tsx} | 0 .../GetStarted/ReferenceDetails.tsx | 126 ++++++++++++++++++ .../GetStarted/YourAreAlmostThere.tsx | 26 ++++ 7 files changed, 257 insertions(+), 5 deletions(-) create mode 100644 src/components/GetStarted/EmploymentDetails.tsx rename src/components/GetStarted/{InputSection.tsx => IntroDetails.tsx} (100%) create mode 100644 src/components/GetStarted/ReferenceDetails.tsx create mode 100644 src/components/GetStarted/YourAreAlmostThere.tsx diff --git a/src/App.css b/src/App.css index 90517c2..0fc9006 100644 --- a/src/App.css +++ b/src/App.css @@ -1,5 +1,5 @@ .btn-primary { - background: #5A2C82; + background: #5A2C82 !important; color: #FFFFFF; display: block; text-decoration: none; @@ -8,7 +8,7 @@ } .btn-active { - background: #D10056; + background: #D10056 !important; } .btn-R { diff --git a/src/components/GetStarted/BasicInfo.tsx b/src/components/GetStarted/BasicInfo.tsx index 5151404..93c335e 100644 --- a/src/components/GetStarted/BasicInfo.tsx +++ b/src/components/GetStarted/BasicInfo.tsx @@ -1,5 +1,5 @@ import React, { useRef, useState } from "react"; -import InputSection from "./InputSection"; +import InputDetails from "./IntroDetails"; import OTPSection from "./OtpSection"; import SpouseDetails from "./SpouseDetails"; import { Button } from ".."; @@ -65,7 +65,7 @@ const BasicInfo: React.FC = ({ Let’s Get You Started
- { + return ( + <> +
+

+ EMPLOYMENT DETAILS +

+
+ +
+ +
+ + +
+
+ + +
+
+ + +
+ +
+ + ); +}; + +export default EmploymentDetails; diff --git a/src/components/GetStarted/GetStarted.tsx b/src/components/GetStarted/GetStarted.tsx index 3aaf3b7..f6a8472 100644 --- a/src/components/GetStarted/GetStarted.tsx +++ b/src/components/GetStarted/GetStarted.tsx @@ -1,5 +1,6 @@ import React from "react"; import BasicInfo from "./BasicInfo"; +import YourAreAlmostThere from "./YourAreAlmostThere"; const GetStarted = () => { const [step, setStep] = React.useState(1); @@ -38,7 +39,7 @@ const GetStarted = () => { handleNextStep={handleNextStep} /> )} - {step === 2 && "lol"} + {step === 2 && } diff --git a/src/components/GetStarted/InputSection.tsx b/src/components/GetStarted/IntroDetails.tsx similarity index 100% rename from src/components/GetStarted/InputSection.tsx rename to src/components/GetStarted/IntroDetails.tsx diff --git a/src/components/GetStarted/ReferenceDetails.tsx b/src/components/GetStarted/ReferenceDetails.tsx new file mode 100644 index 0000000..9987185 --- /dev/null +++ b/src/components/GetStarted/ReferenceDetails.tsx @@ -0,0 +1,126 @@ +import React from "react"; +import { InputCompOne } from ".."; + +const ReferenceDetails: React.FC = () => { + return ( + <> +
+

+ REFERENCE DETAILS ( Must be 18 years and above ) +

+
+
+
+
+
+ + +
+
+ + +
+ +
+
+
+ + +
+
+ + +
+ +
+
+
+ + ); +}; + +export default ReferenceDetails; diff --git a/src/components/GetStarted/YourAreAlmostThere.tsx b/src/components/GetStarted/YourAreAlmostThere.tsx new file mode 100644 index 0000000..08a93b9 --- /dev/null +++ b/src/components/GetStarted/YourAreAlmostThere.tsx @@ -0,0 +1,26 @@ +import React from "react"; +import EmploymentDetails from "./EmploymentDetails"; +import ReferenceDetails from "./ReferenceDetails"; +import { Button } from ".."; + +const YourAreAlmostThere: React.FC = () => { + return ( + <> +

+ You’re almost there +

+ + + +