aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-15 06:03:51 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-15 06:03:51 +0800
commitf6f441cbe658d7ba3a367691a0ad596d0a85b1ac (patch)
tree1b976e68cca95d25dfafb43181bc1a3c326b3f4d /packages/website/ts/index.tsx
parentb9fa158092c0179d41f5cf7b4f62eec95dd7f4f6 (diff)
downloaddexon-sol-tools-f6f441cbe658d7ba3a367691a0ad596d0a85b1ac.tar
dexon-sol-tools-f6f441cbe658d7ba3a367691a0ad596d0a85b1ac.tar.gz
dexon-sol-tools-f6f441cbe658d7ba3a367691a0ad596d0a85b1ac.tar.bz2
dexon-sol-tools-f6f441cbe658d7ba3a367691a0ad596d0a85b1ac.tar.lz
dexon-sol-tools-f6f441cbe658d7ba3a367691a0ad596d0a85b1ac.tar.xz
dexon-sol-tools-f6f441cbe658d7ba3a367691a0ad596d0a85b1ac.tar.zst
dexon-sol-tools-f6f441cbe658d7ba3a367691a0ad596d0a85b1ac.zip
Update routes
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx27
1 files changed, 10 insertions, 17 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index aa2deaf37..e9f629c09 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -101,32 +101,25 @@ render(
<Provider store={store}>
<div>
<Switch>
+ {/* Next (new site) routes */}
+ <Route exact path="/" component={NextLanding as any} />
+ <Route exact path={WebsitePaths.Why} component={NextWhy as any} />
+ <Route exact path={WebsitePaths.Instant} component={Next0xInstant as any} />
+ <Route exact path={WebsitePaths.LaunchKit} component={NextLaunchKit as any} />
+ <Route exact path={WebsitePaths.Ecosystem} component={NextEcosystem as any} />
+ <Route exact path={WebsitePaths.AboutMission} component={NextAboutMission as any} />
+ <Route exact path={WebsitePaths.AboutTeam} component={NextAboutTeam as any} />
+ <Route exact path={WebsitePaths.AboutPress} component={NextAboutPress as any} />
+ <Route exact path={WebsitePaths.AboutJobs} component={NextAboutJobs as any} />
{/*
Note(ez): We remove/replace all old routes with next routes
once we're ready to put a ring on it. for now let's keep em there for reference
*/}
- <Route exact={true} path="/" component={Landing as any} />
<Redirect from="/otc" to={`${WebsitePaths.Portal}`} />
- <Route path={WebsitePaths.LaunchKit} component={LaunchKit as any} />
- <Route path={WebsitePaths.Instant} component={Instant as any} />
- <Route path={WebsitePaths.Careers} component={Jobs as any} />
<Route path={WebsitePaths.Portal} component={LazyPortal} />
<Route path={WebsitePaths.FAQ} component={FAQ as any} />
- <Route path={WebsitePaths.About} component={About as any} />
<Route path={WebsitePaths.Wiki} component={Wiki as any} />
-
- {/* Next (new site) routes */}
- <Route exact path="/next" component={NextLanding as any} />
- <Route exact path="/next/why" component={NextWhy as any} />
- <Route exact path="/next/0x-instant" component={Next0xInstant as any} />
- <Route exact path="/next/launch-kit" component={NextLaunchKit as any} />
- <Route exact path="/next/ecosystem-program" component={NextEcosystem as any} />
- <Route exact path="/next/about/mission" component={NextAboutMission as any} />
- <Route exact path="/next/about/team" component={NextAboutTeam as any} />
- <Route exact path="/next/about/press" component={NextAboutPress as any} />
- <Route exact path="/next/about/jobs" component={NextAboutJobs as any} />
-
<Route
path={`${WebsitePaths.ZeroExJs}/:version?`}
component={LazyZeroExJSDocumentation}