diff --git a/server/boot/challenge.js b/server/boot/challenge.js index 13e0563589..3bfccf86cc 100644 --- a/server/boot/challenge.js +++ b/server/boot/challenge.js @@ -581,7 +581,7 @@ module.exports = function(app) { daysRunning, camperCount, lastCompleted, - title: "A map of all Free Code Camp's Challenges" + title: "A Map to Learn to Code and Become a Software Engineer" }); }, next diff --git a/server/boot/home.js b/server/boot/home.js index 511c9aedf4..0177fa1edc 100644 --- a/server/boot/home.js +++ b/server/boot/home.js @@ -1,7 +1,7 @@ import { defaultProfileImage } from '../../common/utils/constantStrings.json'; const message = - 'Learn to Code and Build Projects for Nonprofits'; + 'Learn to Code and Help Nonprofits'; module.exports = function(app) { var router = app.loopback.Router(); diff --git a/server/boot/labs.js b/server/boot/labs.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/server/boot/randomAPIs.js b/server/boot/randomAPIs.js index f15cbde478..997731055a 100644 --- a/server/boot/randomAPIs.js +++ b/server/boot/randomAPIs.js @@ -28,7 +28,6 @@ module.exports = function(app) { router.get('/pmi-acp-agile-project-managers-form', agileProjectManagersForm); router.get('/nonprofits', nonprofits); router.get('/nonprofits-form', nonprofitsForm); - router.get('/our-sponsors', sponsors); router.get('/unsubscribe/:email', unsubscribe); router.get('/unsubscribed', unsubscribed); router.get('/get-started', getStarted); @@ -185,14 +184,14 @@ module.exports = function(app) { function showLabs(req, res) { res.render('resources/labs', { - title: 'Projects Built by Free Code Camp Students', + title: 'Projects Built by Free Code Camp Software Engineers', projects: labs }); } function showTestimonials(req, res) { res.render('resources/stories', { - title: 'Stories from Happy Free Code Camp Campers', + title: 'Testimonials from Happy Free Code Camp Students who got Software Engineer Jobs', stories: testimonials }); } @@ -207,15 +206,9 @@ module.exports = function(app) { }); } - function sponsors(req, res) { - res.render('sponsors/sponsors', { - title: 'The Sponsors who make Free Code Camp Possible' - }); - } - function nonprofits(req, res) { res.render('resources/nonprofits', { - title: 'A guide to our Nonprofit Projects' + title: 'Your Nonprofit Can Get Pro Bono Code' }); } diff --git a/server/boot/story.js b/server/boot/story.js index c1f188db81..a883a30280 100755 --- a/server/boot/story.js +++ b/server/boot/story.js @@ -109,7 +109,7 @@ module.exports = function(app) { function hot(req, res) { return res.render('stories/index', { - title: 'Hot stories currently trending on Camper News', + title: 'Top Stories on Camper News', page: 'hot' }); } diff --git a/server/boot/user.js b/server/boot/user.js index 3dac4a9a19..d1d7df35f3 100644 --- a/server/boot/user.js +++ b/server/boot/user.js @@ -128,7 +128,7 @@ module.exports = function(app) { return res.redirect('/'); } res.render('account/signin', { - title: 'Free Code Camp Login' + title: 'Sign in to Free Code Camp using a Social Media Account' }); } @@ -142,7 +142,7 @@ module.exports = function(app) { return res.redirect('/'); } res.render('account/email-signin', { - title: 'Sign in to your Free Code Camp Account' + title: 'Sign in to Free Code Camp using your Email Address' }); } @@ -151,7 +151,7 @@ module.exports = function(app) { return res.redirect('/'); } res.render('account/email-signup', { - title: 'Create Your Free Code Camp Account' + title: 'Sign up for Free Code Camp using your Email Address' }); } @@ -222,7 +222,7 @@ module.exports = function(app) { }); res.render('account/show', { - title: 'Camper ' + profileUser.username + '\'s portfolio', + title: 'Camper ' + profileUser.username + '\'s Code Portfolio', username: profileUser.username, name: profileUser.name, @@ -397,7 +397,7 @@ module.exports = function(app) { return res.render('account/forgot'); } res.render('account/reset', { - title: 'Password Reset', + title: 'Reset your Password', accessToken: req.accessToken.id }); } diff --git a/server/views/resources/sitemap.jade b/server/views/resources/sitemap.jade index edd0367e6a..6b4907a199 100644 --- a/server/views/resources/sitemap.jade +++ b/server/views/resources/sitemap.jade @@ -26,17 +26,41 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9") priority= 0.9 url - loc http://www.freecodecamp.com/coding-bootcamp-cost-calculator + loc http://www.freecodecamp.com/labs changefreq weekly lastmod= now priority= 0.9 + url + loc http://www.freecodecamp.com/stories + changefreq weekly + lastmod= now + priority= 0.9 + + url + loc http://www.freecodecamp.com/twitch + changefreq weekly + lastmod= now + priority= 0.9 + + url + loc http://www.freecodecamp.com/jobs + changefreq weekly + lastmod= now + priority= 0.9 + + url + loc http://www.freecodecamp.com/coding-bootcamp-cost-calculator + changefreq monthly + lastmod= now + priority= 0.9 + //- User each user in users url loc #{appUrl}/#{user} lastmod= now - changefreq daily + changefreq weekly priority= 0.5 each challenge in challenges @@ -44,18 +68,18 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9") loc #{appUrl}/challenges/#{challenge.replace(/\s/g, '-')} lastmod= now changefreq weekly - priority= 0.5 + priority= 0.9 each story in stories url loc #{appUrl}/news/#{story.replace(/\s/g, '-')} lastmod= now - changefreq daily - priority= 0.9 + changefreq weekly + priority= 0.5 each nonprofit in nonprofits url loc #{appUrl}/nonprofits/#{nonprofit.replace(/\s/g, '-')} lastmod= now - changefreq daily + changefreq weekly priority= 0.9