Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
fix: fixed the links in admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
SHUHAIB-T committed Mar 10, 2024
1 parent 49e349c commit d82b80a
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions client/src/components/Sidebar/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@ function Sidebar() {
<>
<div className="w-72 h-screen shadow-lg rounded-lg bg-gray-900 fixed">
<div className="flex justify-start items-start flex-col mx-3 my-3">
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<MdDashboard className="text-primary" />
<Link className="ml-4 font-bold text-gray-500" to={"/admin"}>
<Link className="ml-4 font-bold text-gray-500" to={"/admin"}>
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<MdDashboard className="text-primary" />
Dash Board
</Link>
</button>
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<FaUsers className="text-primary" />
<Link
className="ml-4 font-bold text-gray-500"
to={"/admin/managment"}
>
</button>
</Link>
<Link
className="ml-4 font-bold text-gray-500"
to={"/admin/managment"}
>
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<FaUsers className="text-primary" />
User Managment
</Link>
</button>
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<TbFileReport className="text-primary" />
<Link className="ml-4 font-bold text-gray-500" to={"/admin/rights"}>
</button>
</Link>
<Link className="ml-4 font-bold text-gray-500" to={"/admin/rights"}>
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<TbFileReport className="text-primary" />
Rights Management
</Link>
</button>
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<IoBody className="text-primary" />
<Link className="ml-4 font-bold text-gray-500" to={"/admin/body"}>
</button>
</Link>
<Link className="ml-4 font-bold text-gray-500" to={"/admin/body"}>
<button className="flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800">
<IoBody className="text-primary" />
My Body
</Link>
</button>
</button>
</Link>
</div>
</div>
</>
Expand Down

0 comments on commit d82b80a

Please sign in to comment.