added items to right sidebar
This commit is contained in:
@@ -9,6 +9,7 @@ export default function OffersInterest(props) {
|
|||||||
const filterHandler = (value) => {
|
const filterHandler = (value) => {
|
||||||
setValue(value);
|
setValue(value);
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
<CommonHead
|
<CommonHead
|
||||||
|
|||||||
@@ -89,7 +89,9 @@ export default function MobileSidebar({
|
|||||||
<ul className="flex flex-col space-y-6">
|
<ul className="flex flex-col space-y-6">
|
||||||
{/* Using mini component reduces the bulk amount of html */}
|
{/* Using mini component reduces the bulk amount of html */}
|
||||||
<ListItem
|
<ListItem
|
||||||
title= {userDetails?.account_type == "FULL" ? "Dashboard" : "Home"}
|
title={
|
||||||
|
userDetails?.account_type == "FULL" ? "Dashboard" : "Home"
|
||||||
|
}
|
||||||
route="/"
|
route="/"
|
||||||
sidebar={sidebar}
|
sidebar={sidebar}
|
||||||
iconName="new-dashboard"
|
iconName="new-dashboard"
|
||||||
@@ -190,17 +192,21 @@ export default function MobileSidebar({
|
|||||||
<div className="items">
|
<div className="items">
|
||||||
<ul className="flex flex-col space-y-6">
|
<ul className="flex flex-col space-y-6">
|
||||||
{[
|
{[
|
||||||
{ name: "List", path: "/myjobs", iconName: "job-list" },
|
{
|
||||||
|
name: "List",
|
||||||
|
path: "/myjobs",
|
||||||
|
iconName: "job-list",
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// name: "Waiting",
|
||||||
|
// path: "/pend-interest",
|
||||||
|
// iconName: "pending-job",
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
name: "Offers",
|
name: "Offers",
|
||||||
path: "/my-offers",
|
path: "/my-offers",
|
||||||
iconName: "pending-job",
|
iconName: "pending-job",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "Waiting",
|
|
||||||
path: "/pend-interest",
|
|
||||||
iconName: "pending-job",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Active",
|
name: "Active",
|
||||||
path: "/my-active-jobs",
|
path: "/my-active-jobs",
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { NavLink } from "react-router-dom";
|
|||||||
//import SideStatistics from "./SideStatistics";
|
//import SideStatistics from "./SideStatistics";
|
||||||
import { localImgLoad } from "../../lib";
|
import { localImgLoad } from "../../lib";
|
||||||
import DarkModeContext from "../Contexts/DarkModeContext";
|
import DarkModeContext from "../Contexts/DarkModeContext";
|
||||||
|
import Icons from "../Helpers/Icons";
|
||||||
|
|
||||||
export default function RightSideBar({ myJobList }) {
|
export default function RightSideBar({ myJobList }) {
|
||||||
const filterDatas = ["Last 15 days", "Last Month", "Last 6 month"];
|
const filterDatas = ["Last 15 days", "Last Month", "Last 6 month"];
|
||||||
@@ -81,6 +82,19 @@ export default function RightSideBar({ myJobList }) {
|
|||||||
{/* action */}
|
{/* action */}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="item flex space-x-3 items-center mb-4">
|
||||||
|
{/* image */}
|
||||||
|
<div className="w-8 h-8 rounded-full flex items-center justify-center">
|
||||||
|
<Icons name="pending-job" />
|
||||||
|
</div>
|
||||||
|
{/* name */}
|
||||||
|
<div>
|
||||||
|
<p className="text-thin-light-gray text-base font-medium">
|
||||||
|
<NavLink to="/pend-interest">Waiting</NavLink>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
{/* action */}
|
||||||
|
</div>
|
||||||
<div className="item flex space-x-3 items-center mb-4">
|
<div className="item flex space-x-3 items-center mb-4">
|
||||||
{/* image */}
|
{/* image */}
|
||||||
<div className="w-8 h-8 rounded-full">
|
<div className="w-8 h-8 rounded-full">
|
||||||
@@ -274,6 +288,24 @@ export default function RightSideBar({ myJobList }) {
|
|||||||
{/* action */}
|
{/* action */}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="px-8 item flex space-x-3 items-center mb-4">
|
||||||
|
{/* image */}
|
||||||
|
<div className="w-8 h-8 p-[4px] rounded-full">
|
||||||
|
<img
|
||||||
|
src={localImgLoad("images/icons/job_active.svg")}
|
||||||
|
className="w-full h-full"
|
||||||
|
alt="Active Task"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
{/* name */}
|
||||||
|
<div>
|
||||||
|
<p className="text-thin-light-gray text-base font-medium">
|
||||||
|
<NavLink to="/manage-offer">My Offers</NavLink>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
{/* action */}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="px-8 item flex space-x-3 items-center mb-4">
|
<div className="px-8 item flex space-x-3 items-center mb-4">
|
||||||
{/* image */}
|
{/* image */}
|
||||||
<div className="w-8 h-8 p-[4px] rounded-full">
|
<div className="w-8 h-8 p-[4px] rounded-full">
|
||||||
|
|||||||
@@ -216,11 +216,11 @@ export default function Sidebar({
|
|||||||
path: "/myjobs",
|
path: "/myjobs",
|
||||||
iconName: "job-list",
|
iconName: "job-list",
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
name: "Waiting",
|
// name: "Waiting",
|
||||||
path: "/pend-interest",
|
// path: "/pend-interest",
|
||||||
iconName: "pending-job",
|
// iconName: "pending-job",
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
name: "Offers",
|
name: "Offers",
|
||||||
path: "/my-offers",
|
path: "/my-offers",
|
||||||
|
|||||||
Reference in New Issue
Block a user