diff --git a/src/App.js b/src/App.js
index e1650bc..37218c3 100644
--- a/src/App.js
+++ b/src/App.js
@@ -144,7 +144,7 @@ function App() {
{/* */}
{/* */}
{/* */}
-
+ {/* */}
{/* */}
{/* */}
{/* */}
@@ -164,7 +164,7 @@ function App() {
{/* */}
{/* ----------------------------$$$ end---------------------------- */}
{/* */}
-
+ {/* */}
{/* ----------------------------$$$ start---------------------------- */}
{/* */}
{/* */}
@@ -190,7 +190,7 @@ function App() {
{/* */}
{/* ----------------------------$$$ end---------------------------- */}
{/* */}
- {/* */}
+
{/* */}
{/* */}
{/* ----------------------------$$$ start---------------------------- */}
diff --git a/src/components/Sidebar/SidebarMenu/Vector.svg b/src/components/Sidebar/SidebarMenu/Vector.svg
deleted file mode 100644
index 2940c95..0000000
--- a/src/components/Sidebar/SidebarMenu/Vector.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/arrow-down.svg b/src/components/Sidebar/SidebarMenu/arrow-down.svg
deleted file mode 100644
index d05315f..0000000
--- a/src/components/Sidebar/SidebarMenu/arrow-down.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/element-4.svg b/src/components/Sidebar/SidebarMenu/element-4.svg
deleted file mode 100644
index 2132509..0000000
--- a/src/components/Sidebar/SidebarMenu/element-4.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/folder-open.svg b/src/components/Sidebar/SidebarMenu/folder-open.svg
deleted file mode 100644
index 9d7fe32..0000000
--- a/src/components/Sidebar/SidebarMenu/folder-open.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/index.css b/src/components/Sidebar/SidebarMenu/index.css
deleted file mode 100644
index 5007940..0000000
--- a/src/components/Sidebar/SidebarMenu/index.css
+++ /dev/null
@@ -1,12 +0,0 @@
-.no-scrollbar::-webkit-scrollbar {
- display: none;
-}
-
-/* Hide scrollbar for IE, Edge and Firefox */
-.no-scrollbar {
- -ms-overflow-style: none;
- /* IE and Edge */
- scrollbar-width: none;
- /* Firefox */
-}
-/*# sourceMappingURL=index.css.map */
\ No newline at end of file
diff --git a/src/components/Sidebar/SidebarMenu/index.css.map b/src/components/Sidebar/SidebarMenu/index.css.map
deleted file mode 100644
index 75f3b73..0000000
--- a/src/components/Sidebar/SidebarMenu/index.css.map
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "version": 3,
- "mappings": "AAAA,AAAA,aAAa,AAAA,mBAAmB,CAAC;EAC/B,OAAO,EAAE,IAAI;CACd;;AAED,6CAA6C;AAC7C,AAAA,aAAa,CAAC;EACZ,kBAAkB,EAAE,IAAI;EAAE,iBAAiB;EAC3C,eAAe,EAAE,IAAI;EAAE,aAAa;CACrC",
- "sources": [
- "index.scss"
- ],
- "names": [],
- "file": "index.css"
-}
\ No newline at end of file
diff --git a/src/components/Sidebar/SidebarMenu/index.js b/src/components/Sidebar/SidebarMenu/index.js
index 19cada2..e3e44a4 100644
--- a/src/components/Sidebar/SidebarMenu/index.js
+++ b/src/components/Sidebar/SidebarMenu/index.js
@@ -3,13 +3,6 @@
import React from "react";
import Switch from "../../Switch";
-import downwardArrow from "./arrow-down.svg";
-import profilePic from "./profile-pic.svg";
-import logout from "./logout.svg";
-import messageText from "./message-text.svg";
-import moon from "./moon.svg";
-import sms from "./sms.svg";
-
const COMPONENTS = {
Switch: ,
};
@@ -20,11 +13,19 @@ const SidebarMenu = ({ items, buttons }) => {
{/* profile */}
-
+
کامران کوهستانی شیرازی
-
+
{/* divider */}
@@ -135,7 +136,7 @@ SidebarMenu.defaultProps = {
subItems: [{ name: "ویرایش حساب کاربری", num: null }],
},
{
- icon: sms,
+ icon: "/images/sms.svg",
title: "پشتیبانی",
notification: 7,
subItems: [
@@ -145,7 +146,7 @@ SidebarMenu.defaultProps = {
],
},
{
- icon: messageText,
+ icon: "/images/message-text.svg",
title: "متستندات",
notification: null,
subItems: [{ name: "API توسعه دهندگان", num: null }],
@@ -153,11 +154,16 @@ SidebarMenu.defaultProps = {
],
buttons: [
- { icon: moon, title: "حالت شب", leftIcon: null, component: "Switch" },
{
- icon: logout,
+ icon: "/images/moon.svg",
+ title: "حالت شب",
+ leftIcon: null,
+ component: "Switch",
+ },
+ {
+ icon: "/images/logout.svg",
title: "خروج از حساب کاربری",
- leftIcon: logout,
+ leftIcon: "/images/logout.svg",
component: null,
},
],
diff --git a/src/components/Sidebar/SidebarMenu/index.scss b/src/components/Sidebar/SidebarMenu/index.scss
deleted file mode 100644
index e69de29..0000000
diff --git a/src/components/Sidebar/SidebarMenu/logout.svg b/src/components/Sidebar/SidebarMenu/logout.svg
deleted file mode 100644
index 94c72a1..0000000
--- a/src/components/Sidebar/SidebarMenu/logout.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/message-text.svg b/src/components/Sidebar/SidebarMenu/message-text.svg
deleted file mode 100644
index cf188b0..0000000
--- a/src/components/Sidebar/SidebarMenu/message-text.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/moon.svg b/src/components/Sidebar/SidebarMenu/moon.svg
deleted file mode 100644
index ca740b6..0000000
--- a/src/components/Sidebar/SidebarMenu/moon.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/profile-pic.svg b/src/components/Sidebar/SidebarMenu/profile-pic.svg
deleted file mode 100644
index a51292a..0000000
--- a/src/components/Sidebar/SidebarMenu/profile-pic.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/sms.svg b/src/components/Sidebar/SidebarMenu/sms.svg
deleted file mode 100644
index 642cf99..0000000
--- a/src/components/Sidebar/SidebarMenu/sms.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/user-edit.svg b/src/components/Sidebar/SidebarMenu/user-edit.svg
deleted file mode 100644
index 60a9d85..0000000
--- a/src/components/Sidebar/SidebarMenu/user-edit.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/src/components/Sidebar/SidebarMenu/wallet-money.svg b/src/components/Sidebar/SidebarMenu/wallet-money.svg
deleted file mode 100644
index 68de02d..0000000
--- a/src/components/Sidebar/SidebarMenu/wallet-money.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-