Skip to content

Commit

Permalink
docs: Add sponsor image (sqlc-dev#3428)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy authored and lisitsky committed Jun 21, 2024
1 parent 3513214 commit af6b06f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/_static/customize.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@
#banner > div > a {
color: #F0F0F4;
text-decoration: underline;
}
}

#sponsorship > img {
width: 100%;
max-width: 200px;
}
10 changes: 10 additions & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@
<script defer data-domain="docs.sqlc.dev" data-api="https://proxy.sqlc.dev/api/event" src="https://proxy.sqlc.dev/js/script.js"></script>
{{ super() }}
{% endblock %}

{% block menu %}
{{ super() }}
<p class="caption" role="heading"><span class="caption-text">Sponsored By</span></p>
<div>
<a id="sponsorship" href="https://riza.io?utm_source=sqlc+docs">
<img src="https://sqlc.dev/sponsors/riza-readme.png" alt="Riza logo" />
</a>
</div>
{% endblock %}

0 comments on commit af6b06f

Please sign in to comment.