Skip to content

Commit

Permalink
fix: open links in new tab of 'Resources Hub' section (#437)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody's Dad <[email protected]>
  • Loading branch information
toffee-k21 and AceTheCreator authored Nov 4, 2024
1 parent 9ceb242 commit e167559
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} rel="noopener noreferrer">
<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 e167559

Please sign in to comment.