1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-03-01 00:35:28 +08:00

Compare commits

...

8 Commits

Author SHA1 Message Date
dudaodong
756da3719d doc: update doc styles 2023-08-31 15:45:47 +08:00
dudaodong
f3008ac7c4 doc: update sponsor part 2023-08-31 15:11:02 +08:00
dudaodong
c6583d3b83 doc: update sponsor part 2023-08-31 15:03:36 +08:00
dudaodong
a3d7bac72e doc: add sponsor part 2023-08-31 14:56:40 +08:00
dudaodong
74b4d53514 doc: add sponsor doc 2023-08-31 14:45:40 +08:00
dudaodong
a08afe0d77 Merge branch 'main' into v2 2023-08-31 11:17:06 +08:00
DuDaoDong
ee680aa84c Create FUNDING.yml 2023-08-31 11:15:49 +08:00
dudaodong
caa74064f0 doc: update CONTRIBUTING doc 2023-08-31 10:06:12 +08:00
11 changed files with 155 additions and 11 deletions

3
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,3 @@
# These are supported funding model platforms
liberapay: Duke_Du
patreon: DukeDu

View File

@@ -34,4 +34,4 @@ We are excited that you are interested in contributing to lancet. Before submitt
- If your PR fixes a bug, please provide a description about the related bug.
- Merging a PR takes two maintainers: one approves the changes after reviewing, and then the other reviews and merges.
- If the PR is for a new feature, make sure to complete the relevant documentation (/lancet/docs/en/api/packages).

View File

@@ -34,4 +34,4 @@ Lancet 的成长离不开大家的支持,如果你愿意为 Lancet 贡献代
- 如果是修复 bug请在 PR 中给出描述信息。
- 合并代码需要两名维护人员参与:一人进行 review 后 approve另一人再次 review通过后即可合并
- 如果PR是新功能确保完成相关文档(/lancet/docs/api/packages)

View File

@@ -1878,3 +1878,18 @@ import "github.com/duke-git/lancet/v2/xerror"
## How to Contribute
#### [Contributing Guide](./CONTRIBUTING.en-US.md)
## Sponsor
Hello, I am a software developer and have been engaged in development work for 13 years. Love open source software. And be willing to put in the energy for it. I am the creator of project lancet. Since Lancet was released as open source two years ago, it has been used by more than 1,000 internal and external projects. lancet will always be free for all users. Your support is a powerful encouragement for me to continue my struggle. Thanks! You can use WeChat to scans the following QR code or clicks the following sponsor button to initiate sponsorship.
<div style="position: relative;display: inline-block;">
<img src="./docs/public/wechat_pay.png" width="260" height="260"/>
<a href="https://en.liberapay.com/Duke_Du/donate" target="\_blank"><img src="./docs/public/sponsor_btn.png" width="230" height="80"/></a>
</div>
<br/>
<br/>
*Donated funds will be used to maintain this website and pay for cloud server costs. Or just buy me a cup of ☕️ when I'm sleepy writing code.*

View File

@@ -1886,3 +1886,28 @@ import "github.com/duke-git/lancet/v2/xerror"
#### [贡献代码指南](./CONTRIBUTING.zh-CN.md)
## 赞助
您好,我是一名软件开发者,从事开发工作 13 年。热爱软件开源。并愿意为此付出精力。是开源项目lancet的作者。Lancet 自两年前开源发布以来,已有超过 1000 个内外部项目使用。lancet一直会对所有用户免费。您的支持是对我继续奋斗的有力鼓励。谢谢! 微信扫描以下二维码或点击以下赞助按钮发起赞助。
<div style="position: relative;display: inline-block;">
<img src="./docs/public/wechat_pay.png" width="260" height="260" style=""/>
<a style="border-color: #4565d8;
color: #fff;
background-color: #4565d8;
border-radius: 20px;
padding: 0 20px;
line-height: 40px;
font-size: 16px;
display: block;
border: 1px solid transparent;
text-align: center;
width: 140px;
font-weight: 600;" href="https://liberapay.com/Duke_Du/donate" target="\_blank">赞助</a>
</div>
<br/>
<br/>
*捐赠的资金将用于后续lancet官网的维护和云服务器的费用支付。或者当我写代码困倦时给我买杯 ☕️。*

View File

