diff --git a/src/components/footer/www/footer.jsx b/src/components/footer/www/footer.jsx index ae31006c9..f533c8a3c 100644 --- a/src/components/footer/www/footer.jsx +++ b/src/components/footer/www/footer.jsx @@ -22,7 +22,7 @@ const Footer = props => (
- +
@@ -83,7 +83,7 @@ const Footer = props => (
- +
diff --git a/src/routes.json b/src/routes.json index 3b6621946..b339bcb21 100644 --- a/src/routes.json +++ b/src/routes.json @@ -148,18 +148,9 @@ "title": "Ideas" }, { - "name": "jobs", - "pattern": "^/jobs/?$", - "routeAlias": "/jobs(/moderator)?/?$", - "view": "jobs/jobs", - "title": "Jobs" - }, - { - "name": "jobs-moderator", - "pattern": "^/jobs/moderator/?$", - "routeAlias": "/jobs(/moderator)?/?$", - "view": "jobs/moderator/moderator", - "title": "Community Moderator" + "name": "jobs-redirect", + "pattern": "^/jobs/?(\\?.*)?$", + "redirect": "https://www.scratchfoundation.org/opportunities/" }, { "name": "join", diff --git a/src/views/developers/developers.jsx b/src/views/developers/developers.jsx index f1c967144..858fde3cb 100644 --- a/src/views/developers/developers.jsx +++ b/src/views/developers/developers.jsx @@ -228,7 +228,7 @@ const Developers = () => ( id="developers.joinBody" values={{ jobsPageLink: ( - + ), diff --git a/src/views/jobs/jobs.jsx b/src/views/jobs/jobs.jsx deleted file mode 100644 index 37bcc9b35..000000000 --- a/src/views/jobs/jobs.jsx +++ /dev/null @@ -1,45 +0,0 @@ -const React = require('react'); -const render = require('../../lib/render.jsx'); -const FormattedMessage = require('react-intl').FormattedMessage; - -const Page = require('../../components/page/www/page.jsx'); - -require('./jobs.scss'); - -const Jobs = () => ( -
-
-
- -

-
-
- -
-
-

-

-

-
-
- -
-
-

- {/* */} - -
-
-
-); - -render(, document.getElementById('app')); diff --git a/src/views/jobs/jobs.scss b/src/views/jobs/jobs.scss deleted file mode 100644 index 8c07b5e57..000000000 --- a/src/views/jobs/jobs.scss +++ /dev/null @@ -1,42 +0,0 @@ -@import "../../colors"; - -.jobs { - .top { - img { - margin-bottom: 10px; - width: 100%; - } - } - - .middle { - margin: 20px 0; - background-color: $ui-gray; - padding: 40px 0; - width: 100%; - } - - .bottom { - width: 100%; - line-height: 200%; - - .thin-heading { - padding: 20px 0; - } - - p { - margin: auto; - width: 70%; - } - - ul { - padding-left: 0; - list-style: none; - - li { - span { - margin-left: 10px; - } - } - } - } -} diff --git a/src/views/jobs/l10n.json b/src/views/jobs/l10n.json deleted file mode 100644 index 9d1bebcdb..000000000 --- a/src/views/jobs/l10n.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "jobs.info": "With Scratch, young people from all backgrounds are learning to program their own interactive stories, games, and animations. Children and teens from around the world have created and shared more than 10 million projects in the rapidly-growing Scratch online community.", - "jobs.joinScratchTeam": "Join the Scratch Team!", - "jobs.openings": "Current Job Openings", - "jobs.titleQuestion": "Want to work on an innovative project that is transforming the ways young people create, share, and learn?", - "jobs.workEnvironment":"We’re seeking curious and motivated people to join our Scratch Team at the MIT Media Lab. We're a diverse group of educators, designers, and engineers, who work together in a playful, creative environment full of LEGO bricks, craft materials, and maker tools. We strongly value diversity, collaboration, and respect in the workplace.", - "jobs.nojobs":"We don't have any open positions at this time. Please check back soon for opportunities!" -} diff --git a/src/views/jobs/moderator/moderator.jsx b/src/views/jobs/moderator/moderator.jsx deleted file mode 100644 index eda225b7e..000000000 --- a/src/views/jobs/moderator/moderator.jsx +++ /dev/null @@ -1,108 +0,0 @@ -const React = require('react'); - -const Page = require('../../../components/page/www/page.jsx'); -const render = require('../../../lib/render.jsx'); - -const InformationPage = require('../../../components/informationpage/informationpage.jsx'); - -const Moderator = () => ( - -
-

- Interested in online communities, internet culture, and - working with kids? We're seeking community moderators - to work with the Scratch Team. Scratch - Moderators help keep Scratch a safe, trusted, and friendly - environment. -

-

- Scratch is a free service where young people learn to - program by creating interactive stories, games, and - animations which they can share to an online community. - Scratch has grown to more than 30 million registered - members (ages 8 and up) who create and share thousands - of projects each day. Moderators will gain valuable - experience working online with youth in a creative, - interest-driven setting. -

-

Responsibilities:

- -
-

Qualifications:

- -
-

- This position is part-time (10-15 hours per week), - flexible hours (this work can be done 24/7 and we - set a schedule which fits in with your life), - under contract with starting pay of $12 per hour. - All candidates must be at least 18 years old and - have authorization to work in the United States. -

-

(MIT Media Lab, Cambridge, MA or Remote)

-

- Send a copy of your resume, links to one or more of your online - presences, and cover letter to{' '} - jobs+moderator@scratch.mit.edu. -

-

- - Really want the gig? Create an - awesome Scratch project to introduce yourself, share - it on the Scratch website, and send us a link. - -

-
-
-); - -render(, document.getElementById('app')); diff --git a/test/integration-legacy/smoke-testing/test_footer_links.js b/test/integration-legacy/smoke-testing/test_footer_links.js index 0fa9ed80e..5a49d87b6 100644 --- a/test/integration-legacy/smoke-testing/test_footer_links.js +++ b/test/integration-legacy/smoke-testing/test_footer_links.js @@ -101,9 +101,9 @@ tap.test('clickCreditsLink', options, t => { // JOBS tap.test('clickJobsLink', options, t => { const linkText = 'Jobs'; - const expectedHref = '/jobs'; + const expectedUrl = 'https://www.scratchfoundation.org/opportunities/'; clickFooterLinks(linkText).then(url => { - t.equal(url.substr(-expectedHref.length), expectedHref); + t.equal(url, expectedUrl); t.end(); }); });