add gitter issue modal, add twitch announcement to news

This commit is contained in:
Quincy Larson
2015-07-15 22:43:28 -07:00
parent 3dbcb561e4
commit e9da8afd5a
3 changed files with 22 additions and 23 deletions

View File

@ -83,20 +83,20 @@ 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 Our chat is slow right now
// a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
// .modal-body
// h3.text-left Please note that Gitter.im, our chat client, is really slow right now.
// h3.text-left Gitter is working to fix this ASAP. If you can't join our chat room, please try again later.
// h3.text-left Thank you for your patience. In the meantime, happy coding!
// 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.gitter) {
// $('#announcementModal').modal('show');
// localStorage.gitter = "true";
// }
// });
#announcementModal.modal(tabindex='-1')
.modal-dialog.animated.fadeInUp.fast-animation
.modal-content
.modal-header.challenge-list-header Our chat is slow right now
a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
.modal-body
h3.text-left Please note that Gitter.im, our chat client, isn't working properly right now.
h3.text-left Gitter is working to fix this ASAP. If you can't join our chat room, please try again later.
h3.text-left Thank you for your patience. In the meantime, happy coding!
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.gitter1) {
$('#announcementModal').modal('show');
localStorage.gitter1 = "true";
}
});

View File

@ -2,7 +2,7 @@
.col-xs-12.hidden-xs.hidden-sm
a.ion-speakerphone(href='http://blog.freecodecamp.com', target='_blank')  Blog  
a.ion-social-github(href="http://github.com/freecodecamp", target='_blank')  GitHub  
a.ion-social-twitch-outline(href="/twitch")  Twitch 
a.ion-social-twitch-outline(href="//twitch.tv/freecodecamp", target='_blank')  Twitch 
a.ion-social-linkedin(href="/linkedin")  LinkedIn 
a.ion-social-facebook(href="/field-guide/how-can-i-find-other-free-code-camp-campers-in-my-city")  Facebook  
a.ion-social-twitter(href="http://twitter.com/freecodecamp", target='_blank')  Twitter  
@ -12,7 +12,7 @@
span.sr-only Free Code Camp's Blog
a.ion-social-github(href="http://github.com/freecodecamp", target='_blank')
span.sr-only Free Code Camp on GitHub
a.ion-social-twitch-outline(href="/twitch")
a.ion-social-twitch-outline(href="//twitch.tv/freecodecamp", target='_blank')
span.sr-only Free Code Camp Live Pair Programming on Twitch.tv
a.ion-social-linkedin(href="/linkedin")
span.sr-only Free Code Camp LinkedIn Alumni Network

View File

@ -14,10 +14,9 @@
.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.
h3.text-center Watch us Code Games Live All Weekend
img.img-responsive.img-center(src='https://www.evernote.com/l/AjnoItzbAtJEfKPD85t0waxHGgpMyr_G_qkB/image.png')
p.large-p We'll build JavaScript games all weekend and stream it all live. You should follow our <a href='http://twitch.tv/freecodecamp'>Twitch.tv channel</a>. See you there!
.spacer
#search-results