From 30f36627725b497c9a56b28b0516c5a62c8be14e Mon Sep 17 00:00:00 2001 From: "DESKTOP-GBA0BK8\\Admin" Date: Fri, 28 Apr 2023 20:25:10 -0400 Subject: [PATCH] side menu --- src/components/MyJobs/MyJobTable.jsx | 1 + src/components/Partials/RightSideBar.jsx | 6 +- src/components/Partials/Sidebar.jsx | 120 +++++++++++------------ src/components/Settings/index.jsx | 21 ++++ 4 files changed, 87 insertions(+), 61 deletions(-) diff --git a/src/components/MyJobs/MyJobTable.jsx b/src/components/MyJobs/MyJobTable.jsx index f790d48..c0e104f 100644 --- a/src/components/MyJobs/MyJobTable.jsx +++ b/src/components/MyJobs/MyJobTable.jsx @@ -57,6 +57,7 @@ export default function MyJobTable({MyJobList, className }) { Price {value.price*0.01} + {value.timeline_days} day(s) diff --git a/src/components/Partials/RightSideBar.jsx b/src/components/Partials/RightSideBar.jsx index 67f758b..84d176a 100644 --- a/src/components/Partials/RightSideBar.jsx +++ b/src/components/Partials/RightSideBar.jsx @@ -12,6 +12,7 @@ import EthIco from "../Helpers/Icons/EthIco"; import LtcIco from "../Helpers/Icons/LtcIco"; import Usdt from "../Helpers/Icons/Usdt"; import SelectBox from "../Helpers/SelectBox"; +import { NavLink } from "react-router-dom"; export default function RightSideBar() { const filterDatas = ["Last 15 days", "Last Month", "Last 6 month"]; @@ -186,7 +187,10 @@ export default function RightSideBar() { {/* name */}

- KnownOrigin + + Resources +

diff --git a/src/components/Partials/Sidebar.jsx b/src/components/Partials/Sidebar.jsx index 7fdd242..c5841cf 100644 --- a/src/components/Partials/Sidebar.jsx +++ b/src/components/Partials/Sidebar.jsx @@ -156,66 +156,66 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { -
  • - (navData.isActive ? "active" : ""), - sidebar ? "justify-start space-x-3.5" : "justify-center") - }`} - > - - - - - Messages - - -
  • -
  • - (navData.isActive ? "active" : ""), - sidebar ? "justify-start space-x-3.5" : "justify-center") - }`} - > - - - - - My Wallet - - -
  • -
  • - (navData.isActive ? "active" : ""), - sidebar ? "justify-start space-x-3.5" : "justify-center") - }`} - > - - - - - Resources - - -
  • + {/*
  • */} + {/* (navData.isActive ? "active" : ""),*/} + {/* sidebar ? "justify-start space-x-3.5" : "justify-center")*/} + {/* }`}*/} + {/* >*/} + {/* */} + {/* */} + {/* */} + {/* */} + {/* Messages*/} + {/* */} + {/* */} + {/*
  • */} + {/*
  • */} + {/* (navData.isActive ? "active" : ""),*/} + {/* sidebar ? "justify-start space-x-3.5" : "justify-center")*/} + {/* }`}*/} + {/* >*/} + {/* */} + {/* */} + {/* */} + {/* */} + {/* My Wallet*/} + {/* */} + {/* */} + {/*
  • */} + {/*
  • */} + {/* (navData.isActive ? "active" : ""),*/} + {/* sidebar ? "justify-start space-x-3.5" : "justify-center")*/} + {/* }`}*/} + {/* >*/} + {/* */} + {/* */} + {/* */} + {/* */} + {/* Resources*/} + {/* */} + {/* */} + {/*
  • */}
  • FAQ

  • +
  • tabHandler("terms")} + className={`flex lg:space-x-4 space-x-2 hover:text-purple transition-all duration-300 ease-in-out items-center cursor-pointer lg:mb-11 mb-2 mr-6 lg:mr-0 float-left lg:float-none overflow-hidden ${ + tab === "privacy" + ? "text-purple" + : " text-thin-light-gray" + }`} + > +
    + +
    +
    +

    + Privacy Policy +

    +
    +
  • tabHandler("terms")} className={`flex lg:space-x-4 space-x-2 hover:text-purple transition-all duration-300 ease-in-out items-center cursor-pointer lg:mb-11 mb-2 mr-6 lg:mr-0 float-left lg:float-none overflow-hidden ${