From 722d02da3f45a811aea1cc6be61bd1e15b884447 Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 9 May 2022 12:17:02 +0430 Subject: [PATCH] update src/Views/Home/Sidebar/index.js and data.js --- public/images/barnamenegar-icon.svg | 8 ++++++++ src/Views/Home/Sidebar/index.js | 6 +++--- src/redux/data.js | 12 +++++++++++- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 public/images/barnamenegar-icon.svg diff --git a/public/images/barnamenegar-icon.svg b/public/images/barnamenegar-icon.svg new file mode 100644 index 0000000..30b9cbb --- /dev/null +++ b/public/images/barnamenegar-icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/Views/Home/Sidebar/index.js b/src/Views/Home/Sidebar/index.js index a3e9f92..e4c85fb 100644 --- a/src/Views/Home/Sidebar/index.js +++ b/src/Views/Home/Sidebar/index.js @@ -5,20 +5,20 @@ import { components } from "../../../redux/actions"; function Sidebar({ list, setActive }) { return (
-
+
logo
-
    +
      {list .sort((a, b) => (a.name > b.name ? 1 : -1)) .map((material, index) => (
    • setActive(material)} > {material.name} diff --git a/src/redux/data.js b/src/redux/data.js index 1d6c764..16bf770 100644 --- a/src/redux/data.js +++ b/src/redux/data.js @@ -74,7 +74,7 @@ // import CustomToast from "./components/CustomToast"; // import IconText from "./components/IconText"; // import CardDesign2 from "./components/CardDesign2"; -// import ButtonDivTag from "./components/ButtonDivTag"; +import ButtonDivTag from "../components/ButtonDivTag"; import Button from "../components/Button"; // import LeafletMap from "./components/LeafletMap"; @@ -104,6 +104,16 @@ const components = [ code: null, }, }, + { + name: "ButtonDivTag", + author: "Andalib", + props: [], + content: { + name: "ButtonDivTag", + component: , + code: null, + }, + }, ]; export default components;