diff --git a/controllers/challenges.js b/controllers/challenges.js index 0c2aae0730..eae8049808 100644 --- a/controllers/challenges.js +++ b/controllers/challenges.js @@ -35,7 +35,7 @@ exports.startAPairProgrammingSession = function(req, res) { res.render('challenges/start-a-pair-programming-session', { name: "Start Your First Pair Programming Session", source: "Free Code Camp", - video: "", + video: "109547811", image: "https://screenhero.com/img/anim-collaboration.gif", directions: [ "What's all this Pair Programming stuff about? Let's find out!", "We'll use a popular pair programming tool called Screen Hero. We'll also visit the Free Code Camp chat room.", "We'll show you how to launch pair programming sessions right inside the chat room.", "Once you've \"paired\" with someone, they become your \"pair\". Show your new pair the website your website." @@ -49,7 +49,7 @@ exports.addDynamicContentToYourWebsite = function(req, res) { res.render('challenges/add-dynamic-content-to-your-website', { name: "Add Dynamic Content to your Website with POWr.io", source: "Free Code Camp", - video: "", + video: "109599487", image: "https://s3-us-west-1.amazonaws.com/powr/images/powr_showcase_bg_1.jpg", directions: [ "The website you created earlier is cool, but it's not very interactive.", "Let's make it dynamic with POWr.io's drag-and-drop form and database tools!" @@ -63,13 +63,13 @@ exports.experimentWithHtmlAndCssInCodepen = function(req, res) { res.render('challenges/experiment-with-html-and-css-in-codepen', { name: "Create your first CodePen", source: "Free Code Camp", - video: "", + video: "109611164", image: "http://www.designtrending.com/wp-content/uploads/2013/02/codepen_split.png", directions: [ "Let's put those HTML and CSS skills to work!", "You'll learn bootstrap and see how you can build websites right in your browser with CodePen." ], links: ["http://getbootstrap.com/", "http://www.usatoday.com/", "http://codepen.io/"], - challenges: ["Load the USAToday.com page in CodePen.", "Find some cat pictures online, copy their image URLs, and change the USAToday.com page to use these cat pictures instead of its normal images.", "USATODAY.com uses a multi-column bootstrap layout. See if you can change the layout to be a single-column layout, even at full width. Hint: the \"row\" and \"col-\" classes control this. Check the Bootstrap documentation linked to above if you get stuck."] + challenges: ["Load the HealthCare.gov page in CodePen.", "Find some cat pictures online, copy their image URLs, and change the HealthCare.gov page to use these cat pictures instead of its normal images.", "HealthCare.gov uses a multi-column bootstrap layout. See if you can change the layout to be a single-column layout at all widths, not just mobile width. Hint: the \"row\" and \"col-\" classes control this. Check the Bootstrap documentation linked to above if you get stuck."] }); }; \ No newline at end of file diff --git a/views/challenges/add-dynamic-content-to-your-website.jade b/views/challenges/add-dynamic-content-to-your-website.jade index 333c5253d6..7962ac67f9 100644 --- a/views/challenges/add-dynamic-content-to-your-website.jade +++ b/views/challenges/add-dynamic-content-to-your-website.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/challenges/create-and-deploy-a-website.jade b/views/challenges/create-and-deploy-a-website.jade index 333c5253d6..7962ac67f9 100644 --- a/views/challenges/create-and-deploy-a-website.jade +++ b/views/challenges/create-and-deploy-a-website.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/challenges/experiment-with-html-and-css-in-codepen.jade b/views/challenges/experiment-with-html-and-css-in-codepen.jade index 333c5253d6..7962ac67f9 100644 --- a/views/challenges/experiment-with-html-and-css-in-codepen.jade +++ b/views/challenges/experiment-with-html-and-css-in-codepen.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/challenges/start-a-pair-programming-session.jade b/views/challenges/start-a-pair-programming-session.jade index 333c5253d6..7962ac67f9 100644 --- a/views/challenges/start-a-pair-programming-session.jade +++ b/views/challenges/start-a-pair-programming-session.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/code-school-discover-devtools-course.jade b/views/courses/code-school-discover-devtools-course.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/code-school-discover-devtools-course.jade +++ b/views/courses/code-school-discover-devtools-course.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/code-school-real-time-with-node-js-course.jade b/views/courses/code-school-real-time-with-node-js-course.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/code-school-real-time-with-node-js-course.jade +++ b/views/courses/code-school-real-time-with-node-js-course.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/code-school-shaping-up-with-angular-js-course.jade b/views/courses/code-school-shaping-up-with-angular-js-course.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/code-school-shaping-up-with-angular-js-course.jade +++ b/views/courses/code-school-shaping-up-with-angular-js-course.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/code-school-try-git-course.jade b/views/courses/code-school-try-git-course.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/code-school-try-git-course.jade +++ b/views/courses/code-school-try-git-course.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/code-school-try-jquery-course.jade b/views/courses/code-school-try-jquery-course.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/code-school-try-jquery-course.jade +++ b/views/courses/code-school-try-jquery-course.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/codecademy-html-and-css-track.jade b/views/courses/codecademy-html-and-css-track.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/codecademy-html-and-css-track.jade +++ b/views/courses/codecademy-html-and-css-track.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/codecademy-javascript-track.jade b/views/courses/codecademy-javascript-track.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/codecademy-javascript-track.jade +++ b/views/courses/codecademy-javascript-track.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/harvard-introduction-to-computer-science-cs50-course.jade b/views/courses/harvard-introduction-to-computer-science-cs50-course.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/harvard-introduction-to-computer-science-cs50-course.jade +++ b/views/courses/harvard-introduction-to-computer-science-cs50-course.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/linux-command-line-tutorial.jade b/views/courses/linux-command-line-tutorial.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/linux-command-line-tutorial.jade +++ b/views/courses/linux-command-line-tutorial.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/courses/m101js-mongodb-for-node-js-developers-course.jade b/views/courses/m101js-mongodb-for-node-js-developers-course.jade index f8debf3e3c..e5bbe0c826 100644 --- a/views/courses/m101js-mongodb-for-node-js-developers-course.jade +++ b/views/courses/m101js-mongodb-for-node-js-developers-course.jade @@ -6,4 +6,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer diff --git a/views/curriculum/curriculum.jade b/views/curriculum/curriculum.jade index 62edcd485e..aca7d8a215 100644 --- a/views/curriculum/curriculum.jade +++ b/views/curriculum/curriculum.jade @@ -26,4 +26,5 @@ block content .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 - include ./../partials/courses \ No newline at end of file + include ./../partials/courses + include partials/footer \ No newline at end of file diff --git a/views/layout.jade b/views/layout.jade index 7cbc9bc820..4b75877626 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -15,8 +15,6 @@ html .container include partials/flash block content - include partials/footer - != js('application') script. diff --git a/views/partials/footer.jade b/views/partials/footer.jade index 2ff0b4acb7..d94062a297 100644 --- a/views/partials/footer.jade +++ b/views/partials/footer.jade @@ -7,6 +7,4 @@ br br .col-xs-12.col-sm-4 - a.btn.btn-primary.btn-large.btn-block(href='http://twitter.com/intent/user?screen_name=FreeCodeCamp') Follow the discussion on Twitter - - + a.btn.btn-primary.btn-large.btn-block(href='http://twitter.com/intent/user?screen_name=FreeCodeCamp') Follow the discussion on Twitter \ No newline at end of file