diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-18 08:32:58 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-18 08:32:58 +0800 |
commit | 7468be8f176e784fa1102dc128ac930a50d0710b (patch) | |
tree | 91dfceeb7379788f1bbaffa40062addcedc0b225 | |
parent | 0dcada8e06306f7c90ba6d494440ca7702c3467a (diff) | |
download | dexon-0x-contracts-7468be8f176e784fa1102dc128ac930a50d0710b.tar.gz dexon-0x-contracts-7468be8f176e784fa1102dc128ac930a50d0710b.tar.zst dexon-0x-contracts-7468be8f176e784fa1102dc128ac930a50d0710b.zip |
feat: redirect careers to jobs
-rw-r--r-- | packages/website/ts/@next/pages/about/jobs.tsx | 3 | ||||
-rw-r--r-- | packages/website/ts/index.tsx | 1 |
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> |