aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
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} />