SEO improvements suggested by Mark

This commit is contained in:
Michael Q Larson
2014-11-23 15:08:46 -06:00
parent 842f973c8c
commit d9502856dc
11 changed files with 26 additions and 14 deletions

1
app.js
View File

@ -129,6 +129,7 @@ app.get(
'/resources/interview-questions', '/resources/interview-questions',
resourcesController.interviewQuestions); resourcesController.interviewQuestions);
app.get('/learn-to-code', resourcesController.learnToCode); app.get('/learn-to-code', resourcesController.learnToCode);
app.get('/about', resourcesController.about);
app.get('/login', userController.getLogin); app.get('/login', userController.getLogin);
app.post('/login', userController.postLogin); app.post('/login', userController.postLogin);
app.get('/logout', userController.logout); app.get('/logout', userController.logout);

View File

@ -14,7 +14,7 @@ exports.returnChallenge = function(req, res, next) {
next(err); next(err);
} }
res.render('challenges/show', { res.render('challenges/show', {
title: 'Challenge', title: 'Challenge: ' + c.name,
name: c.name, name: c.name,
video: c.video, video: c.video,
time: c.time, time: c.time,

View File

@ -15,7 +15,7 @@ var transporter = nodemailer.createTransport({
exports.getContact = function(req, res) { exports.getContact = function(req, res) {
res.render('contact', { res.render('contact', {
title: 'Contact' title: 'Free Code Work for Nonprofits Project Submission Page'
}); });
}; };

View File

@ -13,7 +13,7 @@ exports.index = function(req, res) {
} }
} else { } else {
res.render('home', { res.render('home', {
title: 'Home' title: 'Learn to Code and Become a Software Engineer'
}); });
} }
}; };

View File

@ -4,8 +4,15 @@
*/ */
exports.learnToCode = function(req, res) { exports.learnToCode = function(req, res) {
res.render('learn-to-code'); res.render('learn-to-code', {
title: 'Learn to Code' title: 'Learn to Code'
});
}
exports.about = function(req, res) {
res.render('about', {
title: 'Who We Are'
});
} }
exports.interviewQuestions = function(req, res) { exports.interviewQuestions = function(req, res) {
@ -19,7 +26,7 @@ exports.interviewQuestions = function(req, res) {
answer: "O(1)" answer: "O(1)"
}, },
{ {
question: "Time Complexity of Pushing and Poping on Stack", question: "Time Complexity of Pushing and Popping on Stack",
answer: "O(1)" answer: "O(1)"
}, },
{ {

View File

@ -14,7 +14,7 @@ var secrets = require('../config/secrets');
exports.getLogin = function(req, res) { exports.getLogin = function(req, res) {
if (req.user) return res.redirect('/'); if (req.user) return res.redirect('/');
res.render('account/login', { res.render('account/login', {
title: 'Login' title: 'Free Code Camp Login'
}); });
}; };
@ -68,7 +68,7 @@ exports.logout = function(req, res) {
exports.getSignup = function(req, res) { exports.getSignup = function(req, res) {
if (req.user) return res.redirect('/'); if (req.user) return res.redirect('/');
res.render('account/signup', { res.render('account/signup', {
title: 'Create Account' title: 'Create Your Free Code Camp Account'
}); });
}; };
@ -118,7 +118,7 @@ exports.postSignup = function(req, res, next) {
exports.getAccount = function(req, res) { exports.getAccount = function(req, res) {
res.render('account/profile', { res.render('account/profile', {
title: 'Account Management' title: 'Manage your Free Code Camp Account'
}); });
}; };

4
views/about.jade Normal file
View File

@ -0,0 +1,4 @@
extends layout
block content
h1 About Free Code Camp
h2 this is a placeholder page. Our about us page is coming soon.

View File

@ -10,19 +10,19 @@ block content
.col-xs-12.col-sm-12.col-md-4 .col-xs-12.col-sm-12.col-md-4
h3.delay-3.animated.pulse Technical Mastery h3.delay-3.animated.pulse Technical Mastery
.negative-10 .negative-10
span.landing-icon.ion-settings.text-primary span.landing-icon.ion-settings.text-primary(title='Learn to code')
.negative-10 .negative-10
p You'll learn to code by pair programming (where two people code together on one computer) through our coding challenges. p You'll learn to code by pair programming (where two people code together on one computer) through our coding challenges.
.col-xs-12.col-sm-12.col-md-4 .col-xs-12.col-sm-12.col-md-4
h3.delay-4.animated.pulse Unique Portfolio Projects h3.delay-4.animated.pulse Unique Portfolio Projects
.negative-10 .negative-10
span.landing-icon.ion-social-github.text-primary span.landing-icon.ion-social-github.text-primary(title='Build a portfolio of apps for nonprofits')
.negative-10 .negative-10
p You'll use your new coding skills to build software solutions for nonprofits. Your portfolio projects will have grateful users. p You'll use your new coding skills to build software solutions for nonprofits. Your portfolio projects will have grateful users.
.col-xs-12.col-sm-12.col-md-4 .col-xs-12.col-sm-12.col-md-4
h3.delay-5.animated.pulse Glowing References h3.delay-5.animated.pulse Glowing References
.negative-10 .negative-10
span.landing-icon.ion-thumbsup.text-primary span.landing-icon.ion-thumbsup.text-primary(title='Get great references and connections to help you get a job')
.negative-10 .negative-10
p You'll gain the respect of your peers and the nonprofits you help. These types of connections are critical to your job search. p You'll gain the respect of your peers and the nonprofits you help. These types of connections are critical to your job search.
a.btn.btn-cta.btn-primary(href="/login") Sign in now to start coding (it's free) a.btn.btn-cta.btn-primary(href="/login") Sign in now to start coding (it's free)

View File

@ -57,11 +57,11 @@
ul ul
p We love Python and Ruby. But even if you learn them, you'll still need to learn JavaScript. JavaScript is the most important language of all - it's the language of web browsers. It's also the most popular language. p We love Python and Ruby. But even if you learn them, you'll still need to learn JavaScript. JavaScript is the most important language of all - it's the language of web browsers. It's also the most popular language.
br br
img.img-center.img-responsive(src="http://dberkholz-media.redmonk.com/dberkholz/files/2014/04/github_new_repos-custom.png", style="max-height: 300px;") img.img-center.img-responsive(src="https://www.evernote.com/shard/s116/sh/0f511118-2f92-49f0-973d-730aa57d73a0/11899e5253e998c3a5d0ee731847fba8/deep/0/github_new_repos-custom.png-(1387-1255).png", style="max-height: 355px;" alt="A chart showing the volume of new GitHub repositories by year, with JavaScript growing and most languages declining.")
h2 Will I be ready to get a software engineer job after this? h2 Will I be ready to get a software engineer job after this?
ul ul
p At the end of Free Code Camp, you will have pair programmed around 1,000 hours with dozens of other students, built a portfolio of projects that people are actively using, and a roster of glowing references from nonprofits you've helped. On average, 75% of bootcamp graduates get software engineering jobs within 6 months, and earn an average annual salary of $76,000. p At the end of Free Code Camp, you will have pair programmed around 1,000 hours with dozens of other students, built a portfolio of projects that people are actively using, and a roster of glowing references from nonprofits you've helped. On average, 75% of bootcamp graduates get software engineering jobs within 6 months, and earn an average annual salary of $76,000.
img.img-center.img-responsive(src="https://www.evernote.com/shard/s116/sh/4bb05639-d86c-4c15-b3a8-e4a43fa22d89/7cf00ed01124fac6e6741b97f8fb9e6f/deep/0/https---www.coursereport.com-2014-graduate-survey.pdf.png") img.img-center.img-responsive(src="https://www.evernote.com/shard/s116/sh/4bb05639-d86c-4c15-b3a8-e4a43fa22d89/7cf00ed01124fac6e6741b97f8fb9e6f/deep/0/https---www.coursereport.com-2014-graduate-survey.pdf.png" alt="A chart showing the average earnings of coding bootcamp graduates")
h2 Is this really free? Do you claim part of my first year's salary like some bootcamps do? h2 Is this really free? Do you claim part of my first year's salary like some bootcamps do?
ul ul
p Our name is Free Code Camp. We are a free code camp. If you had to pay us (or sign over future earnings), we'd have to change our name. And we are not going to do that. p Our name is Free Code Camp. We are a free code camp. If you had to pay us (or sign over future earnings), we'd have to change our name. And we are not going to do that.