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
a(href="/challenges/#{challenge.name}")= challenge.name
//#announcementModal.modal(tabindex='-1')
// .modal-dialog.animated.fadeInUp.fast-animation
// .modal-content
// .modal-header.challenge-list-header Add us to your LinkedIn profile
// a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
// .modal-body
// h3.text-left LinkedIn now recognizes Free Code Camp as a university.
// img.img-responsive.img-center(src='https://www.evernote.com/l/AHTzkHwtg-BHj57bqqDL7WFF8WgrI5V8cxwB/image.png')
// h3.text-left It takes less than a minute to add Free Code Camp to your LinkedIn profile.
// 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
// a.btn.btn-lg.btn-primary.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Thanks for the heads-up
//script.
// $(document).ready(function () {
// if (!localStorage || !localStorage.linkedIn) {
// $('#announcementModal').modal('show');
// localStorage.linkedIn = "true";
// }
// });
#announcementModal.modal(tabindex='-1')
.modal-dialog.animated.fadeInUp.fast-animation
.modal-content
.modal-header.challenge-list-header Share your workspace selfie
a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
.modal-body
h3.text-left Your workspace selfie should be part of our upcoming mosaic.
img.img-responsive.img-center(src='https://www.evernote.com/l/Ajm69Uj6uvJLzo7PAj8wGjjbSvGyN0ME-5YB/image.png')
h3.text-left Take a selfie of you at your workspace with Free Code Camp open.
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
script.
$(document).ready(function () {
if (!localStorage || !localStorage.selfie) {
$('#announcementModal').modal('show');
localStorage.selfie = "true";
}
});

View File

@ -11,7 +11,13 @@
input#searchArea.big-text-field.field-responsive.form-control(type='text', placeholder='Search our links')
span.input-group-btn
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
#search-results