Skip to content

Commit

Permalink
fix new tab open
Browse files Browse the repository at this point in the history
  • Loading branch information
toffee-k21 committed Oct 23, 2024
1 parent be0efdc commit 756a2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Navbar/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function Navbar() {
onMouseLeave={handleSubMenuLeave}
>
{link.subMenu.map((subL) => (
<Link href={subL.ref} key={subL.title}>
<Link href={subL.ref} target={subL.target} key={subL.title}>
<div className={`flex items-center ${link.subMenu.length === 1 ? "justify-center" : "justify-start"} min-h-[32px] text-[16px] hover:scale-95 hover:translate-x-1 transition-all`}>
{subL.title}
</div>
Expand Down

0 comments on commit 756a2b9

Please sign in to comment.