diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-15 06:03:45 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-15 06:03:45 +0800 |
commit | b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6 (patch) | |
tree | fd31ed0b062a50dc4fc775b99b344e283dcd9f86 /packages/website/ts/@next/components/header.tsx | |
parent | 8570616d9765584e91c2fcfced398a6289536464 (diff) | |
download | dexon-sol-tools-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar dexon-sol-tools-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar.gz dexon-sol-tools-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar.bz2 dexon-sol-tools-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar.lz dexon-sol-tools-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar.xz dexon-sol-tools-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar.zst dexon-sol-tools-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.zip |
Update links and routes
Diffstat (limited to 'packages/website/ts/@next/components/header.tsx')
-rw-r--r-- | packages/website/ts/@next/components/header.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx index b31d34765..c5615e61f 100644 --- a/packages/website/ts/@next/components/header.tsx +++ b/packages/website/ts/@next/components/header.tsx @@ -12,6 +12,7 @@ import { Logo } from 'ts/@next/components/logo'; import { MobileNav } from 'ts/@next/components/mobileNav'; import { FlexWrap } from 'ts/@next/components/newLayout'; import { ThemeValuesInterface } from 'ts/@next/components/siteWrap'; +import { WebsitePaths } from 'ts/types'; interface HeaderProps { location?: Location; @@ -35,12 +36,12 @@ interface DropdownWrapInterface { const navItems: NavItemProps[] = [ { id: 'why', - url: '/next/why', + url: WebsitePaths.Why, text: 'Why 0x', }, { id: 'products', - url: '/next/instant', + url: '#', text: 'Products', dropdownComponent: DropdownProducts, dropdownWidth: 280, @@ -54,7 +55,7 @@ const navItems: NavItemProps[] = [ }, { id: 'about', - url: '/next/about/mission', + url: WebsitePaths.AboutMission, text: 'About', }, { |