diff --git a/src/components/Footer/enamad-pic.svg b/src/components/Footer/enamad-pic.svg new file mode 100644 index 0000000..71a2999 --- /dev/null +++ b/src/components/Footer/enamad-pic.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Footer/index.js b/src/components/Footer/index.js new file mode 100644 index 0000000..182294c --- /dev/null +++ b/src/components/Footer/index.js @@ -0,0 +1,55 @@ +import React from "react"; +import _ from "lodash"; + +import enamad from "./enamad-pic.svg"; +import samandehi from "./samandehi-pic.svg"; + +import lightBlueLine from "./light-blue-line.svg"; + +const FooterDesign1 = ({ color, bg, links }) => { + return ( + + ); +}; + +export default FooterDesign1; + +FooterDesign1.defaultProps = { + links: [ + ["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], + ["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], + ["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], + ["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], + ], + bg: "bg-white", + color: "text-gray-600", +}; diff --git a/src/components/Footer/light-blue-line.svg b/src/components/Footer/light-blue-line.svg new file mode 100644 index 0000000..562f85a --- /dev/null +++ b/src/components/Footer/light-blue-line.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Footer/samandehi-pic.svg b/src/components/Footer/samandehi-pic.svg new file mode 100644 index 0000000..fc47b54 --- /dev/null +++ b/src/components/Footer/samandehi-pic.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/router.js b/src/router.js index d3334e6..2e1dbd7 100644 --- a/src/router.js +++ b/src/router.js @@ -26,6 +26,7 @@ import Activation from "./views/Activation"; import Faq from "./views/Faq"; import Contact from "./views/Contact"; import Dashboard from "./views/Dashboard"; +import FooterDesign1 from "./components/Footer"; // import VideoTube from "./views/Home/VideoTube"; function Router({ @@ -34,6 +35,7 @@ function Router({ isLogin, headerOptions, setDesktopContentTransform, + footerOptions }) { useEffect(() => { window.addEventListener("scroll", () => { @@ -63,6 +65,7 @@ function Router({ > {headerOptions?.shown && } + {isMobile && ( <> @@ -344,7 +347,9 @@ function Router({ /> } /> + + {headerOptions?.shown && }