From f6d5f2b1083c47b6e2cb83235fee60b6cdd597f8 Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Sun, 30 Jan 2022 18:12:08 +0330 Subject: [PATCH] Footer Styled And Added A "Has Header" Property --- .../icons/vuesax-linear-call-calling.svg | 12 ++++ src/components/Footer/index.js | 62 +++++++++++++++---- src/router.js | 2 +- src/views/Home/Desktop/index.js | 2 +- 4 files changed, 64 insertions(+), 14 deletions(-) create mode 100644 src/assets/icons/vuesax-linear-call-calling.svg diff --git a/src/assets/icons/vuesax-linear-call-calling.svg b/src/assets/icons/vuesax-linear-call-calling.svg new file mode 100644 index 0000000..906154d --- /dev/null +++ b/src/assets/icons/vuesax-linear-call-calling.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/components/Footer/index.js b/src/components/Footer/index.js index 182294c..74d387a 100644 --- a/src/components/Footer/index.js +++ b/src/components/Footer/index.js @@ -1,43 +1,81 @@ import React from "react"; import _ from "lodash"; -import enamad from "./enamad-pic.svg"; -import samandehi from "./samandehi-pic.svg"; +// import enamadlogo from './enamad-pic.svg'; +import callIcon from '../../assets/icons/vuesax-linear-call-calling.svg'; +import samandehi from './samandehi-pic.svg'; import lightBlueLine from "./light-blue-line.svg"; -const FooterDesign1 = ({ color, bg, links }) => { + + +const FooterDesign1 = ({ color, bg, links, hasHeader }) => { + + const enamad = + ''; return ( + <> + {hasHeader ? +
+ +
+ +
+

+ 7 روز هفته 24 ساعته +

+

منتظر شنیدن صدای گرمتان هستیم

+
+
+ +
+

654412 021

+

Info[at]danovin.ir

+
+ +
+ : null} + ); }; diff --git a/src/router.js b/src/router.js index 2e1dbd7..cf11d80 100644 --- a/src/router.js +++ b/src/router.js @@ -349,7 +349,7 @@ function Router({ /> - {headerOptions?.shown && } + {headerOptions?.shown && } diff --git a/src/views/Home/Desktop/index.js b/src/views/Home/Desktop/index.js index 3520fd6..56ef50e 100644 --- a/src/views/Home/Desktop/index.js +++ b/src/views/Home/Desktop/index.js @@ -26,7 +26,7 @@ return ( -
+