Skip to content

Commit deb483a

Browse files
authored
docs: Add sponsor image (#3428)
1 parent fcbd84a commit deb483a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/_static/customize.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,9 @@
1414
#banner > div > a {
1515
color: #F0F0F4;
1616
text-decoration: underline;
17-
}
17+
}
18+
19+
#sponsorship > img {
20+
width: 100%;
21+
max-width: 200px;
22+
}

docs/_templates/layout.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@
44
<script defer data-domain="docs.sqlc.dev" data-api="https://proxy.sqlc.dev/api/event" src="https://proxy.sqlc.dev/js/script.js"></script>
55
{{ super() }}
66
{% endblock %}
7+
8+
{% block menu %}
9+
{{ super() }}
10+
<p class="caption" role="heading"><span class="caption-text">Sponsored By</span></p>
11+
<div>
12+
<a id="sponsorship" href="https://riza.io?utm_source=sqlc+docs">
13+
<img src="https://sqlc.dev/sponsors/riza-readme.png" alt="Riza logo" />
14+
</a>
15+
</div>
16+
{% endblock %}

0 commit comments

Comments
 (0)