diff --git a/src/components/Footer/BottomFooterOne.tsx b/src/components/Footer/BottomFooterOne.tsx new file mode 100644 index 0000000..1398fc6 --- /dev/null +++ b/src/components/Footer/BottomFooterOne.tsx @@ -0,0 +1,10 @@ + +const BottomFooterOne = () => { + return ( + + ) +} + +export default BottomFooterOne diff --git a/src/components/Footer/MidFooter.tsx b/src/components/Footer/MidFooter.tsx index 867d5f2..e46e123 100644 --- a/src/components/Footer/MidFooter.tsx +++ b/src/components/Footer/MidFooter.tsx @@ -1,11 +1,10 @@ -import React from 'react' import styles from "./footer.module.css" const MidFooter = () => { return (
-
+

My Bank and I

diff --git a/src/components/Footer/TopFooterOne.tsx b/src/components/Footer/TopFooterOne.tsx index ef4f601..336d16e 100644 --- a/src/components/Footer/TopFooterOne.tsx +++ b/src/components/Footer/TopFooterOne.tsx @@ -1,15 +1,31 @@ -import { FC } from "react"; +import { footerItems } from "../../utils/data"; import TopFooterOneMenu from "./TopFooterOneMenu"; -const TopFooterOne = (): FC => { +export interface TopFooterOneMenuProps { + category: string; + subItems: { + text: string; + href?: string; + }[]; +} + +const TopFooterOne = () => { + const footerListItems: TopFooterOneMenuProps[] = footerItems; + return (

sitemap

-
- +
+ {footerListItems.map(({ category, subItems }, index) => ( + + ))}
diff --git a/src/components/Footer/TopFooterOneMenu.tsx b/src/components/Footer/TopFooterOneMenu.tsx index 5f124c6..36a4923 100644 --- a/src/components/Footer/TopFooterOneMenu.tsx +++ b/src/components/Footer/TopFooterOneMenu.tsx @@ -1,29 +1,28 @@ -import { FC } from "react"; +import React from "react"; import { Link } from "react-router-dom"; -import { footerItems } from "../../utils/data"; +import { TopFooterOneMenuProps } from "./TopFooterOne"; -interface TopFooterOneMenuProps { - category: string; - subItems: { - text: string; - href?: string; - }[]; -} -const TopFooterOneMenu = (): FC => { - return footerItems.map( - ({ category, subItems }): TopFooterOneMenuProps => ( -