Skip to content

Commit

Permalink
chore: add donate code
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticsoul committed Jan 14, 2024
1 parent 1c1f23e commit f86ed24
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 10 deletions.
23 changes: 23 additions & 0 deletions docs/.dumi/theme/builtins/ContactAuthor/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React, { type FC } from 'react';

const ContactAuthor: FC = () => (
<div style={{ width: '100%' }}>
<div style={{ width: '48%', display: 'inline-block' }}>
<h4>📦 了解更多</h4>
<p>
欢迎入群了解更多,由于微信讨论群号 200 人已满,需加作者微信号或 qq 群号,再邀请你如helux & hel讨论群(加号时记得备注 helux hel)
</p>
<img src="https://tnfe.gtimg.com/image/7fz74bhk84_1705216873301.png" style={{ width: '100%' }} />
</div>
<div style={{ width: '4%', display: 'inline-block' }}></div>
<div style={{ width: '48%', display: 'inline-block' }}>
<h4>❤️‍🔥 赞赏</h4>
<p>
小小鼓励,给予我们更多力量坚持做出更好的开源项目
</p>
<img src="https://tnfe.gtimg.com/image/5a2u6arzpo_1705217036205.png" style={{ width: '100%' }} />
</div>
</div>
);

export default React.memo(ContactAuthor);
19 changes: 9 additions & 10 deletions docs/.dumi/theme/slots/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ const Footer: FC = () => {
return (
<>
<div className="dumi-default-footer">
Copyright © {new Date().getFullYear()} Tencent PCG TNTWeb.
Copyright © {new Date().getFullYear()} Tencent PCG
<a
style={{ paddingLeft: '6px' }}
href="https://github.com/fantasticsoul"
target="__blink"
>
fantasticsoul
</a>.
<div>
Author:
<a
style={{ paddingLeft: '6px' }}
href="https://github.com/fantasticsoul"
target="__blink"
>
fantasticsoul
</a>
, Welcome to follow my open source project:
Welcome to follow my open source project:
<a
style={{ paddingLeft: '6px' }}
href="https://github.com/heluxjs/helux"
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ features:
- title: middleware&plugin
description: 内置中间件和插件系统,无缝衔接redux生态优秀组件
---

<ContactAuthor barValue="Big Bar!"></Contact>

0 comments on commit f86ed24

Please sign in to comment.