make Mark Howard's SEO changes, make navbar look better, hide footer on landing page, update meta tags'
This commit is contained in:
@ -17,7 +17,8 @@ exports.index = function(req, res) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
res.render('home', {
|
res.render('home', {
|
||||||
title: 'Learn to Code and Become a Software Engineer'
|
title: 'Learn to Code and Become a Software Engineer',
|
||||||
|
landingPage: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -226,10 +226,15 @@ ul {
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
}
|
}
|
||||||
|
@media (min-width: 767px) and (max-width: 890px) {
|
||||||
|
height: 30px;
|
||||||
|
margin-top: -5px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-right {
|
.navbar-right {
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 767px) {
|
||||||
padding-right: 50px;
|
padding-right: 50px;
|
||||||
}
|
}
|
||||||
@media (max-width: 991px) and (min-width: 768px) {
|
@media (max-width: 991px) and (min-width: 768px) {
|
||||||
|
@ -54,28 +54,28 @@ block content
|
|||||||
.text-center.negative-35
|
.text-center.negative-35
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.ion-social-html5
|
.landing-skill-icon.ion-social-html5
|
||||||
.black-text HTML5
|
h2.black-text HTML5
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.ion-social-css3
|
.landing-skill-icon.ion-social-css3
|
||||||
.black-text CSS3
|
h2.black-text CSS3
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.ion-social-javascript
|
.landing-skill-icon.ion-social-javascript
|
||||||
.black-text JavaScript
|
h2.black-text JavaScript
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.fa.fa-database.font-awesome-padding
|
.landing-skill-icon.fa.fa-database.font-awesome-padding
|
||||||
.black-text Databases
|
h2.black-text Databases
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.ion-social-chrome
|
.landing-skill-icon.ion-social-chrome
|
||||||
.black-text DevTools
|
h2.black-text DevTools
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.ion-social-nodejs
|
.landing-skill-icon.ion-social-nodejs
|
||||||
.black-text Node.js
|
h2.black-text Node.js
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.ion-social-angular
|
.landing-skill-icon.ion-social-angular
|
||||||
.black-text Angular.js
|
h2.black-text Angular.js
|
||||||
.col-xs-12.col-sm-12.col-md-3
|
.col-xs-12.col-sm-12.col-md-3
|
||||||
.landing-skill-icon.ion-ios-loop-strong
|
.landing-skill-icon.ion-ios-loop-strong
|
||||||
.black-text Agile
|
h2.black-text Agile
|
||||||
.big-break
|
.big-break
|
||||||
h2
|
h2
|
||||||
h2 Why you should join our community:
|
h2 Why you should join our community:
|
||||||
@ -86,4 +86,4 @@ block content
|
|||||||
li.ion-code Our community is 100% free and open source
|
li.ion-code Our community is 100% free and open source
|
||||||
li.ion-code We all share one goal: to boost our careers with code
|
li.ion-code We all share one goal: to boost our careers with code
|
||||||
.big-break
|
.big-break
|
||||||
a.btn.btn-cta.signup-btn(href="/login") Start learning to code (it's free)
|
a.btn.btn-cta.signup-btn(href="/login") Learn to code today (it's free)
|
@ -1,17 +1,18 @@
|
|||||||
.fcc-footer
|
- if (!landingPage)
|
||||||
.col-xs-12
|
.fcc-footer
|
||||||
a.ion-speakerphone(href='http://blog.freecodecamp.com', target='_blank')
|
.col-xs-12
|
||||||
|
|
a.ion-speakerphone(href='http://blog.freecodecamp.com', target='_blank')
|
||||||
a.ion-social-twitch-outline(title="Free Code Camp Live Pair Programming on Twitch.TV", href="http://www.twitch.tv/freecodecamp", target='_blank')
|
|
|
||||||
|
|
a.ion-social-twitch-outline(title="Free Code Camp Live Pair Programming on Twitch.TV", href="http://www.twitch.tv/freecodecamp", target='_blank')
|
||||||
a.ion-social-github(title="Free Code Camp on GitHub", href="http://github.com/freecodecamp", target='_blank')
|
|
|
||||||
|
|
a.ion-social-github(title="Free Code Camp on GitHub", href="http://github.com/freecodecamp", target='_blank')
|
||||||
a.ion-social-twitter(title="Free Code Camp on Twitter", href="http://twitter.com/freecodecamp", target='_blank')
|
|
|
||||||
|
|
a.ion-social-twitter(title="Free Code Camp on Twitter", href="http://twitter.com/freecodecamp", target='_blank')
|
||||||
a.ion-social-facebook(title="Free Code Camp on Facebook", href="http://facebook.com/freecodecamp", target='_blank')
|
|
|
||||||
|
|
a.ion-social-facebook(title="Free Code Camp on Facebook", href="http://facebook.com/freecodecamp", target='_blank')
|
||||||
a.ion-social-linkedin(title="Free Code Camp on LinkedIn", href="http://linkedin.com/company/4831032?free-code-camp", target='_blank')
|
|
|
||||||
|
|
a.ion-social-linkedin(title="Free Code Camp on LinkedIn", href="http://linkedin.com/company/4831032?free-code-camp", target='_blank')
|
||||||
a.ion-ios-information(title="About Free Code Camp", href="/learn-to-code")
|
|
|
||||||
|
|
a.ion-ios-information(title="About Free Code Camp", href="/learn-to-code")
|
||||||
a.ion-locked(title="Free Code Camp's Privacy Policy", href="/privacy")
|
|
|
||||||
|
a.ion-locked(title="Free Code Camp's Privacy Policy", href="/privacy")
|
@ -4,21 +4,19 @@ meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
|||||||
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
||||||
meta(name='csrf-token', content=_csrf)
|
meta(name='csrf-token', content=_csrf)
|
||||||
meta(name='keywords', content='learn to code, learn how to code, code, coding, software engineer, software developer, mean stack, pair programming, node.js, angular.js, express.js, mongoDB, coding bootcamp')
|
meta(name='keywords', content='learn to code, learn how to code, code, coding, software engineer, software developer, mean stack, pair programming, node.js, angular.js, express.js, mongoDB, coding bootcamp')
|
||||||
meta(content="Free Code Camp is a community of busy people who learn to code by collaborating on projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our coding bootcamp.", property="og:title")
|
meta(content="Free Code Camp is a community of busy people who learn to code by collaborating on projects for nonprofits. Build your full stack JavaScript Portfolio today.", property="og:title")
|
||||||
meta(content="FreeCodeCamp", property="og:site_name")
|
meta(content="FreeCodeCamp", property="og:site_name")
|
||||||
meta(name='twitter:widgets:csp', content='on')
|
meta(name='twitter:widgets:csp', content='on')
|
||||||
meta(name='p:domain_verify', content='d0bc047a482c03c24f1168004c2a216a')
|
meta(name='p:domain_verify', content='d0bc047a482c03c24f1168004c2a216a')
|
||||||
meta(content="http://www.freecodecamp.com", property="og:url")
|
meta(content="http://www.freecodecamp.com", property="og:url")
|
||||||
meta(content="Free Code Camp is a community of busy people who learn to code by collaborating on projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our coding bootcamp.", property="og:description")
|
meta(content="Free Code Camp is a community of busy people who learn to code by collaborating on projects for nonprofits. Build your full stack JavaScript Portfolio today.", property="og:description")
|
||||||
meta(content="https://pbs.twimg.com/profile_images/522961310212833280/XE6vGAaO.jpeg", property="og:image")
|
meta(content="https://pbs.twimg.com/profile_images/522961310212833280/XE6vGAaO.jpeg", property="og:image")
|
||||||
meta(content="article", property="og:type")
|
meta(content="article", property="og:type")
|
||||||
meta(content="https://www.facebook.com/freecodecamp", property="article:publisher")
|
meta(content="https://www.facebook.com/freecodecamp", property="article:publisher")
|
||||||
meta(content="Responsive", property="article:section")
|
meta(content="Responsive", property="article:section")
|
||||||
//meta(content="44011818", property="fb:admins")
|
link(href="https://plus.google.com/+Freecodecamp", rel="publisher")
|
||||||
//Google
|
link(href="https://plus.google.com/+Freecodecamp", rel="author")
|
||||||
meta(content="Free Code Camp is a community of busy people who learn to code by collaborating on projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our coding bootcamp.", name="description")
|
meta(content="Free Code Camp is a community of busy people who learn to code by collaborating on projects for nonprofits. Build your full stack JavaScript Portfolio today.", name="description")
|
||||||
link(href="https://plus.google.com/114148836969274586544", rel="author")
|
|
||||||
//Twitter
|
|
||||||
meta(content="@freecodecamp", name="twitter:creator")
|
meta(content="@freecodecamp", name="twitter:creator")
|
||||||
meta(content="http://www.freecodecamp.com", name="twitter:url")
|
meta(content="http://www.freecodecamp.com", name="twitter:url")
|
||||||
meta(content="@freecodecamp", name="twitter:site")
|
meta(content="@freecodecamp", name="twitter:site")
|
||||||
|
@ -7,7 +7,7 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
|
|||||||
span.icon-bar
|
span.icon-bar
|
||||||
span.icon-bar
|
span.icon-bar
|
||||||
a.navbar-brand(href='/')
|
a.navbar-brand(href='/')
|
||||||
img.img-responsive.nav-logo(src='https://s3.amazonaws.com/freecodecamp/freecodecamp_logo.svg')
|
img.img-responsive.nav-logo(src='https://s3.amazonaws.com/freecodecamp/freecodecamp_logo.svg', alt='learn to code javascript at Free Code Camp logo')
|
||||||
.collapse.navbar-collapse
|
.collapse.navbar-collapse
|
||||||
ul.nav.navbar-nav.navbar-right.hamburger-dropdown
|
ul.nav.navbar-nav.navbar-right.hamburger-dropdown
|
||||||
- if (!cc)
|
- if (!cc)
|
||||||
@ -30,6 +30,7 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
|
|||||||
a(href='http://forum.freecodecamp.com' target='_blank') Forum
|
a(href='http://forum.freecodecamp.com' target='_blank') Forum
|
||||||
li
|
li
|
||||||
a(href='/bonfire') Bonfire
|
a(href='/bonfire') Bonfire
|
||||||
|
li
|
||||||
if !user
|
if !user
|
||||||
li
|
li
|
||||||
a.btn.signup-btn.signup-btn-nav(href='/login') Sign in
|
a.btn.signup-btn.signup-btn-nav(href='/login') Sign in
|
||||||
|
Reference in New Issue
Block a user