aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-19 05:27:06 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-19 05:27:06 +0800
commitb28a88dbb2d238f6d5212358ea6d06c4999cb9f2 (patch)
treeb991ef0894e625abb3a96c65cb58fc2dd771af45 /packages/website/ts/index.tsx
parente6558b7135f87530010c95305f0689d31e8bceed (diff)
downloaddexon-sol-tools-b28a88dbb2d238f6d5212358ea6d06c4999cb9f2.tar
dexon-sol-tools-b28a88dbb2d238f6d5212358ea6d06c4999cb9f2.tar.gz
dexon-sol-tools-b28a88dbb2d238f6d5212358ea6d06c4999cb9f2.tar.bz2
dexon-sol-tools-b28a88dbb2d238f6d5212358ea6d06c4999cb9f2.tar.lz
dexon-sol-tools-b28a88dbb2d238f6d5212358ea6d06c4999cb9f2.tar.xz
dexon-sol-tools-b28a88dbb2d238f6d5212358ea6d06c4999cb9f2.tar.zst
dexon-sol-tools-b28a88dbb2d238f6d5212358ea6d06c4999cb9f2.zip
Add /careers route and fix hr styling
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} />