From e0867ec556647f4fa4a505f6d1a548b7079fcd73 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Mon, 16 May 2016 16:10:52 -0700 Subject: [PATCH] remove additional vestiges of labs and twitter sharing --- server/boot/randomAPIs.js | 9 --- server/resources/labs.json | 65 ------------------- .../challenges/showZiplineOrBasejump.jade | 3 - 3 files changed, 77 deletions(-) delete mode 100644 server/resources/labs.json diff --git a/server/boot/randomAPIs.js b/server/boot/randomAPIs.js index 8de1503c69..18ce25a487 100644 --- a/server/boot/randomAPIs.js +++ b/server/boot/randomAPIs.js @@ -1,6 +1,5 @@ import request from 'request'; import constantStrings from '../utils/constantStrings.json'; -import labs from '../resources/labs.json'; import testimonials from '../resources/testimonials.json'; import secrets from '../../config/secrets'; @@ -23,7 +22,6 @@ module.exports = function(app) { router.get('/unsubscribed', unsubscribed); router.get('/get-started', getStarted); router.get('/submit-cat-photo', submitCatPhoto); - router.get('/labs', showLabs); router.get('/stories', showTestimonials); router.get('/shop', showShop); router.get('/shop/cancel-stickers', cancelStickers); @@ -45,13 +43,6 @@ module.exports = function(app) { res.redirect('https://gitter.im/FreeCodeCamp/FreeCodeCamp'); } - function showLabs(req, res) { - res.render('resources/labs', { - title: 'Projects Built by Free Code Camp Software Engineers', - projects: labs - }); - } - function terms(req, res) { res.render('resources/terms-of-service', { title: 'Terms of Service' diff --git a/server/resources/labs.json b/server/resources/labs.json deleted file mode 100644 index f37dff5aac..0000000000 --- a/server/resources/labs.json +++ /dev/null @@ -1,65 +0,0 @@ -[ - { - "camper": "johnstonbl01", - "name": "Clementine.js", - "url": "http://johnstonbl01.github.io/clementinejs/", - "description": "The elegant and lightweight boilerplate for full stack JavaScript.", - "image": "//i.imgur.com/ib1wOho.png" - }, - { - "camper": "adventurebear", - "name": "Coding Bootcamp Cost Calculator", - "url": "http://www.freecodecamp.com/coding-bootcamp-cost-calculator", - "description": "This d3.js-powered coding bootcamp cost calculator takes into account tuition, financing, lost wages and cost of living.", - "image": "https://qph.is.quoracdn.net/main-qimg-670d6a0c5b01f74138e777732994240f?convert_to_webp=true" - }, - { - "camper": "martoncsikos", - "name": "Skill.bar", - "url": "http://www.skill.bar", - "description": "Learn. Gain points. Visualize your skills.", - "image": "//i.imgur.com/URkqqb5.png" - }, - { - "camper": "ericdouglas", - "name": "Open Source Society", - "url": "https://github.com/open-source-society/computer-science", - "description": "A path to a free education in Computer Science.", - "image": "https://camo.githubusercontent.com/c42438055d3fee26b29e6d046fd8d06ebff3db20/687474703a2f2f692e696d6775722e636f6d2f6838786a72726a2e706e67" - }, - { - "camper": "akiralaine", - "name": "Musare", - "url": "http://musare.com/", - "description": "Musare is a modern, collaborative, open-source Music App.", - "image": "//i.imgur.com/Y4D4MPL.png" - }, - { - "camper": "bighitbiker3", - "name": "Queue That", - "url": "http://queuethat.com/", - "description": "An app that uses the SoundCloud API in order to make temporary, running playlists.", - "image": "https://www.evernote.com/l/AqSy_bYAZ0dOiJnn4CfNgo09DOSTUX1IADIB/image.png" - }, - { - "camper": "storbeck", - "name": "Free Code Camp Event Zipline: Recipe Box", - "url": "http://codepen.io/GeoffStorbeck/full/bVKyzd/", - "description": "Try to reverse engineer this Recipe Box as an optional Zipline challenge.", - "image": "//i.imgur.com/5o0bwVQ.png" - }, - { - "camper": "akiralaine", - "name": "Camper News Bot", - "url": "https://twitter.com/campernewsbot", - "description": "This twitter bot tweets out Camper News stories once they hit 5 upvotes.", - "image": "https://pbs.twimg.com/media/CLXOFLPWIAEHYPJ.png" - }, - { - "camper": "roelver", - "name": "Free Code Camp Top 100 Campers", - "url": "http://fcctop100.herokuapp.com/", - "description": "This leaderboard tracks the campers who have been most active (completing challenges, helping other campers) in the past 30 days.", - "image": "//i.imgur.com/4CrQfFi.png" - } -] \ No newline at end of file diff --git a/server/views/challenges/showZiplineOrBasejump.jade b/server/views/challenges/showZiplineOrBasejump.jade index 04dd8d01d7..605d0a9fa4 100644 --- a/server/views/challenges/showZiplineOrBasejump.jade +++ b/server/views/challenges/showZiplineOrBasejump.jade @@ -60,9 +60,6 @@ block content if (user) a.btn.btn-lg.btn-primary.btn-block#next-courseware-button(name='_csrf', value=_csrf) Submit and go to my next challenge - .button-spacer - a.btn.btn-lg.btn-block.btn-twitter(target="_blank", href="https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20PASTE_YOUR_CODEPEN_URL_HERE_USING_FULL_INSTEAD_OF_PEN%20%0A%20%23LearnToCode%20%23JavaScript", onclick="ga('send', 'event', 'twitter', 'share', 'challenge completion share');") - i.fa.fa-twitter  Tweet this project else a.btn.btn-lg.btn-primary.btn-block(href='/challenges/next-challenge?id=' + id) Go to my next challenge