diff options
Diffstat (limited to 'packages/website/ts/@next/components/mobileNav.tsx')
-rw-r--r-- | packages/website/ts/@next/components/mobileNav.tsx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/website/ts/@next/components/mobileNav.tsx b/packages/website/ts/@next/components/mobileNav.tsx index 2b8c10ea6..35b4353e1 100644 --- a/packages/website/ts/@next/components/mobileNav.tsx +++ b/packages/website/ts/@next/components/mobileNav.tsx @@ -5,6 +5,7 @@ import styled from 'styled-components'; import {Link} from 'react-router-dom'; import {WrapGrid, WrapProps} from 'ts/@next/components/newLayout'; +import { WebsitePaths } from 'ts/types'; interface Props { isToggled: boolean; @@ -38,21 +39,16 @@ export class MobileNav extends React.PureComponent<Props> { <Section isDark={true}> <Grid as="ul" isFullWidth={true} isWrapped={true}> <li> - <Link to="/next/why"> + <Link to={WebsitePaths.Why}> Why 0x </Link> </li> <li> - <Link to="/next/about/mission"> + <Link to={WebsitePaths.AboutMission}> About </Link> </li> <li> - <Link to="/next"> - Products - </Link> - </li> - <li> <Link to="https://blog.0xproject.com/latest"> Blog </Link> |