diff --git a/README.md b/README.md
index 5f68f931..6e1945ac 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,6 @@
DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
* Created by [Thibaut Courouble](http://thibaut.me)
-* Sponsored by [Code School](http://out.devdocs.io/s/code-school)
Keep track of development and community news:
diff --git a/assets/images/code-school-bw.png b/assets/images/code-school-bw.png
deleted file mode 100644
index ad9179ac..00000000
Binary files a/assets/images/code-school-bw.png and /dev/null differ
diff --git a/assets/images/code-school-bw@2x.png b/assets/images/code-school-bw@2x.png
deleted file mode 100644
index 5d4210a4..00000000
Binary files a/assets/images/code-school-bw@2x.png and /dev/null differ
diff --git a/assets/images/code-school.png b/assets/images/code-school.png
deleted file mode 100644
index 4b059916..00000000
Binary files a/assets/images/code-school.png and /dev/null differ
diff --git a/assets/images/code-school@2x.png b/assets/images/code-school@2x.png
deleted file mode 100644
index 125894e8..00000000
Binary files a/assets/images/code-school@2x.png and /dev/null differ
diff --git a/assets/javascripts/app/app.coffee b/assets/javascripts/app/app.coffee
index fd5c57a3..96732ecc 100644
--- a/assets/javascripts/app/app.coffee
+++ b/assets/javascripts/app/app.coffee
@@ -116,7 +116,6 @@
visitCount = @settings.get('count')
@settings.set 'count', ++visitCount
new app.views.Notif 'Share', autoHide: null if visitCount is 5
- new app.views.Notif 'Thanks', autoHide: null if visitCount is 10
new app.views.News()
@updateChecker = new app.UpdateChecker()
diff --git a/assets/javascripts/templates/notif_tmpl.coffee b/assets/javascripts/templates/notif_tmpl.coffee
index b71dca94..767947a2 100644
--- a/assets/javascripts/templates/notif_tmpl.coffee
+++ b/assets/javascripts/templates/notif_tmpl.coffee
@@ -32,14 +32,6 @@ app.templates.notifShare = ->
Twitter, Facebook,
Reddit, etc.
Thanks :) """
-app.templates.notifThanks = ->
- textNotif """ Hi there! """,
- """
Like DevDocs? Check out these awesome companies who are making it possible: -
Have a great day :) """ - app.templates.notifUpdateDocs = -> textNotif """ Documentation updates available. """, """ Install them as soon as possible to avoid broken pages. """ diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index af5a0bf7..bcf46dd8 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -13,7 +13,6 @@ app.templates.aboutPage = -> """
DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
Special thanks to:
#{codeSchoolLink '_intro-sponsor'}
Happy coding! """ @@ -53,7 +42,6 @@ app.templates.intro = """
#{codeSchoolLink '_intro-sponsor'}
Happy coding! """ @@ -81,7 +69,6 @@ app.templates.mobileIntro = """
Happy coding! -
#{codeSchoolLink '_intro-sponsor'}
Stop showing this message """ diff --git a/assets/stylesheets/components/_content.scss b/assets/stylesheets/components/_content.scss index 2d55b6ad..adc2522d 100644 --- a/assets/stylesheets/components/_content.scss +++ b/assets/stylesheets/components/_content.scss @@ -72,31 +72,6 @@ @extend ._booting:before, %user-select-none; } -._splash-sponsors { - position: absolute; - top: 50%; - left: 0; - right: 0; - margin-top: 1.25rem; - text-align: center; - line-height: 2rem; -} - -._splash-sponsor { - position: relative; - display: inline-block; - vertical-align: top; - margin: .5rem 1.5rem; - - ._logo-thx { opacity: .3; } - &:hover ._logo-thx { opacity: .6; } - - ._logo-info { - right: 50%; - margin-right: -9rem; - } -} - // // Intro // @@ -132,22 +107,6 @@ ._intro-link { cursor: pointer; } -._intro-sponsors { - position: absolute; - bottom: 1rem; - right: 1rem; - margin: 0; - line-height: 1.5rem; -} - -._intro-sponsor { - display: inline-block; - vertical-align: top; - margin-left: .5em; - - &:hover { text-decoration: none; } -} - // // Error // @@ -429,52 +388,3 @@ vertical-align: text-top; margin-left: .25rem; } - -._logo-thx { - position: relative; - display: inline-block; - vertical-align: top; - height: 1.5rem; - overflow: hidden; - text-indent: -20rem; - background-position: center center; - background-repeat: no-repeat; -} - -._logo-info { - top: auto; - bottom: 100%; - right: 0; - max-width: 18.25rem; - margin-bottom: .75rem; - padding: .5rem .75rem; - line-height: 1.375rem; - text-align: left; - pointer-events: none; - @extend %notif; - - :hover > & { opacity: 1; } -} - -._code-school-logo { - width: 7rem; - background-image: image-url('code-school.png'); - background-size: 7rem 1.25rem; - - @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { - background-image: image-url('code-school@2x.png'); - } -} - -._splash-sponsor > ._code-school-logo { - background-image: image-url('code-school-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('code-school-bw@2x.png'); - } -} diff --git a/views/manifest.erb b/views/manifest.erb index db119a70..665426eb 100644 --- a/views/manifest.erb +++ b/views/manifest.erb @@ -8,10 +8,6 @@ CACHE: <%= stylesheet_path 'application-dark' %> <%= image_path 'icons.png' %> <%= image_path 'icons@2x.png' %> -<%= image_path 'code-school.png' %> -<%= image_path 'code-school@2x.png' %> -<%= image_path 'code-school-bw.png' %> -<%= image_path 'code-school-bw@2x.png' %> <%= asset_path 'docs.js' %> <%= doc_index_urls.join "\n" %>