@ -1,7 +1,21 @@
maxcdnLink = (className) -> """
<a href="http://devdocs.io/s/maxcdn" class="#{className}">
<span class="_logo-thx _maxcdn-logo">MaxCDN</span>
<span class="_logo-info">MaxCDN has been supporting DevDocs since day one. They provide CDN solutions that make DevDocs and countless other sites faster.</span>
</a>
"""
shopifyLink = (className) -> """
<a href="http://devdocs.io/s/shopify" class="#{className}">
<span class="_logo-thx _shopify-logo">Shopify</span>
<span class="_logo-info">Interested in working on one of the biggest commerce platform in the world, in a delightful work environment? We're hiring developers, ops engineers, designers…</span>
</a>
"""
app.templates.splash = """
<div class="_splash-title">DevDocs</div>
<a href="http://www.maxcdn.com" class="_splash-maxcdn">Sponsored by<span class="_maxcdn-logo-bw"> MaxCDN</span></a>
<a href="https://gratipay.com/Thibaut/" class="_splash-gratipay">Support on<span class="_gratipay-logo-bw"> Gratipay</span></a>
#{maxcdnLink '_splash-sponsor'}
#{shopifyLink '_splash-sponsor'}
"""
<% if App.development? %>
@ -24,7 +38,8 @@ app.templates.intro = """
<a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files.
<li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/Thibaut/">Gratipay</a>. Thanks!
</ol>
<a href="http://www.maxcdn.com" class="_intro-maxcdn">Sponsored by<span class="_maxcdn-logo"> MaxCDN</span></a>
<p class="_intro-sponsors">
Thanks to#{shopifyLink '_intro-sponsor'} #{maxcdnLink '_intro-sponsor'}
<p>That's all. Happy coding!
</div></div>
"""
@ -47,7 +62,8 @@ app.templates.intro = """
<iframe class="_github-btn" src="http://ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
<li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/Thibaut/">Gratipay</a>. Thanks!
</ol>
<a href="http://www.maxcdn.com" class="_intro-maxcdn">Sponsored by<span class="_maxcdn-logo"> MaxCDN</span></a>
<p class="_intro-sponsors">
Thanks to#{shopifyLink '_intro-sponsor'} #{maxcdnLink '_intro-sponsor'}
<p>That's all. Happy coding!
</div></div>
"""
@ -74,7 +90,7 @@ app.templates.mobileIntro = """
<li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a>
</ol>
<p>That's all. Happy coding!
<p class="_intro-maxcdn">Sponsored by <a href="http://www.maxcdn.com" class="_intro-maxcdn-logo">MaxCDN</a> </p>
<p class="_intro-sponsors">#{shopifyLink '_intro-sponsor'} #{maxcdnLink '_intro-sponsor'} </p>
<a class="_intro-hide" data-hide-intro>Stop showing this message</a>
</div>
"""