Skip to content

Commit d64b24d

Browse files
committed
feat: add sponsor to docs-site
1 parent 16bef19 commit d64b24d

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

packages/docs-site/docs/en/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@
8181

8282
## Sponsors
8383

84+
<div class="not-prose sponsors-block">
85+
<p align="center">
86+
Silver Sponsors
87+
<br/>
88+
<a href="https://www.edoobox.com"><img src="/sponsors/edoobox.svg" alt="edoobox" width="150"><br/>
89+
edoobox
90+
</a>
91+
</p>
92+
</div>
93+
8494
Sponsors' logos and links will be displayed in the documentation and github page. [Become a Sponsor](https://www.patreon.com/phphe).
8595

8696
## React

packages/docs-site/docs/zh/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@
8181

8282
## 赞助商
8383

84+
<div class="not-prose sponsors-block">
85+
<p align="center">
86+
白银赞助者
87+
<br/>
88+
<a href="https://www.edoobox.com"><img src="/sponsors/edoobox.svg" alt="edoobox" width="150"><br/>
89+
edoobox
90+
</a>
91+
</p>
92+
</div>
93+
8494
赞助商的 logo 和链接将会显示在这里. [赞助我们](https://www.patreon.com/phphe).
8595

8696
## React
Lines changed: 1 addition & 0 deletions
Loading

packages/docs-site/src/layouts/default_layout.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,9 @@
163163
margin-right: 10px;
164164
}
165165
}
166+
.sponsors-block {
167+
img {
168+
display: inline;
169+
}
170+
}
166171
</style>

0 commit comments

Comments
 (0)