Commit 439c037c by Chetan

vendor dashboard links

1 parent 0c6214f4
...@@ -22,36 +22,44 @@ const Sidebar = () => { ...@@ -22,36 +22,44 @@ const Sidebar = () => {
</button> */} </button> */}
<ul> <ul>
<li className={router.pathname === "/vendor/dashboard" ? "active" : ""}> <li className={router.pathname === "/vendor/dashboard" ? "active" : ""}>
<span className="d-flex"> <Link href="/vendor/dashboard">
<span className="d-flex cursor-pointer">
<Image className="" alt="" width={22} height={15} src="/images/vendor/icon-dashboard.svg" /> <Image className="" alt="" width={22} height={15} src="/images/vendor/icon-dashboard.svg" />
<div className="mx-2 text-center"> <div className="mx-2 text-center">
<Link href="/vendor/dashboard">Dashboard</Link> Dashboard
</div> </div>
</span> </span>
</Link>
</li> </li>
<li className={router.pathname === "/vendor/enquiries" ? "active" : ""}> <li className={router.pathname === "/vendor/enquiries" ? "active" : ""}>
<span className="d-flex"> <Link href="/vendor/enquiries">
<span className="d-flex cursor-pointer">
<Image alt="" width={22} height={15} src="/images/vendor/icon-orders.svg" /> <Image alt="" width={22} height={15} src="/images/vendor/icon-orders.svg" />
<div className="mx-2 text-center"> <div className="mx-2 text-center">
<Link href="/vendor/enquiries">Enquiries</Link> Enquiries
</div> </div>
</span> </span>
</Link>
</li> </li>
<li className={router.pathname === "/vendor/activities" ? "active" : ""}> <li className={router.pathname === "/vendor/activities" ? "active" : ""}>
<span className="d-flex"> <Link href="/vendor/activities">
<span className="d-flex cursor-pointer">
<Image alt="" width={22} height={15} src="/images/vendor/icon-activities.svg" /> <Image alt="" width={22} height={15} src="/images/vendor/icon-activities.svg" />
<div className="mx-2 text-center"> <div className="mx-2 text-center">
<Link href="/vendor/activities">Activities</Link> Activities
</div> </div>
</span> </span>
</Link>
</li> </li>
<li className={router.pathname === "/vendor/reviews" ? "active" : ""}> <li className={router.pathname === "/vendor/reviews" ? "active" : ""}>
<span className="d-flex"> <Link href="/vendor/reviews">
<span className="d-flex cursor-pointer">
<Image alt="" width={22} height={15} src="/images/vendor/icon-orders.svg" /> <Image alt="" width={22} height={15} src="/images/vendor/icon-orders.svg" />
<div className="mx-2 text-center"> <div className="mx-2 text-center">
<Link href="/vendor/reviews">Reviews</Link> Reviews
</div> </div>
</span> </span>
</Link>
</li> </li>
</ul> </ul>
</div> </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!