Skip to content

Commit

Permalink
if
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAnkushshah committed Oct 4, 2024
1 parent 3ade8f3 commit 24f20a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/_components/SideNav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function SideNav({ isOpen }) { // Accept isOpen prop

{menuList.map((menu) => (
<Link key={menu.id} href={menu.path} target={menu.path.startsWith('http') ? '_blank' : '_self'}>
<h2 className={`flex items-center gap-3 text-md p-4 text-slate-600 hover:bg-gray-700 transition-all duration-300 ease-in-out transform hover:scale-105 hover:text-white cursor-pointer rounded-lg my-1 ${path === menu.path ? 'bg-gray-700 text-white' : ''}`}>
<h2 className={`flex items-center gap-3 text-md p-4 text-slate-600 hover:bg-gray-700 transition-all duration-300 ease-in-out transform hover:scale-10 hover:text-white cursor-pointer rounded-lg my-1 ${path === menu.path ? 'bg-gray-700 text-white' : ''}`}>
<menu.icon />
{menu.name}
</h2>
Expand Down

0 comments on commit 24f20a1

Please sign in to comment.