Skip to content

Commit

Permalink
Fix right icons hover and page opens in new tab into shopping cart ic…
Browse files Browse the repository at this point in the history
…on click
  • Loading branch information
JohanMejia77 committed Oct 2, 2024
1 parent 64f268e commit 5ff12ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/(nav-bar)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ export function NavBar() {
))}
</ul>

<ContactIcon className="w-10 h-full hidden ml-auto ms:block mr-2" onClick={onOpen} />
<ContactIcon className="size-10 p-0.5 hidden ml-auto ms:inline-block mr-2 hover:cursor-pointer hover:bg-primary-dm/20 rounded transition-all ease-in-out" onClick={onOpen} />
<div className="hidden ms:block">
<ThemeModeButton />
</div>
<ShoppingCartIcon
onClick={() => route.push(routes[0].to)}
className="w-10 p-0.5 h-full hover:bg-primary-dm/20 rounded relative transition-all ease-in-out"
onClick={() => window.open(routes[0].to, routes[0].target)}
className="w-10 p-0.5 h-full hover:bg-primary-dm/20 rounded relative hover:cursor-pointer transition-all ease-in-out"
/>
</nav>
)
Expand Down

0 comments on commit 5ff12ad

Please sign in to comment.