remove additional vestiges of labs and twitter sharing
This commit is contained in:
@ -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'
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user