update live-pair-programming view and whitelist youtube

This commit is contained in:
Michael Q Larson
2014-12-29 22:56:53 -08:00
parent c896584b21
commit 3b7c34d442
2 changed files with 9 additions and 6 deletions

3
app.js
View File

@ -153,7 +153,8 @@ app.use(helmet.contentSecurityPolicy({
'*.gitter.im',
'*.vimeo.com',
'*.twitter.com',
'*.rafflecopter.com'
'*.rafflecopter.com',
'*.youtube.com'
],
reportOnly: false, // set to true if you only want to report errors
setAllHeaders: false, // set to true if you want to set all headers

View File

@ -2,10 +2,12 @@ extends ../layout
block content
.jumbotron.negative-15.text-center
h1.hug-top Live Pair Programming
h2 We live pair program every Tuesday from 6 p.m. to 7 p.m. (Pacific Time). Our next session is December 30th.
br
a.btn.btn-cta.signup-btn.btn-primary(href="http://www.crowdcast.io/e/freecodecamp-live_2" target='_blank') Watch our most recent pair programming video
p Got 3 minutes? Start learning to code with us!
br
h2 We live pair program every Tuesday from 6 p.m. to 7 p.m. (Pacific Time).
h2 Our next session is December 30th.
a.btn.btn-big.btn-primary.big-break(href="http://www.crowdcast.io/e/freecodecamp-live-pair-programming-3" target='_blank') Watch us Pair Program on JavaScript Algorithms
h2 Previous Live Pair Programming Sessions
.embed-responsive.embed-responsive-16by9.big-break
iframe.embed-responsive-item(src='//www.youtube.com/embed/19pP2pvZuBs')
h3 Got 3 minutes? Learn to code with us!
a.btn.btn-cta.signup-btn.btn-primary(href="/login") Start learning to code (it's free)
br