diff --git a/src/assets/images/footer_back.jpg b/src/assets/images/footer_back.jpg new file mode 100644 index 0000000..4133d9f Binary files /dev/null and b/src/assets/images/footer_back.jpg differ diff --git a/src/components/Footer/MidFooter.tsx b/src/components/Footer/MidFooter.tsx new file mode 100644 index 0000000..867d5f2 --- /dev/null +++ b/src/components/Footer/MidFooter.tsx @@ -0,0 +1,16 @@ +import React from 'react' +import styles from "./footer.module.css" + +const MidFooter = () => { + return ( +
+
+
+

My Bank and I

+
+
+
+ ) +} + +export default MidFooter diff --git a/src/components/Footer/TopFooterOne.tsx b/src/components/Footer/TopFooterOne.tsx new file mode 100644 index 0000000..ef4f601 --- /dev/null +++ b/src/components/Footer/TopFooterOne.tsx @@ -0,0 +1,19 @@ +import { FC } from "react"; +import TopFooterOneMenu from "./TopFooterOneMenu"; + +const TopFooterOne = (): FC => { + return ( + + ); +}; + +export default TopFooterOne; diff --git a/src/components/Footer/TopFooterOneMenu.tsx b/src/components/Footer/TopFooterOneMenu.tsx new file mode 100644 index 0000000..5f124c6 --- /dev/null +++ b/src/components/Footer/TopFooterOneMenu.tsx @@ -0,0 +1,30 @@ +import { FC } from "react"; +import { Link } from "react-router-dom"; +import { footerItems } from "../../utils/data"; + +interface TopFooterOneMenuProps { + category: string; + subItems: { + text: string; + href?: string; + }[]; +} + +const TopFooterOneMenu = (): FC => { + return footerItems.map( + ({ category, subItems }): TopFooterOneMenuProps => ( + + ) + ); +}; + +export default TopFooterOneMenu; diff --git a/src/components/Footer/footer.module.css b/src/components/Footer/footer.module.css new file mode 100644 index 0000000..ed7def1 --- /dev/null +++ b/src/components/Footer/footer.module.css @@ -0,0 +1,8 @@ +.lower_footer{ + background: url(../../assets/images/footer_back.jpg) no-repeat; + background-size: cover; + /* padding: 0.4rem 0; */ + display: flex; + align-items: center; + justify-content: center; +} \ No newline at end of file diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index d66565b..8bdfed9 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -1,3 +1,5 @@ import Footer from "./Footer"; +import TopFooterOne from "./TopFooterOne"; +import MidFooter from "./MidFooter"; -export { Footer }; \ No newline at end of file +export { Footer, TopFooterOne, MidFooter }; diff --git a/src/components/GetStarted/BasicInfo.tsx b/src/components/GetStarted/BasicInfo.tsx index 1ba7a55..89fa670 100644 --- a/src/components/GetStarted/BasicInfo.tsx +++ b/src/components/GetStarted/BasicInfo.tsx @@ -1,12 +1,98 @@ -import React from 'react' -import { InputCompOne } from '..' +import { FC } from "react"; +import { InputCompOne } from ".."; -const BasicInfo = () => { +const BasicInfo = (): FC => { return ( -
- +
+
+ + + + +
- ) -} + ); +}; -export default BasicInfo +export default BasicInfo; diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 3314109..ad41802 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -31,7 +31,7 @@ const Header: FC = ({ }; return ( -
+
{!hideSidebar && ( )} diff --git a/src/components/Home/Hero/Hero.tsx b/src/components/Home/Hero/Hero.tsx index 83ee5e5..0fcd447 100644 --- a/src/components/Home/Hero/Hero.tsx +++ b/src/components/Home/Hero/Hero.tsx @@ -2,10 +2,10 @@ import styles from "./hero.module.css"; const Hero = () => { return (
-

+

PREMIUM SALARY LOAN

diff --git a/src/components/Home/Requirements/FeatureText.tsx b/src/components/Home/Requirements/FeatureText.tsx index 869cc65..518349c 100644 --- a/src/components/Home/Requirements/FeatureText.tsx +++ b/src/components/Home/Requirements/FeatureText.tsx @@ -5,7 +5,7 @@ import { RouteHandler } from "../../../router/routes"; const FeatureText: FC = () => { return (
-
+

Premium Salary Plus loan provides confirmed staff of commercial organizations more usable funds. The employee’s organization must have @@ -29,9 +29,9 @@ const FeatureText: FC = () => {

- ***Click here to apply + *** Click here to apply

Terms and conditions apply diff --git a/src/components/shared/InputCompOne.tsx b/src/components/shared/InputCompOne.tsx index fad54aa..636e017 100644 --- a/src/components/shared/InputCompOne.tsx +++ b/src/components/shared/InputCompOne.tsx @@ -11,7 +11,12 @@ interface InputCompOneProps { tabIndex?: number; ref?: React.RefObject; selectValue?: string; + labelSpan?: string; + labelSpanClass?: string; parentInputClass?: string; + inputClass?: string; + parentSelectClass?: string; + selectClass?: string; input?: boolean; select?: boolean; inputType?: string; @@ -21,7 +26,9 @@ interface InputCompOneProps { const InputCompOne: React.FC = ({ label, - labeClass, + labelClass, + labelSpan, + labelSpanClass, placeholder = "Placeholder", value, onChange, @@ -35,13 +42,17 @@ const InputCompOne: React.FC = ({ inputType = "text", selectOptions, icon, + selectClass, + inputClass, + parentInputClass, + parentSelectClass, }) => { return ( -

+
{label && ( -