aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-07-26 06:31:54 +0800
committerGitHub <noreply@github.com>2018-07-26 06:31:54 +0800
commit35113487f1239a788d1bf975d716a911d8b69f56 (patch)
tree92fd5399435666136aac776690d34c018bc4bdd6 /packages/website/ts/index.tsx
parentd836b0f81502baae5cfbd8949560e7f5ec37f780 (diff)
parent9ce8e10115c7a673ae03f3d9979b6a064d442238 (diff)
downloaddexon-sol-tools-35113487f1239a788d1bf975d716a911d8b69f56.tar
dexon-sol-tools-35113487f1239a788d1bf975d716a911d8b69f56.tar.gz
dexon-sol-tools-35113487f1239a788d1bf975d716a911d8b69f56.tar.bz2
dexon-sol-tools-35113487f1239a788d1bf975d716a911d8b69f56.tar.lz
dexon-sol-tools-35113487f1239a788d1bf975d716a911d8b69f56.tar.xz
dexon-sol-tools-35113487f1239a788d1bf975d716a911d8b69f56.tar.zst
dexon-sol-tools-35113487f1239a788d1bf975d716a911d8b69f56.zip
Merge pull request #893 from 0xProject/feature/website/jobs-page-part2
Jobs page
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx12
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 2a5c5e4f1..904a5f6df 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -77,10 +77,8 @@ render(
<Route exact={true} path="/" component={Landing as any} />
<Redirect from="/otc" to={`${WebsitePaths.Portal}`} />
{/* TODO: Remove this once we ship the jobs page*/}
- {utils.shouldShowJobsPage() ? (
- <Route path={WebsitePaths.Jobs} component={Jobs as any} />
- ) : (
- <Route path={WebsitePaths.Jobs} component={Redirector as any} />
+ {utils.shouldShowJobsPage() && (
+ <Route path={WebsitePaths.Careers} component={Jobs as any} />
)}
<Route path={WebsitePaths.Portal} component={LazyPortal} />
<Route path={WebsitePaths.FAQ} component={FAQ as any} />
@@ -131,6 +129,12 @@ render(
path={`${WebsiteLegacyPaths.Deployer}/:version?`}
component={LazySolCompilerDocumentation}
/>
+ {/* TODO: Remove this once we ship the jobs page*/}
+ {utils.shouldShowJobsPage() ? (
+ <Route path={WebsiteLegacyPaths.Jobs} component={Jobs as any} />
+ ) : (
+ <Route path={WebsiteLegacyPaths.Jobs} component={Redirector as any} />
+ )}
<Route path={`${WebsitePaths.Docs}`} component={LazyZeroExJSDocumentation} />
<Route component={NotFound as any} />