Skip to content

Commit 4ad38e8

Browse files
committed
chore: update sponsors
1 parent 8460293 commit 4ad38e8

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

themes/vue/_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ google_analytics: UA-46852172-1
33
root_domain: vuejs.org
44
vue_version: 2.5.16
55

6+
platinum_sponsors_china:
7+
- url: https://www.geekbang.org/
8+
img: geekbang.png
9+
- url: https://gitee.com/?from=vue
10+
img: gitee.png
11+
612
special_sponsors:
713
- url: https://stdlib.com
814
img: stdlib.png

themes/vue/layout/sponsors-page.ejs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ Recurring pledges come with exclusive perks, e.g. having your name listed in the
9191
<%_ } _%>
9292
</p>
9393

94-
<h3>OpenCollective Platinum</h3>
94+
<h3>Speial Sponsors (China)</h3>
9595

96-
<p class="open-collective-sponsors sponsor-section">
97-
<%_ for (let i = 0; i < 3; i++) {_%>
98-
<a href="https://opencollective.com/vuejs/tiers/platinum-sponsors/<%- i %>/website" target="_blank">
99-
<img src="https://opencollective.com/vuejs/tiers/platinum-sponsors/<%- i %>/avatar.svg">
96+
<p class="platinum">
97+
<%_ for (const sponsor of theme.platinum_sponsors_china) {_%>
98+
<a href="<%- sponsor.url %>" target="_blank">
99+
<img src="<%- url_for(`/images/${sponsor.img}`) %>"<%- (sponsor.big_width || sponsor.big_height) ? ` style="${sponsor.big_width ? `width:${sponsor.big_width};`: ``}${sponsor.big_height ? `height:${sponsor.big_height};` : ``}"` : `` %>>
100100
</a>
101101
<%_ } _%>
102102
</p>

themes/vue/source/images/geekbang.png

22.1 KB
Loading

themes/vue/source/images/gitee.png

6.19 KB
Loading

0 commit comments

Comments
 (0)