jetBrainsLink = (className) ->
type = jetBrainsType()
path = "/#{type}" if type
"""
JetBrains#{JETBRAINS_INFO[type || 'default']}
"""
JETBRAINS_INFO =
ruby: 'Developing in Ruby? Boost your productivity with RubyMine, a powerful IDE with smart coding assistance and advanced testing and debugging features.'
python: 'Developing in Python? Enjoy productive development with PyCharm, an intelligent Python IDE offering unique coding experience.'
c: 'Developing in C? Now benefit from CLion, a C/C++ IDE enhancing your productivity with on-thy-fly static analysis and automated refactorings.'
web: 'Doing client-side development? Try WebStorm, an IDE that really understands JavaScript and modern frameworks like AngularJS and boosts your productivity.'
default: 'JetBrains makes software development a more productive and enjoyable experience through smart IDEs and code editors.'
jetBrainsType = ->
docs = if app.settings then app.settings.getDocs() else []
if docs.indexOf('ruby') != -1
'ruby'
else if docs.indexOf('python') != -1 || docs.indexOf('python2') != -1
'python'
else if docs.indexOf('c') != -1 or docs.indexOf('cpp') != -1
'c'
else if docs.indexOf('javascript') != -1 or docs.indexOf('jquery') != -1
'web'
codeSchoolLink = (className) -> """
Code SchoolWith more than 45 courses covering JavaScript, HTML/CSS, Ruby, Git, and iOS, Code School pairs experienced instructors with engaging content. Start learning at codeschool.com.
"""
shopifyLink = (className) -> """
ShopifyInterested in working on one of the biggest commerce platforms in the world, in a delightful work environment? We're hiring developers, ops engineers, designers…
"""
app.templates.splash = -> """