@@ -13,9 +13,7 @@ hero:
- theme: alt
text: View on GitHub
link: https://github.com/duke-git/lancet
# - theme: alt
# text: API Examples
# link: /api-examples
image:
src: /lancet_logo.png
alt: lancet
@@ -37,7 +35,19 @@ features:
<p style="position:relative; top: -316px;left: 560px;">
<img style="display: inline-block;margin-right:10px;" src="https://img.shields.io/github/stars/duke-git/lancet?style=social" alt="">
<img style="display: inline-block" src="https://img.shields.io/github/forks/duke-git/lancet?style=social" alt="">
</p>
<img style="display: inline-block" src="https://img.shields.io/github/forks/duke-git/lancet?style=social" alt="">
</p>
<a style="border-color: #4565d8;
color: #fff;
background-color: #4565d8;
border-radius: 30px;
padding: 0 20px;
line-height: 50px;
font-size: 16px;
display: block;
border: 1px solid transparent;
text-align: center;
font-weight: 600;
margin: 0 auto;
width: 200px;" href="/en/sponsor/sponsor.html">Become a sponsor</a>

View File

@@ -0,0 +1,41 @@
### Sponsor me
<b>Hello, I am a software developer and have been engaged in development work for 13 years. Love open source software. And be willing to put in the energy for it. I am the creator of project [lancet](https://github.com/duke-git/lancet). Since Lancet was released as open source two years ago, it has been used by more than 1,000 internal and external projects. lancet will always be free for all users. Your support is a powerful encouragement for me to continue my struggle. Thanks! You can use WeChat to scans the following QR code or clicks the following sponsor button to initiate sponsorship.</b>
<style>
.sponsor-ctn {
position: relative;
display: inline-block;
}
.sponsor-pay {
display: inline-block;
float: right;
}
.sponsor-btn {
border-color: #4565d8;
color: #fff;
background-color: #4565d8;
border-radius: 20px;
padding: 0 20px;
line-height: 40px;
font-size: 16px;
display: inline-block;
border: 1px solid transparent;
text-align: center;
width: 140px;
position: absolute;
left: 360px;
top: 120px;
}
</style>
<div class="sponsor-ctn">
<img src="/public/wechat_pay.png" width="260" height="260" class="sponsor-pay"/>
<a class="sponsor-btn" style="color: #fff;font-weight: 600;" href="https://en.liberapay.com/Duke_Du/donate" target="\_blank">Sponsor</a>
</div>
*Donated funds will be used to maintain this website and pay for cloud server costs. Or just buy me a cup of ☕️ when I'm sleepy writing code.*

View File

@@ -35,7 +35,19 @@ features:
<p style="position:relative;display: inline-block;top: -316px;left: 32%">
<img style="display: inline-block;margin-right:10px;" src="https://img.shields.io/github/stars/duke-git/lancet?style=social" alt="">
<img style="display: inline-block" src="https://img.shields.io/github/forks/duke-git/lancet?style=social" alt="">
<img style="display: inline-block" src="https://img.shields.io/github/forks/duke-git/lancet?style=social" alt="">
</p>
<a style="border-color: #4565d8;
color: #fff;
background-color: #4565d8;
border-radius: 20px;
padding: 0 20px;
line-height: 40px;
font-size: 16px;
display: block;
border: 1px solid transparent;
text-align: center;
font-weight: 600;
margin: 0 auto;
width: 140px;" href="/sponsor/sponsor.html">Sponsor</a>

BIN
docs/public/sponsor_btn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
docs/public/wechat_pay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

38
docs/sponsor/sponsor.md Normal file
View File

@@ -0,0 +1,38 @@
### 赞助
<b>您好,我是一名软件开发者,从事开发工作 13 年。热爱软件开源。并愿意为此付出精力。是开源项目[lancet](https://github.com/duke-git/lancet)的作者。Lancet 自两年前开源发布以来,已有超过 1000 个内外部项目使用。lancet 一直会对所有用户免费。您的支持是对我继续奋斗的有力鼓励。谢谢! 微信扫描以下二维码或点击以下赞助按钮发起赞助。 </b>
<style>
.sponsor-ctn {
position: relative;
display: inline-block;
}
.sponsor-pay {
display: inline-block;
float: right;
}
.sponsor-btn {
border-color: #4565d8;
color: #fff;
background-color: #4565d8;
border-radius: 20px;
padding: 0 20px;
line-height: 40px;
font-size: 16px;
display: inline-block;
border: 1px solid transparent;
text-align: center;
width: 140px;
position: absolute;
left: 360px;
top: 120px;
}
</style>
<div class="sponsor-ctn">
<img src="../public/wechat_pay.png" width="260" height="260" class="sponsor-pay"/>
<a class="sponsor-btn" style="color: #fff;font-weight: 600;" href="https://liberapay.com/Duke_Du/donate" target="\_blank">赞助</a>
</div>
*捐赠的资金将用于 lancet官网的维护和云服务器的费用支付。或者当我写代码困倦时给我买杯 ☕️。*