From a7e97e18903645753645532f89b751f1a24bb3df Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 3 Apr 2024 17:55:55 +0100 Subject: [PATCH] updated layout style --- src/components/Footer/Footer.tsx | 4 +- .../GetStarted/ApplicantsAttestation.tsx | 2 - src/components/GetStarted/BasicInfo.tsx | 2 +- src/components/GetStarted/DebitAccount.tsx | 101 +++++++++++------- src/index.css | 3 +- .../DashboardLayout/DashboardLayout.tsx | 31 ++++++ src/layouts/GetStartedLayout.tsx | 14 +-- src/layouts/LetsGetStartedLayout.tsx | 10 +- 8 files changed, 111 insertions(+), 56 deletions(-) diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index b6b14f7..9e35174 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -5,8 +5,8 @@ export default function Footer() { const date = new Date().getFullYear(); return ( -
-
+
+

{date} @ First City Monument Bank Limited

diff --git a/src/components/GetStarted/ApplicantsAttestation.tsx b/src/components/GetStarted/ApplicantsAttestation.tsx index 38c42dd..a5a2c50 100644 --- a/src/components/GetStarted/ApplicantsAttestation.tsx +++ b/src/components/GetStarted/ApplicantsAttestation.tsx @@ -1,5 +1,4 @@ import React from "react"; -import CreditAccount from "./CreditAccount"; import DebitAccount from "./DebitAccount"; const ApplicantsAttestation: React.FC = () => { @@ -21,7 +20,6 @@ const ApplicantsAttestation: React.FC = () => {

- ); diff --git a/src/components/GetStarted/BasicInfo.tsx b/src/components/GetStarted/BasicInfo.tsx index 93c335e..659045e 100644 --- a/src/components/GetStarted/BasicInfo.tsx +++ b/src/components/GetStarted/BasicInfo.tsx @@ -32,7 +32,7 @@ const BasicInfo: React.FC = ({ setInputValues, handleNextStep, }) => { - const [hideOTPComponent, setHideOTPComponent] = useState(true); + const [hideOTPComponent, setHideOTPComponent] = useState(false); const inputRef = useRef(null); const handleChange = (e: React.FormEvent) => { diff --git a/src/components/GetStarted/DebitAccount.tsx b/src/components/GetStarted/DebitAccount.tsx index 2ef5c0b..fdf554a 100644 --- a/src/components/GetStarted/DebitAccount.tsx +++ b/src/components/GetStarted/DebitAccount.tsx @@ -1,67 +1,90 @@ import React from "react"; +import {useNavigate} from 'react-router-dom' import { Button, InputCompOne } from ".."; +import { RouteHandler } from "../../router/routes"; const DebitAccount: React.FC = () => { + const navigate = useNavigate() return ( -
-
+ <> +

- DEBIT ACCOUNT ( Your salary account for monthly repayment ) + CREDIT ACCOUNT ( Your account to receive your loan )

-
+
+
+

+ DEBIT ACCOUNT ( Your salary account for monthly repayment ) +

+
- -
-
- + + +
+ +
+ + +
+
-
+ ); }; diff --git a/src/index.css b/src/index.css index 8d31b54..6be9638 100644 --- a/src/index.css +++ b/src/index.css @@ -14,6 +14,7 @@ body { @layer components { .containerMode { - @apply container mx-auto px-5 xxs:max-w-full sm:max-w-[98%] lg:max-w-[1100px]; + /* @apply container mx-auto px-5 xxs:max-w-full sm:max-w-[98%] lg:max-w-[1100px]; */ + @apply container mx-auto px-5 max-w-[1500px] } } \ No newline at end of file diff --git a/src/layouts/DashboardLayout/DashboardLayout.tsx b/src/layouts/DashboardLayout/DashboardLayout.tsx index 944e7ca..b12412f 100644 --- a/src/layouts/DashboardLayout/DashboardLayout.tsx +++ b/src/layouts/DashboardLayout/DashboardLayout.tsx @@ -43,6 +43,37 @@ export default function DashboardLayout({ children }: { children: ReactNode }) {
+ +
+
+ {/* MENU HAND BURGER */} + {/*
Welcome Austin Catherine
*/} +
+
+
+
+
+
+
{children}
diff --git a/src/layouts/GetStartedLayout.tsx b/src/layouts/GetStartedLayout.tsx index 433da80..6d606fa 100644 --- a/src/layouts/GetStartedLayout.tsx +++ b/src/layouts/GetStartedLayout.tsx @@ -7,13 +7,15 @@ interface GetStartedLayoutProps { const GetStartedLayout: React.FC = ({ children }) => { return ( -
-
-
+
+
+
+
+
{children} -
-
-
+
+
+
); diff --git a/src/layouts/LetsGetStartedLayout.tsx b/src/layouts/LetsGetStartedLayout.tsx index 3562653..38c7e93 100644 --- a/src/layouts/LetsGetStartedLayout.tsx +++ b/src/layouts/LetsGetStartedLayout.tsx @@ -4,20 +4,20 @@ import layoutImage from "../assets/images/test1-reverse.png"; const LetsGetStartedLayout = ({ children }: { children: React.ReactNode }) => { return ( - <> -
+
+
{children}
-
- +
+ {/* */}
- +
); };