diff --git a/src/assets/images/test1-reverse.png b/src/assets/images/test1-reverse.png new file mode 100644 index 0000000..f26dbde Binary files /dev/null and b/src/assets/images/test1-reverse.png differ diff --git a/src/components/Footer/BottomFooterOne.tsx b/src/components/Footer/BottomFooterOne.tsx index 2819d90..2babfea 100644 --- a/src/components/Footer/BottomFooterOne.tsx +++ b/src/components/Footer/BottomFooterOne.tsx @@ -62,7 +62,7 @@ const CustomerLinks = () => { ) ); return ( -
+
{links}
); diff --git a/src/components/Header/HeaderMenuItem.tsx b/src/components/Header/HeaderMenuItem.tsx index 2cd44b3..8f8ecaa 100644 --- a/src/components/Header/HeaderMenuItem.tsx +++ b/src/components/Header/HeaderMenuItem.tsx @@ -3,9 +3,10 @@ import { LowerMenuItem } from "./Header"; interface MenuItemProps { item: LowerMenuItem; + subItemClass: string; } -const HeaderMenuItem: React.FC = ({ item }) => { +const HeaderMenuItem: React.FC = ({ item, subItemClass }) => { const [showSubMenu, setShowSubMenu] = useState(false); const toggleSubMenu = () => { @@ -14,15 +15,15 @@ const HeaderMenuItem: React.FC = ({ item }) => { return (
  • {item.name} {showSubMenu && item.subItems && ( -
      +
        {item.subItems.map((subItem, index) => ( - + ))}
      )} diff --git a/src/components/LetsGetStated/LetsGetStarted.tsx b/src/components/LetsGetStated/LetsGetStarted.tsx new file mode 100644 index 0000000..c873277 --- /dev/null +++ b/src/components/LetsGetStated/LetsGetStarted.tsx @@ -0,0 +1,13 @@ +import React from "react"; + +const LetsGetStarted = () => { + return ( +
      +
      + 123 +
      +
      + ); +}; + +export default LetsGetStarted; diff --git a/src/components/LetsGetStated/LetsGetStartedNav.tsx b/src/components/LetsGetStated/LetsGetStartedNav.tsx new file mode 100644 index 0000000..e4116f6 --- /dev/null +++ b/src/components/LetsGetStated/LetsGetStartedNav.tsx @@ -0,0 +1,22 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import Logo from "../../assets/icons/logo.svg"; + + +const LetsGetStartedNav: React.FC = () => { + return ( +
      +
      + + Logo + +
      +
      + ); +}; + +export default LetsGetStartedNav; diff --git a/src/components/LetsGetStated/index.ts b/src/components/LetsGetStated/index.ts new file mode 100644 index 0000000..35c2c03 --- /dev/null +++ b/src/components/LetsGetStated/index.ts @@ -0,0 +1,4 @@ +import LetsGetStarted from "./LetsGetStarted"; +import LetsGetStartedNav from "./LetsGetStartedNav"; + +export { LetsGetStarted, LetsGetStartedNav }; diff --git a/src/components/index.ts b/src/components/index.ts index 8423231..50e7f51 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -7,4 +7,5 @@ export * from "./DashboardLayout"; export * from "./Icons"; export * from "./Dashboard"; export * from "./Cards"; +export * from "./LetsGetStated"; export * from "./TsAndCs"; diff --git a/src/layouts/LetsGetStartedLayout.tsx b/src/layouts/LetsGetStartedLayout.tsx new file mode 100644 index 0000000..40f90ee --- /dev/null +++ b/src/layouts/LetsGetStartedLayout.tsx @@ -0,0 +1,24 @@ +import React from "react"; +import { Footer, LetsGetStartedNav } from "../components"; +import layoutImage from "../assets/images/test1-reverse.png"; + +const LetsGetStartedLayout = ({ children }: { children: React.ReactNode }) => { + return ( + <> +
      +
      + + {children} +
      +
      + +
      +
      +
      +
      +
      + + ); +}; + +export default LetsGetStartedLayout; diff --git a/src/layouts/index.ts b/src/layouts/index.ts index d04c9a0..690926b 100644 --- a/src/layouts/index.ts +++ b/src/layouts/index.ts @@ -1,3 +1,3 @@ import HomeLayout from "./HomeLayout"; - -export { HomeLayout }; +import LetsGetStartedLayout from "./LetsGetStartedLayout"; +export { HomeLayout, LetsGetStartedLayout }; diff --git a/src/pages/LetsGetStatedPage.tsx b/src/pages/LetsGetStatedPage.tsx new file mode 100644 index 0000000..f8bd80d --- /dev/null +++ b/src/pages/LetsGetStatedPage.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import { LetsGetStartedLayout } from "../layouts"; +import { LetsGetStarted } from "../components"; + +const LetsGetStatedPage: React.FC = () => { + return ( + + + + ); +}; + +export default LetsGetStatedPage; diff --git a/src/pages/index.ts b/src/pages/index.ts index 91bd4d9..2655483 100644 --- a/src/pages/index.ts +++ b/src/pages/index.ts @@ -10,6 +10,7 @@ import TermsAndConditionPage from "./TermsAndConditionPage"; import PersonalBankingPage from "./PersonalBankingPage"; import BusinessBankingPage from "./BusinessBankingPage"; import CooperateBankingPage from "./CooperateBankingPage"; +import LetsGetStatedPage from "./LetsGetStatedPage"; export { HomePage, @@ -23,5 +24,6 @@ export { TermsAndConditionPage, PersonalBankingPage, BusinessBankingPage, - CooperateBankingPage + CooperateBankingPage, + LetsGetStatedPage }; diff --git a/src/router/Router.tsx b/src/router/Router.tsx index f4fe8a0..7882f41 100644 --- a/src/router/Router.tsx +++ b/src/router/Router.tsx @@ -13,6 +13,7 @@ import { BusinessBankingPage, CooperateBankingPage, PersonalBankingPage, + LetsGetStatedPage, } from "../pages"; import { DashboardAuth } from "../components"; @@ -26,10 +27,24 @@ const Routers = () => { path={RouteHandler.termsAndConditions} element={} /> - } /> - } /> - } /> + } + /> + } + /> + } + /> + } + /> + {/* Dashboard */} }>