Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Commit cc2da62

Browse files
author
Joel Thorstensson
authored
Merge pull request #696 from 3box/careers-redirect
Remove careers page, link to Lever
2 parents 9276a84 + 9c8ba5e commit cc2da62

5 files changed

Lines changed: 13 additions & 336 deletions

File tree

src/AppRoutes.jsx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
Spaces,
2323
EditProfile,
2424
PubProfile,
25-
Careers,
2625
Terms,
2726
Privacy,
2827
Settings,
@@ -78,19 +77,24 @@ const AppRoutes = (props) => {
7877

7978
<Route
8079
exact
81-
path={routes.CAREERS}
82-
render={() => <Careers />}
80+
path={routes.TEAM}
81+
render={() => <Team />}
8382
/>
8483
<Route
8584
exact
86-
path={routes.TEAM}
87-
render={() => <Team />}
85+
path={routes.CAREERS}
86+
render={() => {
87+
window.location = 'https://jobs.lever.co/3box';
88+
return null;
89+
}}
8890
/>
89-
9091
<Route
9192
exact
9293
path={routes.JOBS}
93-
render={() => <Redirect to={routes.CAREERS} />}
94+
render={() => {
95+
window.location = 'https://jobs.lever.co/3box';
96+
return null;
97+
}}
9498
/>
9599

96100
<Route

src/DynamicImports.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@ export const NavLanding = (props) => (
7373
</DynamicImports>
7474
);
7575

76-
export const Careers = (props) => (
77-
<DynamicImports load={() => import('./views/Landing/Careers')}>
78-
{Component => Component !== null
79-
&& <Component {...props} />}
80-
</DynamicImports>
81-
);
82-
8376
export const Terms = (props) => (
8477
<DynamicImports load={() => import('./views/Landing/Terms')}>
8578
{Component => Component !== null

src/views/Landing/Careers.jsx

Lines changed: 0 additions & 132 deletions
This file was deleted.

src/views/Landing/components/Footer.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ const Footer = () => (
6464
<h5>
6565
MORE
6666
</h5>
67-
<Link to={routes.CAREERS}>
67+
<a href="https://jobs.lever.co/3box" target="_blank" rel="noopener noreferrer">
6868
Careers
69-
</Link>
69+
</a>
7070
<Link to={routes.TEAM}>
7171
Team
7272
</Link>

0 commit comments

Comments
 (0)