Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sponsors list to footer #4424

Merged
merged 3 commits into from Aug 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/sponsors.rst
Expand Up @@ -11,6 +11,7 @@ Current sponsors

* `Rackspace`_ - They cover all of our hosting expenses every month. This is a pretty large sum of money, averaging around $3,000/mo, and we are really grateful to have them as a sponsor.
* `Mozilla`_ - Mozilla has given us a `MOSS grant`_ for building specific features, and have funded Eric Holscher to work on Read the Docs at $1,000/mo for 2016.
* `Cloudflare`_ - Cloudflare is providing us with an enterprise plan of their SSL for SaaS Providers product that enables us to provide SSL certificates for custom domains.
* You? (Email us at rev@readthedocs.org for more info)

Past sponsors
Expand All @@ -32,6 +33,7 @@ Past sponsors
.. _Rackspace: http://www.rackspace.com/
.. _Mozilla: https://www.mozilla.org/en-US/
.. _Twilio: http://twilio.com/
.. _Cloudflare: https://www.cloudflare.com/


Sponsorship Information
Expand Down
27 changes: 27 additions & 0 deletions media/css/core.css
Expand Up @@ -653,6 +653,33 @@ p.build-missing { font-size: .8em; color: #9d9a55; margin: 0 0 3px; }
#footer a, #footer a:visited { color: #e3e3e3; text-decoration: none; }
#footer a:hover, #footer a:active { color: white; text-decoration: underline; }

/* Sponsors */
#footer .sponsors {
margin-top: 30px;
text-align: center;
}
#footer .sponsors .sponsor {
display: inline-block;
text-align: center;
text-decoration: none;
padding: 10px;
}
#footer .sponsors .sponsor img {
width: 90px;
height: auto;
}
#footer .sponsors .sponsor-name {
font-size: 12px;
}
#footer .sponsors .sponsor-description {
font-size: 10px;
color: #BCC1C3;
}
#footer .sponsors .sponsor-name, #footer .sponsors .sponsor-description {
text-align: center;
line-height: 1.4;
}

/* Social icons */
#footer .social { font-family: FontAwesome; text-align: center; }
#footer .social:after { clear: both; content: ''; display: table; }
Expand Down
Binary file added media/images/sponsors/azure.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/images/sponsors/cloudflare.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/images/sponsors/elastic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/images/sponsors/newrelic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/images/sponsors/pagerduty.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/images/sponsors/sentry.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 39 additions & 1 deletion readthedocs/templates/base.html
Expand Up @@ -202,6 +202,8 @@ <h4>{% trans 'Business Info' %}</h4>
<div class="clearfix"></div>

<div class="footer-bottom">
<hr>

<div class="column-copyright">
<p>
<small>&copy; Copyright {% now "Y" %}, {% trans 'Read the Docs, Inc & contributors' %}</small>
Expand Down Expand Up @@ -231,9 +233,45 @@ <h4>{% trans 'Business Info' %}</h4>
</form>
</div>
{% endblock language-select-form %}

</div>

{% endblock %}
<div class="clearfix"></div>

<div class="sponsors">
<a class="sponsor" href="https://azure.microsoft.com" rel="noopener" target="_blank">
<img src="{% static '/media/images/sponsors/azure.png' %}" alt="Microsoft Azure" class="sponsor-image">
<div class="sponsor-name">Microsoft Azure</div>
<div class="sponsor-description">Cloud Computing</div>
</a>
<a class="sponsor" href="https://cloudflare.com" rel="noopener" target="_blank">
<img src="{% static '/media/images/sponsors/cloudflare.png' %}" alt="CloudFlare" class="sponsor-image">
<div class="sponsor-name">Cloudflare</div>
<div class="sponsor-description">DNS &amp; SSL</div>
</a>
<a class="sponsor" href="https://sentry.io/" rel="noopener" target="_blank">
<img src="{% static '/media/images/sponsors/sentry.png' %}" alt="Sentry" class="sponsor-image">
<div class="sponsor-name">Sentry</div>
<div class="sponsor-description">Monitoring</div>
</a>
<a class="sponsor" href="https://www.elastic.co/" rel="noopener" target="_blank">
<img src="{% static '/media/images/sponsors/elastic.png' %}" alt="Elastic" class="sponsor-image">
<div class="sponsor-name">Elastic</div>
<div class="sponsor-description">Search</div>
</a>
<a class="sponsor" href="https://newrelic.com/" rel="noopener" target="_blank">
<img src="{% static '/media/images/sponsors/newrelic.png' %}" alt="New Relic" class="sponsor-image">
<div class="sponsor-name">New Relic</div>
<div class="sponsor-description">Performance</div>
</a>
<a class="sponsor" href="https://www.elastic.co/" rel="noopener" target="_blank">
<img src="{% static '/media/images/sponsors/pagerduty.png' %}" alt="PagerDuty" class="sponsor-image">
<div class="sponsor-name">PagerDuty</div>
<div class="sponsor-description">Monitoring</div>
</a>
</div>

{% endblock footer-content %}

</div>
</div>
Expand Down