aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-13 10:14:01 +0800
committerFabio Berger <me@fabioberger.com>2018-04-13 10:14:01 +0800
commite40bce253c961641b7eeb50b0932be530646dddc (patch)
tree6b89f15a3358daf60d08ae14fa25535e1e5f4586 /packages/website/ts/components
parent74c279ea3a9c6067ff24a8a6c71ffcafe2b9636e (diff)
downloaddexon-sol-tools-e40bce253c961641b7eeb50b0932be530646dddc.tar
dexon-sol-tools-e40bce253c961641b7eeb50b0932be530646dddc.tar.gz
dexon-sol-tools-e40bce253c961641b7eeb50b0932be530646dddc.tar.bz2
dexon-sol-tools-e40bce253c961641b7eeb50b0932be530646dddc.tar.lz
dexon-sol-tools-e40bce253c961641b7eeb50b0932be530646dddc.tar.xz
dexon-sol-tools-e40bce253c961641b7eeb50b0932be530646dddc.tar.zst
dexon-sol-tools-e40bce253c961641b7eeb50b0932be530646dddc.zip
Add /jobs endpoint to website, link to it and have it re-direct to Angellist
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/footer.tsx4
-rw-r--r--packages/website/ts/components/redirecter.tsx10
2 files changed, 12 insertions, 2 deletions
diff --git a/packages/website/ts/components/footer.tsx b/packages/website/ts/components/footer.tsx
index 6c0186ac0..487b039b2 100644
--- a/packages/website/ts/components/footer.tsx
+++ b/packages/website/ts/components/footer.tsx
@@ -114,8 +114,8 @@ export class Footer extends React.Component<FooterProps, FooterState> {
},
{
title: this.props.translate.get(Key.Careers, Deco.Cap),
- isExternal: true,
- path: constants.URL_ANGELLIST,
+ isExternal: false,
+ path: WebsitePaths.Jobs,
},
{
title: this.props.translate.get(Key.Contact, Deco.Cap),
diff --git a/packages/website/ts/components/redirecter.tsx b/packages/website/ts/components/redirecter.tsx
new file mode 100644
index 000000000..2e705af58
--- /dev/null
+++ b/packages/website/ts/components/redirecter.tsx
@@ -0,0 +1,10 @@
+import * as React from 'react';
+import { constants } from 'ts/utils/constants';
+
+interface RedirecterProps {
+ location: string;
+}
+
+export function Redirecter(props: RedirecterProps) {
+ window.location.href = constants.URL_ANGELLIST;
+}