diff --git a/src/app/components/NavBar.tsx b/src/app/components/NavBar.tsx index 76e8a72e..68f25b30 100644 --- a/src/app/components/NavBar.tsx +++ b/src/app/components/NavBar.tsx @@ -29,12 +29,13 @@ import { rewardSlice } from "state/rewardSlice"; interface NavbarItemProps { title: string; target: string; + openInNewTab?: boolean; } interface NavbarItemMobileProps extends NavbarItemProps { setMenuOpen: (newMenuOpenState: boolean) => void; } -const NavItems: { path: string; title: string }[] = [ +const NavItems: { path: string; title: string; openInNewTab?: boolean }[] = [ { path: "/trade", title: "trade", @@ -44,8 +45,9 @@ const NavItems: { path: string; title: string }[] = [ title: "rewards", }, { - path: "/roadmap", + path: "https://ductus.notion.site/DeXter-Roadmap-e8faed71fe1c4cdf95fb247f682c0d3a", title: "roadmap", + openInNewTab: true, }, { path: "/team", @@ -235,12 +237,13 @@ function NavbarItemsDesktop() { const t = useTranslations(); return ( <> -
+
{NavItems.map((navItem, indx) => { return ( ); @@ -253,7 +256,7 @@ function NavbarItemsDesktop() { function HamburgerMenu() { const [menuOpen, setMenuOpen] = useState(false); return ( -
+