add chromebook promo
parent
5de070aca4
commit
c72dfb32bd
1
app.js
1
app.js
|
@ -128,6 +128,7 @@ app.get('/learn-to-code', resourcesController.learnToCode);
|
||||||
app.get('/privacy', resourcesController.privacy);
|
app.get('/privacy', resourcesController.privacy);
|
||||||
app.get('/jquery-exercises', resourcesController.jqueryExercises);
|
app.get('/jquery-exercises', resourcesController.jqueryExercises);
|
||||||
app.get('/text-based-adventure-tutorial-app', resourcesController.textBasedAdventureTutorial);
|
app.get('/text-based-adventure-tutorial-app', resourcesController.textBasedAdventureTutorial);
|
||||||
|
app.get('/chromebook', resourcesController.chromebook);
|
||||||
app.get('/programmer-interview-questions-app', resourcesController.programmerInterviewQuestionsApp);
|
app.get('/programmer-interview-questions-app', resourcesController.programmerInterviewQuestionsApp);
|
||||||
app.get('/about', resourcesController.about);
|
app.get('/about', resourcesController.about);
|
||||||
app.get('/login', userController.getLogin);
|
app.get('/login', userController.getLogin);
|
||||||
|
|
|
@ -15,6 +15,12 @@ exports.privacy = function(req, res) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exports.chromebook = function(req, res) {
|
||||||
|
res.render('chromebook', {
|
||||||
|
title: 'Win a Chromebook'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
exports.jqueryExercises = function(req, res) {
|
exports.jqueryExercises = function(req, res) {
|
||||||
res.render('jquery-exercises', {
|
res.render('jquery-exercises', {
|
||||||
title: 'jQuery Exercises'
|
title: 'jQuery Exercises'
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
extends layout
|
||||||
|
block content
|
||||||
|
.jumbotron
|
||||||
|
script(src='//widget-prime.rafflecopter.com/launch.js')
|
||||||
|
a#rcwidget_a7khonhd.rcptr(href='http://www.rafflecopter.com/rafl/display/d70901b10/', rel='nofollow', data-raflid='d70901b10', data-theme='classic', data-template='') a Rafflecopter giveaway
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue