Browse Source

End Shopify sponsorship

Thibaut 10 years ago
parent
commit
13db37979f

+ 1 - 1
README.md

@@ -3,7 +3,7 @@
 DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
 
 * Created by [Thibaut Courouble](http://thibaut.me)
-* Supported by [JetBrains](http://devdocs.io/s/jetbrains), [Code School](http://devdocs.io/s/code-school) and [Shopify](http://devdocs.io/s/shopify)
+* Supported by [JetBrains](http://devdocs.io/s/jetbrains) and [Code School](http://devdocs.io/s/code-school)
 
 Keep track of development and community news:
 

BIN
assets/images/shopify-bw.png


BIN
assets/images/shopify-bw@2x.png


BIN
assets/images/shopify.png


BIN
assets/images/shopify@2x.png


+ 0 - 1
assets/javascripts/templates/notif_tmpl.coffee

@@ -38,7 +38,6 @@ app.templates.notifThanks = ->
                 <ul class="_notif-list">
                   <li><a href="http://devdocs.io/s/jetbrains" target="_blank">JetBrains</a> — We make software development a more productive and enjoyable experience through smart IDEs and code editors.
                   <li><a href="http://devdocs.io/s/code-school" target="_blank">Code School</a> — Learn new skills from the comfort of your own browser. Offering more than 45 courses covering JavaScript, HTML/CSS, Ruby, Git, and iOS for only $29/month.
-                  <li><a href="http://devdocs.io/s/shopify" target="_blank">Shopify</a> — Interested in working on one of the biggest commerce platforms in the world, in a delightful work environment? We're hiring!
                 </ul>
                 <p class="_notif-text">Have a great day :) """
 

+ 2 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -13,7 +13,7 @@ app.templates.aboutPage = -> """
   <p>DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
   <ul>
     <li>Created and maintained by <a href="http://thibaut.me">Thibaut Courouble</a>
-    <li>Supported by <a href="http://devdocs.io/s/jetbrains">JetBrains</a>, <a href="http://devdocs.io/s/code-school">Code School</a> and <a href="http://devdocs.io/s/shopify">Shopify</a>
+    <li>Supported by <a href="http://devdocs.io/s/jetbrains">JetBrains</a> and <a href="http://devdocs.io/s/code-school">Code School</a>
     <li>Free and <a href="https://github.com/Thibaut/devdocs">open source</a>
         <iframe class="_github-btn" src="https://ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
   </ul>
@@ -31,6 +31,7 @@ app.templates.aboutPage = -> """
   <p><strong>Special thanks to:</strong>
   <ul>
     <li><a href="http://devdocs.io/s/maxcdn">MaxCDN</a> and <a href="http://get.gaug.es/?utm_source=devdocs&utm_medium=referral&utm_campaign=sponsorships" title="Real Time Web Analytics">Gauges</a> for offering a free account to DevDocs
+    <li><a href="http://devdocs.io/s/shopify">Shopify</a> for supporting DevDocs in the past
     <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service
     <li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms
     <li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo

+ 3 - 11
assets/javascripts/templates/pages/root_tmpl.coffee.erb

@@ -35,19 +35,11 @@ codeSchoolLink = (className) -> """
   </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 platforms in the world, in a delightful work environment? We're hiring developers, ops engineers, designers&hellip;</span>
-  </a>
-"""
-
 app.templates.splash = -> """
   <div class="_splash-title">DevDocs</div>
   <div class="_splash-sponsors">
     #{jetBrainsLink '_splash-sponsor'}
     #{codeSchoolLink '_splash-sponsor'}
-    #{shopifyLink '_splash-sponsor'}
   </div>
 """
 
@@ -72,7 +64,7 @@ app.templates.intro = """
       <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!
     </ol>
     <p class="_intro-sponsors">
-      #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} #{shopifyLink '_intro-sponsor'}
+      #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}
     <p>Happy coding!
   </div></div>
 """
@@ -96,7 +88,7 @@ app.templates.intro = """
       <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!
     </ol>
     <p class="_intro-sponsors">
-      #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} #{shopifyLink '_intro-sponsor'}
+      #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}
     <p>Happy coding!
   </div></div>
 """
@@ -124,7 +116,7 @@ app.templates.mobileIntro = """
       <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a>
     </ol>
     <p>Happy coding!
-    <p class="_intro-sponsors">#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} #{shopifyLink '_intro-sponsor'}</p>
+    <p class="_intro-sponsors">#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}</p>
     <a class="_intro-hide" data-hide-intro>Stop showing this message</a>
   </div>
 """

+ 0 - 23
assets/stylesheets/components/_content.scss

@@ -428,29 +428,6 @@
   :hover > & { opacity: 1; }
 }
 
-._shopify-logo {
-  width: 5.5rem;
-  background-image: image-url('shopify.png');
-  background-size: 5.5rem 1.5rem;
-
-  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
-    background-image: image-url('shopify@2x.png');
-  }
-}
-
-._splash-sponsor > ._shopify-logo {
-  background-image: image-url('shopify-bw.png');
-
-  @if $style == 'dark' {
-    filter: invert(100%);
-    -webkit-filter: invert(100%);
-  }
-
-  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
-    background-image: image-url('shopify-bw@2x.png');
-  }
-}
-
 ._jetbrains-logo {
   top: 1px;
   width: 5rem;

+ 0 - 4
views/manifest.erb

@@ -16,10 +16,6 @@ CACHE:
 <%= image_path 'code-school@2x.png' %>
 <%= image_path 'code-school-bw.png' %>
 <%= image_path 'code-school-bw@2x.png' %>
-<%= image_path 'shopify.png' %>
-<%= image_path 'shopify@2x.png' %>
-<%= image_path 'shopify-bw.png' %>
-<%= image_path 'shopify-bw@2x.png' %>
 <%= asset_path 'docs.js' %>
 <%= doc_index_urls.join "\n" %>