Skip to content

Commit

Permalink
Update NavbarMenu component to open resume link in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Kwan committed Dec 26, 2023
1 parent e94739f commit 9e2b22a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/NavbarMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,19 @@ const NavbarMenu = ({ isMenuOpen, toggleMenu }: MenuProps) => {
About Me
</button>
</Link> */}
<Link legacyBehavior href={process.env.NEXT_PUBLIC_RESUME_LINK}>
<a
href={process.env.NEXT_PUBLIC_RESUME_LINK}
target="_blank"
rel="noopener noreferrer"
>
<button
type="button"
className="text-lg md:text-xl w-full text-white block py-2 px-4 hover:bg-gray-700 duration-200 hover:text-blue-500"
onClick={toggleMenu}
>
Résumé
</button>
</Link>
</a>
<Link legacyBehavior href="/skills">
<button
type="button"
Expand Down

0 comments on commit 9e2b22a

Please sign in to comment.