diff --git a/server/views/partials/flyer.jade b/server/views/partials/flyer.jade index a435be14bb..9d5a68635e 100644 --- a/server/views/partials/flyer.jade +++ b/server/views/partials/flyer.jade @@ -1,4 +1,4 @@ -if (user && user.points > 5) +if (user && user.points > 15) .container .row.flashMessage.negative-30 .col-xs-12 diff --git a/server/views/resources/shop.jade b/server/views/resources/shop.jade index ca66cf348f..06f94f35d1 100644 --- a/server/views/resources/shop.jade +++ b/server/views/resources/shop.jade @@ -3,7 +3,7 @@ block content h2.text-center Buy cool things and support our open source community hr .row - .col-xs-12.col-sm-8.col-sm-offset-2.col-md-6.col-md-offset-3.text-center + .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2.text-center img.img-responsive.img-center(src='//i.imgur.com/FNFqn9Tg.jpg') h3 Free Code Camp laptop stickers h4 Get 2 for only $5, with free shipping anywhere! @@ -12,20 +12,60 @@ block content
- +
hr .row - .col-xs-12.col-sm-8.col-sm-offset-2.col-md-6.col-md-offset-3.text-center + .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2.text-center img.img-responsive.img-center(src='//i.imgur.com/BTtb8P0g.jpg') h3 Get a $10 credit your own Digital Ocean server. - p After you spend $25, our community gets a $25 credit. - a.btn.btn-cta.signup-btn.btn-block#digital-ocean-cta(href="//m.do.co/c/ba8a71773373" target='_blank' onClick="ga('send', 'event', 'SHOP', 'SHOP-DIGITAL-OCEAN', 'Digital Ocean affiliate button clicked');") Claim your $10 credit + p Digital Ocean gives our community a $25 credit after you spend $25. + a.btn.btn-cta.signup-btn.btn-block(href="//m.do.co/c/ba8a71773373" target='_blank' onClick="ga('send', 'event', 'SHOP', 'SHOP-DIGITAL-OCEAN', 'Digital Ocean affiliate button clicked');") Claim your $10 credit now hr .row - .col-xs-12.col-sm-8.col-sm-offset-2.col-md-6.col-md-offset-3.text-center + .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2.text-center img.img-responsive.img-center(src='http://i.imgur.com/YqZqTN6g.jpg') h3 Buy some affordable domain names. - p Our community gets a 15% of your first purchase. - a.btn.btn-cta.signup-btn.btn-block#namecheap-cta(href="//www.namecheap.com/?aff=102130" onClick="ga('send', 'event', 'SHOP', 'SHOP-NAMECHEAP', 'Namecheap affiliate button clicked');") Claim your domain names \ No newline at end of file + p Namecheap gives our community a 15% commission on your first purchase. + a.btn.btn-cta.signup-btn.btn-block(href="//www.namecheap.com/?aff=102130" onClick="ga('send', 'event', 'SHOP', 'SHOP-NAMECHEAP', 'Namecheap affiliate button clicked');") Get your domain name now + + hr + .row + .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2.text-center + h2 Books our community recommends + p Amazon gives our community a commission if you make a purchase right after clicking one of these buttons. + .spacer + img.img-responsive.img-center(src='//i.imgur.com/hV9F2bo.jpg' alt='Cracking the Coding Interivew book cover') + .button-spacer + a.btn.signup-btn(href="//www.amazon.com/gp/product/0984782850/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0984782850&linkCode=as2&tag=out0b4b-20&linkId=41b9f338b2a1a8ba00d67f944f68a982" onClick="ga('send', 'event', 'SHOP', 'SHOP-CRACKING', 'Cracking the Code Interivew affiliate button clicked');" target='_blank') Buy "Cracking the Coding Interview" on Amazon + .spacer + hr + .spacer + img.img-responsive.img-center(src='//i.imgur.com/rLN9oKk.jpg' alt='JavaScript: The Definitive Guide book cover') + .button-spacer + a.btn.signup-btn(href="//www.amazon.com/gp/product/0596805527/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0596805527&linkCode=as2&tag=out0b4b-20&linkId=f490d30d420bf57fc1efe2de57eece65" onClick="ga('send', 'event', 'SHOP', 'SHOP-JS-DIFINITIVE-GUIDE', 'JavaScript the Definitive Guide affiliate button clicked');" target='_blank') Buy "JavaScript: the Definitive Guide" on Amazon + .spacer + hr + .spacer + img.img-responsive.img-center(src='//i.imgur.com/KU60I7r.jpg' alt='How Linux Works: What Every Superuser Should Know book cover') + .button-spacer + a.btn.signup-btn(href="//www.amazon.com/gp/product/1593275676/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1593275676&linkCode=as2&tag=out0b4b-20&linkId=a6a83ec9ed8d137f3ff56fbcfc6c05ce" onClick="ga('send', 'event', 'SHOP', 'SHOP-HOW-LINUX-WORKS', 'How Linux Works affiliate button clicked');" target='_blank') Buy "How Linux Works" on Amazon + .spacer + hr + .spacer + img.img-responsive.img-center(src='//i.imgur.com/nR4VIU4.jpg' alt='JavaScript: The Good Parts book cover') + .button-spacer + a.btn.signup-btn(href="//www.amazon.com/gp/product/0596517742/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0596517742&linkCode=as2&tag=out0b4b-20&linkId=644f8ba9661c9db7dd4bb3ff6216a8d1" onClick="ga('send', 'event', 'SHOP', 'SHOP-JAVASCRIPT-THE-GOOD-PARTS', 'JavaScript the Good Parts affiliate button clicked');" target='_blank') Buy "JavaScript: The Good Parts" on Amazon + .spacer + hr + .spacer + img.img-responsive.img-center(src='//i.imgur.com/CR2dSql.jpg' alt='Eloquent JavaScript: A Modern Introduction to Programming book cover') + .button-spacer + a.btn.signup-btn(href="//www.amazon.com/gp/product/1593272820/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1593272820&linkCode=as2&tag=out0b4b-20&linkId=c1c6d7e0eed6ae696a4bffe7eb935711" onClick="ga('send', 'event', 'SHOP', 'SHOP-ELOQUENT-JAVASCRIPT', 'Eloquent JavaScript affiliate button clicked');" target='_blank') Buy "Elopquent JavaScript" on Amazon + .spacer + hr + .spacer + img.img-responsive.img-center(src='//i.imgur.com/IplEMb4.jpg' alt='JavaScript and jQuery: Interactive Front End Development') + .button-spacer + a.btn.signup-btn(href="//www.amazon.com/gp/product/1118531647/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1118531647&linkCode=as2&tag=out0b4b-20&linkId=fdce3ef75bf3cd1cb220020a595decba" onClick="ga('send', 'event', 'SHOP', 'SHOP-JAVASCRIPT-AND-JQUERY', 'JavaScript and jQuery affiliate button clicked');" target='_blank') Buy "JavaScript and jQuery" on Amazon \ No newline at end of file