Merge pull request #8671 from QuincyLarson/fix/remove-tweet-buttons

Remove tweet buttons and /labs
This commit is contained in:
Berkeley Martinez
2016-05-18 09:34:07 -07:00
15 changed files with 35 additions and 208 deletions

View File

@ -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';
@ -21,7 +20,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);
@ -43,13 +41,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'