Skip to content

Commit abe0f19

Browse files
committed
chore: remove tools box router
1 parent e0deac3 commit abe0f19

8 files changed

Lines changed: 11 additions & 68 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<img width="100" align="right" alt="PicX" src="https://picx-docs.xpoet.cn/images/logo.png">
33
</a>
44

5-
# PicX
5+
# PicX · 图床
66

77
[![Release](https://img.shields.io/github/release/XPoet/picx?style=flat&logo=github)](https://github.com/XPoet/picx/releases)
88
[![License](https://img.shields.io/github/license/XPoet/picx?style=flat&logo=github)](https://github.com/XPoet/picx/blob/master/LICENSE)
99
[![Stars](https://img.shields.io/github/stars/XPoet/picx?style=flat&logo=github&color=3366cc)](https://github.com/XPoet/picx)
1010
[![Issues](https://img.shields.io/github/issues/XPoet/picx?style=flat&logo=github)](https://github.com/XPoet/picx/issues)
1111
[![Release and Deploy](https://github.com/XPoet/picx/actions/workflows/deploy.yml/badge.svg)](https://github.com/XPoet/picx/actions/workflows/deploy.yml)
1212

13-
**[PicX](https://picx.xpoet.cn)** 是一款基于 GitHub API 开发的图床工具,提供图片上传托管、生成图片链接和常用图片工具箱服务。
13+
一款基于 GitHub API 开发的图床工具,提供图片上传托管和生成图片链接。
1414

1515
---
1616

@@ -24,12 +24,7 @@
2424

2525
通过 [GitHub OAuth 授权](https://picx-docs.xpoet.cn/usage-guide/config.html#github-oauth-%E6%8E%88%E6%9D%83%E7%99%BB%E5%BD%95) 或 [填写 GitHub Token](https://picx-docs.xpoet.cn/usage-guide/config.html#%E5%A1%AB%E5%86%99-github-token-%E7%99%BB%E5%BD%95) 登录到 [PicX](https://picx.xpoet.cn),完成 [图床配置](https://picx-docs.xpoet.cn/usage-guide/config.html#%E5%9B%BE%E5%BA%8A%E9%85%8D%E7%BD%AE) 后即可使用。
2626

27-
**在线使用入口 https://picx.xpoet.cn**
28-
29-
> **重要提示:**
30-
>
31-
> - 为进一步简化用户操作,PicX 自 `v3.0` 起,不再支持自由选择仓库和分支,统一使用内置的仓库和分支。
32-
> - 如需继续使用自定义的仓库和分支,请使用 [PicX v2.0](https://v2.picx.xpoet.cn)。
27+
**在线使用入口 https://picx-ih.xpoet.cn**
3328

3429
## 文档 | Documents
3530

@@ -51,7 +46,6 @@
5146
- [x] 支持 **PWA**
5247
- [x] 支持 **[暗夜模式](https://picx-docs.xpoet.cn/usage-guide/settings.html#%E4%B8%BB%E9%A2%98%E8%AE%BE%E7%BD%AE)** (自动切换 / 自由切换)
5348
- [x] i18n(中文简体、中文繁体、英文)
54-
- [x] 工具箱([图片压缩](https://picx-docs.xpoet.cn/usage-guide/toolbox.html#%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9)、[图片转 Base64](https://picx-docs.xpoet.cn/usage-guide/toolbox.html#%E5%9B%BE%E7%89%87%E8%BD%AC-base64)、[图片水印](https://picx-docs.xpoet.cn/usage-guide/toolbox.html#%E5%9B%BE%E7%89%87%E6%B0%B4%E5%8D%B0))
5549

5650
## 贡献 | Contribution
5751

@@ -73,7 +67,7 @@
7367

7468
## 赞赏 | Appreciation
7569

76-
PicX 的更新迭代依靠作者工作之外的时间,维护不易,如果对你有帮助,可以赞赏作者,支持开源。
70+
PicX · 图床的更新迭代依靠作者工作之外的时间,维护不易,如果对你有帮助,可以赞赏作者,支持开源。
7771

7872
<img width="320" src="https://xpoet.cn/images/admire-code-wechat.webp" />
7973

‎src/components/nav-content/nav-content.data.ts‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ export const navInfoList = shallowRef([
3434
path: '/settings',
3535
isShow: true,
3636
},
37-
{
38-
uuid: getUuid(),
39-
name: 'nav.toolbox',
40-
icon: IEpFiles,
41-
isActive: false,
42-
path: '/toolbox',
43-
isShow: true,
44-
},
4537
{
4638
uuid: getUuid(),
4739
name: 'nav.feedback',

‎src/locales/en.json‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,8 @@
249249
"add_watermark": "Add Watermark"
250250
},
251251
"feedback": {
252-
"text_1": "An image hosting tool built using the GitHub API, offering image upload and hosting, link generation, and a toolkit of common image utilities.",
253-
"text_2": "It is recommended to add this site to your browser bookmarks for convenient use in the future.",
254-
"text_3": "If PicX is helpful to you, feel free to appreciate the author and support open source.",
255-
"text_4": "Disclaimer: Do not use PicX to upload images that violate local laws. The author is not responsible for any consequences."
252+
"text_1": "An image hosting tool built using the GitHub API that provides image upload and hosting services, as well as image link generation.",
253+
"text_2": "It is recommended to add this site to your browser bookmarks for convenient use in the future."
256254
},
257255
"region": {
258256
"CN": "Mainland China",

‎src/locales/zh-CN.json‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,8 @@
249249
"add_watermark": "添加水印"
250250
},
251251
"feedback": {
252-
"text_1": "基于 GitHub API 开发的图床工具,提供图片上传托管、生成图片链接和常用图片工具箱服务。",
253-
"text_2": "建议将本站添加到浏览器收藏夹,方便下次使用。",
254-
"text_3": "如果 PicX 对你有帮助,欢迎赞赏作者,支持开源。",
255-
"text_4": "郑重声明:请勿使用 PicX 上传违反你当地法律的图片,所造成的一切后果与作者无关。"
252+
"text_1": "一款基于 GitHub API 开发的图床工具,提供图片上传托管和生成图片链接。",
253+
"text_2": "建议将本站添加到浏览器收藏夹,方便下次使用。"
256254
},
257255
"region": {
258256
"CN": "中国大陆",

‎src/locales/zh-TW.json‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,8 @@
249249
"add_watermark": "新增浮水印"
250250
},
251251
"feedback": {
252-
"text_1": "基於 GitHub API 開發的圖床工具,提供圖片上傳託管、產生圖片連結和常用圖片工具箱服務。",
253-
"text_2": "建議將本站新增至瀏覽器收藏夾,方便下次使用。",
254-
"text_3": "如果 PicX 對你有幫助,歡迎讚賞作者,支持開源。",
255-
"text_4": "鄭重聲明:請勿使用 PicX 上傳違反你當地法律的圖片,所造成的一切後果與作者無關。"
252+
"text_1": "一款基於 GitHub API 開發的圖床工具,提供圖片上傳託管和產生圖片連結。",
253+
"text_2": "建議將本站新增至瀏覽器收藏夾,方便下次使用。"
256254
},
257255
"region": {
258256
"CN": "中國大陸",

‎src/plugins/vite/pwa.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function configPWAPlugin() {
1919
name: 'PicX',
2020
short_name: 'PicX',
2121
description:
22-
'基于 GitHub API 开发的图床工具,提供图片上传托管、生成图片链接和常用图片工具箱服务。',
22+
'一款基于 GitHub API 开发的图床工具,提供图片上传托管和生成图片链接。',
2323
icons: [
2424
{
2525
src: './logo@192x192.png',

‎src/router/index.ts‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,6 @@ const routes: Array<RouteRecordRaw> = [
4343
title: 'nav.settings',
4444
},
4545
},
46-
{
47-
path: '/toolbox',
48-
name: 'Toolbox',
49-
component: () => import('@/views/picx-toolbox/picx-toolbox.vue'),
50-
meta: {
51-
title: 'nav.toolbox',
52-
},
53-
children: [
54-
{
55-
path: '/toolbox/compress',
56-
name: 'Compress',
57-
component: () => import('@/components/tools/compress-tool/compress-tool.vue'),
58-
},
59-
{
60-
path: '/toolbox/base64',
61-
name: 'Base64',
62-
component: () => import('@/components/tools/base64-tool/base64-tool.vue'),
63-
},
64-
{
65-
path: '/toolbox/watermark',
66-
name: 'Watermark',
67-
component: () => import('@/components/tools/watermark-tool/watermark-tool.vue'),
68-
},
69-
],
70-
},
7146
{
7247
path: '/feedback',
7348
name: 'feedback',

‎src/views/feedback-info/feedback-info.vue‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,6 @@ const shortcutKey = computed(() => (getOSName() === 'win' ? 'Ctrl + D' : 'Comman
3535
https://picx-docs.xpoet.cn
3636
</el-link>
3737
</div>
38-
39-
<div class="help-info-item" style="margin-bottom: 2rem">
40-
🎁 {{ $t('feedback.text_3') }}
41-
</div>
42-
43-
<div class="help-info-item img">
44-
<el-image style="width: 300rem" src="https://xpoet.cn/images/admire-code-wechat.webp" />
45-
</div>
46-
47-
<div class="help-info-item red-text">
48-
<strong> ⚠️ {{ $t('feedback.text_4') }} </strong>
49-
</div>
5038
</div>
5139
</template>
5240

0 commit comments

Comments
 (0)