improvements and fixes for our field guide. Add 20 day announcement modal
This commit is contained in:
@@ -110,21 +110,21 @@ block content
|
||||
a(href="/nonprofits/directory") Browse our nonprofit projects
|
||||
p * Complete all Waypoints, Bonfires, Ziplines and Basejumps to be assigned your first nonprofit project
|
||||
|
||||
//#announcementModal.modal(tabindex='-1')
|
||||
// .modal-dialog
|
||||
// .modal-content
|
||||
// .modal-header.challenge-list-header We've updated our curriculum
|
||||
// a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
|
||||
// .modal-body
|
||||
// h3.text-left We now have a 1,600 hour curriculum and tons of new challenges. Read more about it
|
||||
// a(href='http://blog.freecodecamp.com', target='_blank') here
|
||||
// | .
|
||||
// a.btn.btn-lg.btn-info.btn-block(name='_csrf', value=_csrf, aria-hidden='true', href='http://blog.freecodecamp.com/', target='_blank') Take me to the blog post.
|
||||
// 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.newCurriculum) {
|
||||
// $('#announcementModal').modal('show');
|
||||
// localStorage.campWideMeeting = "true";
|
||||
// }
|
||||
// });
|
||||
#announcementModal.modal(tabindex='-1')
|
||||
.modal-dialog
|
||||
.modal-content
|
||||
.modal-header.challenge-list-header Join our Saturday Summit!
|
||||
a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
|
||||
.modal-body
|
||||
h3.text-left We'll live-stream our Saturday Summit on Saturday at Noon EST. Join us as our community celebrates turning 200 days old. We'll have brief announcements and demos of Nonprofit Projects from our campers!  
|
||||
a(href='http://www.freecodecamp.com/twitch', target='_blank') Add it to your calendar here
|
||||
| .
|
||||
a.btn.btn-lg.btn-info.btn-block(name='_csrf', value=_csrf, aria-hidden='true', href='http://freecodecamp.com/twitch', target='_blank') Take me the broadcast calendar.
|
||||
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.day200) {
|
||||
$('#announcementModal').modal('show');
|
||||
localStorage.day200 = "true";
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user