chore: remove donation

This commit is contained in:
josc146
2023-04-29 12:51:34 +08:00
parent 3960ee1479
commit f331d95907
6 changed files with 3 additions and 38 deletions
+1 -3
View File
@@ -27,11 +27,9 @@ English | [Indonesia](README_IN.md) | [简体中文](README_ZH.md)
[Guide](https://github.com/josStorer/chatGPTBox/wiki/Guide) |
[Preview](#Preview) |
[Development&Contributing][dev-url] |
[Donation](https://www.buymeacoffee.com/josStorer) |
[Video Demonstration](https://www.youtube.com/watch?v=E1smDxJvTRs) |
[Credit](#Credit)
[Video Demonstration](https://www.youtube.com/watch?v=E1smDxJvTRs)
[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg
+1 -3
View File
@@ -27,11 +27,9 @@ Integrasi Deep ChatGPT di browser Anda, sepenuhnya gratis.
[Panduan](https://github.com/josStorer/chatGPTBox/wiki/Guide) |
[Pratinjau](#Pratinjau) |
[Pengembangan & Berkontribusi][dev-url] |
[Donasi](https://www.buymeacoffee.com/josStorer) |
[Demonstrasi Video](https://www.youtube.com/watch?v=E1smDxJvTRs) |
[Kredit](#Kredit)
[Demonstrasi Video](https://www.youtube.com/watch?v=E1smDxJvTRs)
[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg
+1 -3
View File
@@ -27,11 +27,9 @@
[使用指南](https://github.com/josStorer/chatGPTBox/wiki/Guide) |
[效果预览](#Preview) |
[开发&贡献][dev-url] |
[捐助](https://www.buymeacoffee.com/josStorer) |
[视频演示](https://www.bilibili.com/video/BV1524y1x7io) |
[鸣谢](#Credit)
[视频演示](https://www.bilibili.com/video/BV1524y1x7io)
[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg
-29
View File
@@ -23,8 +23,6 @@ import { MarkGithubIcon } from '@primer/octicons-react'
import Browser from 'webextension-polyfill'
import PropTypes from 'prop-types'
import { config as toolsConfig } from '../content-script/selection-tools'
import wechatpay from './donation/wechatpay.jpg'
import bugmeacoffee from './donation/bugmeacoffee.png'
import { useWindowTheme } from '../hooks/use-window-theme.mjs'
import { languageList } from '../config/language.mjs'
import {
@@ -628,27 +626,6 @@ SiteAdapters.propTypes = {
updateConfig: PropTypes.func.isRequired,
}
function Donation() {
const { t } = useTranslation()
return (
<div style="display:flex;flex-direction:column;align-items:center;">
<a
href="https://www.buymeacoffee.com/josStorer"
target="_blank"
rel="nofollow noopener noreferrer"
>
<img alt="buymeacoffee" src={bugmeacoffee} />
</a>
<br />
<>
{t('Wechat Pay')}
<img alt="wechatpay" src={wechatpay} />
</>
</div>
)
}
// eslint-disable-next-line react/prop-types
function Footer({ currentVersion, latestVersion }) {
const { t } = useTranslation()
@@ -731,7 +708,6 @@ function Popup() {
<Tab className="popup-tab">{t('Selection Tools')}</Tab>
<Tab className="popup-tab">{t('Sites')}</Tab>
<Tab className="popup-tab">{t('Advanced')}</Tab>
{isSafari() ? null : <Tab className="popup-tab">{t('Donate')}</Tab>}
</TabList>
<TabPanel>
@@ -749,11 +725,6 @@ function Popup() {
<TabPanel>
<AdvancedPart config={config} updateConfig={updateConfig} />
</TabPanel>
{isSafari() ? null : (
<TabPanel>
<Donation />
</TabPanel>
)}
</Tabs>
</form>
<br />
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB