diff --git a/app.js b/app.js index 1fb7d533f3..c8c276cc11 100644 --- a/app.js +++ b/app.js @@ -203,6 +203,7 @@ app.get('/', homeController.index); app.get('/privacy', resourcesController.privacy); app.get('/jquery-exercises', resourcesController.jqueryExercises); app.get('/live-pair-programming', resourcesController.livePairProgramming); +app.get('/install-screenhero', resourcesController.installScreenHero); app.get('/javascript-in-your-inbox', resourcesController.javaScriptInYourInbox); app.get('/chromebook', resourcesController.chromebook); app.get('/deploy-a-website', resourcesController.deployAWebsite); diff --git a/controllers/resources.js b/controllers/resources.js index d70c123d52..3a9c31a078 100644 --- a/controllers/resources.js +++ b/controllers/resources.js @@ -91,6 +91,12 @@ module.exports = { }); }, + installScreenHero: function(req, res) { + res.render('resources/install-screenhero', { + title: 'Install ScreenHero' + }); + }, + javaScriptInYourInbox: function(req, res) { res.render('resources/javascript-in-your-inbox', { title: 'JavaScript in your Inbox' diff --git a/controllers/resources.json b/controllers/resources.json index 588d00b428..c292aa8aca 100644 --- a/controllers/resources.json +++ b/controllers/resources.json @@ -1,6 +1,6 @@ { "announcements": [ - ["Screen Hero is now free on Windows and Mac! Follow these special instructions to install it.", "http://freecodecamp.com/challenges/34"], + ["Screen Hero is now free on Windows and Mac! Follow these special instructions to install it.", "http://freecodecamp.com/install-screenhero"], ["Bonfire is now live with 30+ challenges! If you haven't started CoderByte, do these instead.", "http://freecodecamp.com/bonfires"], ["Once you finish all the challenges, we welcome you to attend our Nonprofit Project Office Hours every Monday and Thursday Night at 9 pm EST.", "https://gitter.im/FreeCodeCamp/NonprofitProjects"] ], diff --git a/views/resources/install-screenhero.jade b/views/resources/install-screenhero.jade new file mode 100644 index 0000000000..5676bdd923 --- /dev/null +++ b/views/resources/install-screenhero.jade @@ -0,0 +1,13 @@ +extends ../layout +block content + .jumbotron.text-center + h1.hug-top Install ScreenHero + h2 + a(href="http://links.screenhero.com/e/c/eyJlbWFpbF9pZCI6Ik1qQTNNem9XQkNJQ1pBQUNjd0FYQVZrVEdnRkxNamtfX0JWZEdGVEpSZkVCWlRwbFpXRTBNamM0WVMxaE56SmlMVEV4WlRRdE9HUXpZUzFpWXpVNE1HRTJNalkxTldNNk1UUTJNVEEyQUE9PSIsInBvc2l0aW9uIjowLCJocmVmIjoiaHR0cDovL2RsLnNjcmVlbmhlcm8uY29tL3NtYXJ0ZG93bmxvYWQvZklYQU1UUUJBTEtQQkhQTC9TY3JlZW5oZXJvLnppcD9zb3VyY2U9d2ViIn0=") Download for Mac + h2 + a(href="http://links.screenhero.com/e/c/eyJlbWFpbF9pZCI6Ik1qQTNNem9XQkNJQ1pBQUNjd0FYQVZrVEdnRkxNamtfX0JWZEdGVEpSZkVCWlRwbFpXRTBNamM0WVMxaE56SmlMVEV4WlRRdE9HUXpZUzFpWXpVNE1HRTJNalkxTldNNk1UUTJNVEEyQUE9PSIsInBvc2l0aW9uIjoxLCJocmVmIjoiaHR0cDovL2RsLnNjcmVlbmhlcm8uY29tL3NtYXJ0ZG93bmxvYWQvZklYQU1UUUJBTEtQQkhQTC9TY3JlZW5oZXJvLXNldHVwLmV4ZSJ9") Download for Windows + p You can learn more about using Screen Hero by taking   + a(href="http://www.freecodecamp.com/challenges/34") Challenge 34. + p Screen Hero was recently acquired by a collaboration tool called Slack. It's still available and free, but will go away in the indefinite future. Discuss alternatives on our   + a(href="http://forum.freecodecamp.com/t/replacing-screen-hero/992") Screen Hero replacement thread + | . \ No newline at end of file