add selfie notification modal and camper news ad

This commit is contained in:
Quincy Larson
2015-07-05 22:51:59 -07:00
parent 1ddd91c7de
commit 2d2c7f0808
2 changed files with 25 additions and 19 deletions

View File

@ -83,21 +83,21 @@ block content
li.large-p.negative-10 li.large-p.negative-10
a(href="/challenges/#{challenge.name}")= challenge.name a(href="/challenges/#{challenge.name}")= challenge.name
//#announcementModal.modal(tabindex='-1') #announcementModal.modal(tabindex='-1')
// .modal-dialog.animated.fadeInUp.fast-animation .modal-dialog.animated.fadeInUp.fast-animation
// .modal-content .modal-content
// .modal-header.challenge-list-header Add us to your LinkedIn profile .modal-header.challenge-list-header Share your workspace selfie
// a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') × a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
// .modal-body .modal-body
// h3.text-left LinkedIn now recognizes Free Code Camp as a university. h3.text-left Your workspace selfie should be part of our upcoming mosaic.
// img.img-responsive.img-center(src='https://www.evernote.com/l/AHTzkHwtg-BHj57bqqDL7WFF8WgrI5V8cxwB/image.png') img.img-responsive.img-center(src='https://www.evernote.com/l/Ajm69Uj6uvJLzo7PAj8wGjjbSvGyN0ME-5YB/image.png')
// h3.text-left It takes less than a minute to add Free Code Camp to your LinkedIn profile. h3.text-left Take a selfie of you at your workspace with Free Code Camp open.
// a.btn.btn-lg.btn-info.btn-block(name='_csrf', value=_csrf, aria-hidden='true', href='/linkedin', target='_blank') Show me how to do this h3.text-left Share it on Instagram, Twitter or Facebook with the hashtag #freecodecamp.
// a.btn.btn-lg.btn-primary.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Thanks for the heads-up a.btn.btn-lg.btn-primary.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Thanks for the heads-up
//script. script.
// $(document).ready(function () { $(document).ready(function () {
// if (!localStorage || !localStorage.linkedIn) { if (!localStorage || !localStorage.selfie) {
// $('#announcementModal').modal('show'); $('#announcementModal').modal('show');
// localStorage.linkedIn = "true"; localStorage.selfie = "true";
// } }
// }); });

View File

@ -11,7 +11,13 @@
input#searchArea.big-text-field.field-responsive.form-control(type='text', placeholder='Search our links') input#searchArea.big-text-field.field-responsive.form-control(type='text', placeholder='Search our links')
span.input-group-btn span.input-group-btn
button#searchbutton.btn.btn-big.btn-primary.btn-responsive(type='button') Search button#searchbutton.btn.btn-big.btn-primary.btn-responsive(type='button') Search
.spacer
.row
.col-xs-12.col-sm-8.col-sm-offset-2.well
h3.text-center Your workspace selfie should be part of our upcoming mosaic.
img.img-responsive(src='https://www.evernote.com/l/Ajm69Uj6uvJLzo7PAj8wGjjbSvGyN0ME-5YB/image.png')
p.large-p Take a selfie of you at your workspace with Free Code Camp open.
p.large-p Share it on Instagram, Twitter or Facebook with the hashtag #freecodecamp.
.spacer .spacer
#search-results #search-results