Skip to content

Commit a9af183

Browse files
committed
chore: update sponsor image
1 parent 04b96ae commit a9af183

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

themes/vue/_config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ platinum_sponsors_china:
1010
img: gitee.png
1111

1212
special_sponsors:
13-
- url: https://stdlib.com
14-
img: stdlib.png
13+
- url: https://code.xyz/
14+
img: codexyz.png
15+
description: Build APIs in Your Web Browser
1516

1617
platinum_sponsors:
1718
- url: https://www.bitsrc.io/?utm_source=vue&utm_medium=vue&utm_campaign=vue&utm_term=vue&utm_content=vue

themes/vue/layout/index.ejs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@
3030

3131
<div id="special-sponsor">
3232
<h3>Special Sponsor</h3>
33-
<a href="https://stdlib.com/" target="_blank">
34-
<img src="/images/stdlib.png" style="width:160px" alt="Standard Library Logo">
33+
<% var specialSponsor = theme.special_sponsors[0]; %>
34+
<a href="<%- specialSponsor.url %>" target="_blank">
35+
<img src="<%- url_for(`/images/${specialSponsor.img}`) %>" style="width:160px" alt="Code.xyz Logo">
3536
<br>
36-
<span>Function as a Service Platform and Library</span>
37+
<span><%- specialSponsor.description %></span>
3738
</a>
3839
</div>
3940

themes/vue/source/css/_sponsors-sidebar.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
font-weight: bold
99
display block
1010
&:first-child
11-
margin-top: 12px
11+
margin-top: 18px
1212
&:last-child
13-
margin-bottom: 14px
13+
margin-bottom: 20px
1414
img, a
1515
width: 125px
1616

themes/vue/source/images/codexyz.png

10.9 KB
Loading

0 commit comments

Comments
 (0)