Skip to content

Commit f331d95

Browse files
committed
chore: remove donation
1 parent 3960ee1 commit f331d95

File tree

6 files changed

+3
-38
lines changed

6 files changed

+3
-38
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ English | [Indonesia](README_IN.md) | [简体中文](README_ZH.md)
2727
[Guide](https://github.com/josStorer/chatGPTBox/wiki/Guide) |
2828
[Preview](#Preview) |
2929
[Development&Contributing][dev-url] |
30-
[Donation](https://www.buymeacoffee.com/josStorer) |
30+
[Video Demonstration](https://www.youtube.com/watch?v=E1smDxJvTRs) |
3131
[Credit](#Credit)
3232

33-
[Video Demonstration](https://www.youtube.com/watch?v=E1smDxJvTRs)
34-
3533
[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing
3634

3735
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg

README_IN.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ Integrasi Deep ChatGPT di browser Anda, sepenuhnya gratis.
2727
[Panduan](https://github.com/josStorer/chatGPTBox/wiki/Guide) |
2828
[Pratinjau](#Pratinjau) |
2929
[Pengembangan & Berkontribusi][dev-url] |
30-
[Donasi](https://www.buymeacoffee.com/josStorer) |
30+
[Demonstrasi Video](https://www.youtube.com/watch?v=E1smDxJvTRs) |
3131
[Kredit](#Kredit)
3232

33-
[Demonstrasi Video](https://www.youtube.com/watch?v=E1smDxJvTRs)
34-
3533
[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing
3634

3735
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg

README_ZH.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@
2727
[使用指南](https://github.com/josStorer/chatGPTBox/wiki/Guide) |
2828
[效果预览](#Preview) |
2929
[开发&贡献][dev-url] |
30-
[捐助](https://www.buymeacoffee.com/josStorer) |
30+
[视频演示](https://www.bilibili.com/video/BV1524y1x7io) |
3131
[鸣谢](#Credit)
3232

33-
[视频演示](https://www.bilibili.com/video/BV1524y1x7io)
34-
3533
[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing
3634

3735
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg

src/popup/Popup.jsx

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ import { MarkGithubIcon } from '@primer/octicons-react'
2323
import Browser from 'webextension-polyfill'
2424
import PropTypes from 'prop-types'
2525
import { config as toolsConfig } from '../content-script/selection-tools'
26-
import wechatpay from './donation/wechatpay.jpg'
27-
import bugmeacoffee from './donation/bugmeacoffee.png'
2826
import { useWindowTheme } from '../hooks/use-window-theme.mjs'
2927
import { languageList } from '../config/language.mjs'
3028
import {
@@ -628,27 +626,6 @@ SiteAdapters.propTypes = {
628626
updateConfig: PropTypes.func.isRequired,
629627
}
630628

631-
function Donation() {
632-
const { t } = useTranslation()
633-
634-
return (
635-
<div style="display:flex;flex-direction:column;align-items:center;">
636-
<a
637-
href="https://www.buymeacoffee.com/josStorer"
638-
target="_blank"
639-
rel="nofollow noopener noreferrer"
640-
>
641-
<img alt="buymeacoffee" src={bugmeacoffee} />
642-
</a>
643-
<br />
644-
<>
645-
{t('Wechat Pay')}
646-
<img alt="wechatpay" src={wechatpay} />
647-
</>
648-
</div>
649-
)
650-
}
651-
652629
// eslint-disable-next-line react/prop-types
653630
function Footer({ currentVersion, latestVersion }) {
654631
const { t } = useTranslation()
@@ -731,7 +708,6 @@ function Popup() {
731708
<Tab className="popup-tab">{t('Selection Tools')}</Tab>
732709
<Tab className="popup-tab">{t('Sites')}</Tab>
733710
<Tab className="popup-tab">{t('Advanced')}</Tab>
734-
{isSafari() ? null : <Tab className="popup-tab">{t('Donate')}</Tab>}
735711
</TabList>
736712

737713
<TabPanel>
@@ -749,11 +725,6 @@ function Popup() {
749725
<TabPanel>
750726
<AdvancedPart config={config} updateConfig={updateConfig} />
751727
</TabPanel>
752-
{isSafari() ? null : (
753-
<TabPanel>
754-
<Donation />
755-
</TabPanel>
756-
)}
757728
</Tabs>
758729
</form>
759730
<br />

src/popup/donation/bugmeacoffee.png

-5.56 KB
Binary file not shown.

src/popup/donation/wechatpay.jpg

-15.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)