aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-18 08:32:58 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-12-18 08:32:58 +0800
commit7468be8f176e784fa1102dc128ac930a50d0710b (patch)
tree91dfceeb7379788f1bbaffa40062addcedc0b225 /packages/website
parent0dcada8e06306f7c90ba6d494440ca7702c3467a (diff)
downloaddexon-sol-tools-7468be8f176e784fa1102dc128ac930a50d0710b.tar
dexon-sol-tools-7468be8f176e784fa1102dc128ac930a50d0710b.tar.gz
dexon-sol-tools-7468be8f176e784fa1102dc128ac930a50d0710b.tar.bz2
dexon-sol-tools-7468be8f176e784fa1102dc128ac930a50d0710b.tar.lz
dexon-sol-tools-7468be8f176e784fa1102dc128ac930a50d0710b.tar.xz
dexon-sol-tools-7468be8f176e784fa1102dc128ac930a50d0710b.tar.zst
dexon-sol-tools-7468be8f176e784fa1102dc128ac930a50d0710b.zip
feat: redirect careers to jobs
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/@next/pages/about/jobs.tsx3
-rw-r--r--packages/website/ts/index.tsx1
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx
index e6ad1d797..4dc9d8002 100644
--- a/packages/website/ts/@next/pages/about/jobs.tsx
+++ b/packages/website/ts/@next/pages/about/jobs.tsx
@@ -7,6 +7,7 @@ import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout';
import { Heading, Paragraph } from 'ts/@next/components/text';
import { WebsiteBackendJobInfo } from 'ts/types';
import { backendClient } from 'ts/utils/backend_client';
+import { constants } from 'ts/utils/constants';
const OPEN_POSITIONS_HASH = 'positions';
@@ -95,7 +96,7 @@ export class NextAboutJobs extends React.Component<NextAboutJobsProps, NextAbout
</>
}
linkLabel="Our mission and values"
- to="/about/mission"
+ href={constants.URL_MISSION_AND_VALUES_BLOG_POST}
>
<Section bgColor="#F3F6F4" isFlex={true} maxWidth="1170px" wrapWidth="100%">
<Column maxWidth="442px">
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 915d28aaa..f7a66c836 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -192,6 +192,7 @@ render(
component={LazySolCompilerDocumentation}
/>
<Redirect from={WebsiteLegacyPaths.Jobs} to={WebsitePaths.AboutJobs} />
+ <Redirect from={WebsitePaths.Careers} to={WebsitePaths.AboutJobs} />
<Route component={NotFound as any} />
</Switch>
</div>