aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/mobileNav.tsx
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-15 06:03:45 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-15 06:03:45 +0800
commitb9fa158092c0179d41f5cf7b4f62eec95dd7f4f6 (patch)
treefd31ed0b062a50dc4fc775b99b344e283dcd9f86 /packages/website/ts/@next/components/mobileNav.tsx
parent8570616d9765584e91c2fcfced398a6289536464 (diff)
downloaddexon-0x-contracts-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar.gz
dexon-0x-contracts-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.tar.zst
dexon-0x-contracts-b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6.zip
Update links and routes
Diffstat (limited to 'packages/website/ts/@next/components/mobileNav.tsx')
-rw-r--r--packages/website/ts/@next/components/mobileNav.tsx10
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>