Added OSTraining and Breakout Mentors resources.
This commit is contained in:
parent
8673cca96c
commit
7f41ad6c52
2 changed files with 10 additions and 1 deletions
|
@ -14,6 +14,14 @@ if docs.length === 1
|
||||||
hr
|
hr
|
||||||
h3 Want more programming lessons?
|
h3 Want more programming lessons?
|
||||||
ul
|
ul
|
||||||
|
li
|
||||||
|
strong
|
||||||
|
a(class="resource-link", data-resource="breakout-mentors", href='http://breakoutmentors.com/?referral=codecombat') Breakout Mentors
|
||||||
|
| : Personalized code mentoring for kids from Stanford and UC Berkeley mentors, online or in person.
|
||||||
|
li
|
||||||
|
strong
|
||||||
|
a(class="resource-link", data-resource="ostraining", href='https://www.ostraining.com/codecombat/') OSTraining
|
||||||
|
| : Watch over 2600 videos on how to make great websites with Wordpress, Drupal, Joomla, and more.
|
||||||
li
|
li
|
||||||
strong
|
strong
|
||||||
a(class="resource-link", data-resource="one-month", href='http://mbsy.co/bVRtZ') One Month
|
a(class="resource-link", data-resource="one-month", href='http://mbsy.co/bVRtZ') One Month
|
||||||
|
|
|
@ -727,8 +727,9 @@ sendNextStepsEmail = (user, now, daysAgo) ->
|
||||||
'maker-square': isAdult and isFast
|
'maker-square': isAdult and isFast
|
||||||
'the-firehose-project': isAdult and isFast
|
'the-firehose-project': isAdult and isFast
|
||||||
#'mv-code-club': isKid # TODO: geodetect, get landing page URL
|
#'mv-code-club': isKid # TODO: geodetect, get landing page URL
|
||||||
|
'breakout-mentors': isKid
|
||||||
nAdditionalOffers = Math.max 0, 4 - _.filter(offers).length
|
nAdditionalOffers = Math.max 0, 4 - _.filter(offers).length
|
||||||
possibleAdditionalOffers = ['code-school', 'one-month', 'learnable', 'pluralsight']
|
possibleAdditionalOffers = ['ostraining', 'code-school', 'one-month', 'learnable', 'pluralsight']
|
||||||
for offer in _.sample possibleAdditionalOffers, nAdditionalOffers
|
for offer in _.sample possibleAdditionalOffers, nAdditionalOffers
|
||||||
offers[offer] = true
|
offers[offer] = true
|
||||||
if user.isPremium()
|
if user.isPremium()
|
||||||
|
|
Reference in a new issue