add selfie notification modal and camper news ad
This commit is contained in:
@ -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";
|
||||
}
|
||||
});
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user