diff --git a/controllers/home.js b/controllers/home.js index 343a28a9c5..3105d1ea10 100644 --- a/controllers/home.js +++ b/controllers/home.js @@ -17,7 +17,8 @@ exports.index = function(req, res) { } } else { res.render('home', { - title: 'Learn to Code and Become a Software Engineer' + title: 'Learn to Code and Become a Software Engineer', + landingPage: true }); } }; diff --git a/public/css/main.less b/public/css/main.less index 2265e963a5..85eb845b87 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -226,10 +226,15 @@ ul { height: 30px; margin-top: -5px; } + @media (min-width: 767px) and (max-width: 890px) { + height: 30px; + margin-top: -5px; + } + } .navbar-right { - @media (min-width: 768px) { + @media (min-width: 767px) { padding-right: 50px; } @media (max-width: 991px) and (min-width: 768px) { diff --git a/views/home.jade b/views/home.jade index 3cdee09277..9023cf6c86 100644 --- a/views/home.jade +++ b/views/home.jade @@ -54,28 +54,28 @@ block content .text-center.negative-35 .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-html5 - .black-text HTML5 + h2.black-text HTML5 .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-css3 - .black-text CSS3 + h2.black-text CSS3 .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-javascript - .black-text JavaScript + h2.black-text JavaScript .col-xs-12.col-sm-12.col-md-3 .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 .landing-skill-icon.ion-social-chrome - .black-text DevTools + h2.black-text DevTools .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-nodejs - .black-text Node.js + h2.black-text Node.js .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-angular - .black-text Angular.js + h2.black-text Angular.js .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-ios-loop-strong - .black-text Agile + h2.black-text Agile .big-break h2   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   We all share one goal: to boost our careers with code .big-break - a.btn.btn-cta.signup-btn(href="/login") Start learning to code (it's free) \ No newline at end of file + a.btn.btn-cta.signup-btn(href="/login") Learn to code today (it's free) \ No newline at end of file diff --git a/views/partials/footer.jade b/views/partials/footer.jade index ff943629bc..93abc56865 100644 --- a/views/partials/footer.jade +++ b/views/partials/footer.jade @@ -1,17 +1,18 @@ -.fcc-footer - .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-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-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-ios-information(title="About Free Code Camp", href="/learn-to-code") - |   - a.ion-locked(title="Free Code Camp's Privacy Policy", href="/privacy") +- if (!landingPage) + .fcc-footer + .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-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-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-ios-information(title="About Free Code Camp", href="/learn-to-code") + |   + a.ion-locked(title="Free Code Camp's Privacy Policy", href="/privacy") \ No newline at end of file diff --git a/views/partials/meta.jade b/views/partials/meta.jade index 9963795522..08b6c1cc1f 100644 --- a/views/partials/meta.jade +++ b/views/partials/meta.jade @@ -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='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(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(name='twitter:widgets:csp', content='on') meta(name='p:domain_verify', content='d0bc047a482c03c24f1168004c2a216a') 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="article", property="og:type") meta(content="https://www.facebook.com/freecodecamp", property="article:publisher") meta(content="Responsive", property="article:section") -//meta(content="44011818", property="fb:admins") -//Google -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") -link(href="https://plus.google.com/114148836969274586544", rel="author") -//Twitter +link(href="https://plus.google.com/+Freecodecamp", rel="publisher") +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. Build your full stack JavaScript Portfolio today.", name="description") meta(content="@freecodecamp", name="twitter:creator") meta(content="http://www.freecodecamp.com", name="twitter:url") meta(content="@freecodecamp", name="twitter:site") diff --git a/views/partials/navbar.jade b/views/partials/navbar.jade index 595c161e4d..6a026ed505 100644 --- a/views/partials/navbar.jade +++ b/views/partials/navbar.jade @@ -7,7 +7,7 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height span.icon-bar span.icon-bar 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 ul.nav.navbar-nav.navbar-right.hamburger-dropdown - if (!cc) @@ -30,6 +30,7 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height a(href='http://forum.freecodecamp.com' target='_blank') Forum li a(href='/bonfire') Bonfire + li       if !user li a.btn.signup-btn.signup-btn-nav(href='/login') Sign in