From 9b9610ef0c1147cc80f76fcf49ecf81b7db48a65 Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 03:26:33 +0800 Subject: [PATCH 01/53] chore: remove prev & next links --- src/en/manual/client-user-manual.md | 6 ------ src/en/manual/guide/auto-tracking/importantnotes.md | 6 ------ src/en/manual/guide/auto-tracking/oculustracking.md | 6 ------ src/en/manual/guide/auto-tracking/troubleshoot.md | 6 ------ src/en/manual/guide/batch-selection/instructions.md | 6 ------ src/en/manual/guide/bg/bgfrate.md | 6 ------ src/en/manual/guide/canvas/guide.md | 12 +++--------- src/en/manual/guide/easter-egg/view.md | 6 ------ .../manual/guide/hide-show-done/hidedoneshowdone.md | 6 ------ .../overlay-mode/fullscreen-windowed/launching.md | 6 ------ src/en/manual/guide/overlay-mode/instructions.md | 6 ------ src/en/manual/guide/restore-recover/progress.md | 6 ------ src/fr/manual/client-user-manual.md | 6 ------ src/fr/manual/guide/auto-tracking/importantnotes.md | 6 ------ src/fr/manual/guide/auto-tracking/oculustracking.md | 6 ------ src/fr/manual/guide/auto-tracking/troubleshoot.md | 6 ------ src/fr/manual/guide/batch-selection/instructions.md | 6 ------ src/fr/manual/guide/bg/bgfrate.md | 6 ------ src/fr/manual/guide/canvas/guide.md | 12 +++--------- src/fr/manual/guide/easter-egg/view.md | 6 ------ .../manual/guide/hide-show-done/hidedoneshowdone.md | 6 ------ .../overlay-mode/fullscreen-windowed/launching.md | 6 ------ src/fr/manual/guide/overlay-mode/instructions.md | 6 ------ src/fr/manual/guide/restore-recover/progress.md | 6 ------ src/ja/manual/client-user-manual.md | 6 ------ src/ja/manual/guide/auto-tracking/importantnotes.md | 6 ------ src/ja/manual/guide/auto-tracking/oculustracking.md | 6 ------ src/ja/manual/guide/auto-tracking/troubleshoot.md | 6 ------ src/ja/manual/guide/batch-selection/instructions.md | 6 ------ src/ja/manual/guide/bg/bgfrate.md | 6 ------ src/ja/manual/guide/canvas/guide.md | 6 ------ src/ja/manual/guide/easter-egg/view.md | 6 ------ .../manual/guide/hide-show-done/hidedoneshowdone.md | 6 ------ .../overlay-mode/fullscreen-windowed/launching.md | 6 ------ src/ja/manual/guide/overlay-mode/instructions.md | 6 ------ src/ja/manual/guide/restore-recover/progress.md | 6 ------ src/zh/manual/client-user-manual.md | 6 ------ src/zh/manual/guide/auto-tracking/importantnotes.md | 6 ------ src/zh/manual/guide/auto-tracking/oculustracking.md | 6 ------ src/zh/manual/guide/auto-tracking/troubleshoot.md | 6 ------ src/zh/manual/guide/batch-selection/instructions.md | 6 ------ src/zh/manual/guide/bg/bgfrate.md | 6 ------ src/zh/manual/guide/canvas/guide.md | 6 ------ src/zh/manual/guide/easter-egg/view.md | 6 ------ .../manual/guide/hide-show-done/hidedoneshowdone.md | 6 ------ .../overlay-mode/fullscreen-windowed/launching.md | 6 ------ src/zh/manual/guide/overlay-mode/instructions.md | 6 ------ src/zh/manual/guide/restore-recover/progress.md | 6 ------ 48 files changed, 6 insertions(+), 294 deletions(-) diff --git a/src/en/manual/client-user-manual.md b/src/en/manual/client-user-manual.md index 0acdce27a..46661e261 100644 --- a/src/en/manual/client-user-manual.md +++ b/src/en/manual/client-user-manual.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Position Tracker] Important Notes' - link: './guide/auto-tracking/importantnotes.md' -prev: - text: 'Home page' - link: '../index.md' description: Table of Contents --- diff --git a/src/en/manual/guide/auto-tracking/importantnotes.md b/src/en/manual/guide/auto-tracking/importantnotes.md index 4dd75f514..b0d5ac4e7 100644 --- a/src/en/manual/guide/auto-tracking/importantnotes.md +++ b/src/en/manual/guide/auto-tracking/importantnotes.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: 'Table of Contents' - link: 'en/manual/client-user-manual' -next: - text: '[Position Tracker] Troubleshooting' - link: '../auto-tracking/troubleshoot' description: This feature is based on image recognition --- diff --git a/src/en/manual/guide/auto-tracking/oculustracking.md b/src/en/manual/guide/auto-tracking/oculustracking.md index 2f1741a79..622048414 100644 --- a/src/en/manual/guide/auto-tracking/oculustracking.md +++ b/src/en/manual/guide/auto-tracking/oculustracking.md @@ -1,11 +1,5 @@ --- aside: false -next: - text: '[Position Tracker] Oculus Tracking' - link: './oculustracking.md' -prev: - text: '[Position Tracker] Trouble shooting' - link: './updated.md' description: --- diff --git a/src/en/manual/guide/auto-tracking/troubleshoot.md b/src/en/manual/guide/auto-tracking/troubleshoot.md index bf68e996a..c55143d66 100644 --- a/src/en/manual/guide/auto-tracking/troubleshoot.md +++ b/src/en/manual/guide/auto-tracking/troubleshoot.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Position Tracker] Important Notes' - link: '../auto-tracking/importantnotes' -next: - text: '[Background Usage] Framerate/Tracking Control' - link: '../bg/bgfrate' description: Troubleshoot --- diff --git a/src/en/manual/guide/batch-selection/instructions.md b/src/en/manual/guide/batch-selection/instructions.md index 8cc503be4..bcfb210a2 100644 --- a/src/en/manual/guide/batch-selection/instructions.md +++ b/src/en/manual/guide/batch-selection/instructions.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Background Usage] Framerate/Tracking Control' - link: '../bg/bgfrate' -next: - text: '[Custom Path Planner (Canvas)] Guide' - link: '../canvas/guide' description: Responding to the requests from travelers, Multi Mark is now available! --- diff --git a/src/en/manual/guide/bg/bgfrate.md b/src/en/manual/guide/bg/bgfrate.md index 526eaf670..1e5740803 100644 --- a/src/en/manual/guide/bg/bgfrate.md +++ b/src/en/manual/guide/bg/bgfrate.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Position Tracker] Troubleshooting' - link: '../auto-tracking/troubleshoot' -next: - text: '[Multi Mark] Instructions' - link: '../batch-selection/instructions' description: \[Foreground Frame Rate] and [Background Frame Rate] can be configured in the General settings, it is recommended to reduce resource utilization by setting [Foreground Frame Rate] to 30-50 fps and [Background Frame Rate] to 1-10 fps, thus minimizing fps loss in-game. --- diff --git a/src/en/manual/guide/canvas/guide.md b/src/en/manual/guide/canvas/guide.md index 0c11a2dd0..b0a15202a 100644 --- a/src/en/manual/guide/canvas/guide.md +++ b/src/en/manual/guide/canvas/guide.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Easter Egg] View Archived Versions of Golden Apple Archipelago' - link: '../easter-egg/view' -prev: - text: '[Multi Mark] Instructions' - link: '../batch-selection/instructions' description: Basic functionality, import, and export. --- @@ -69,9 +63,9 @@ Holding control allows control over anchors on the path ![](/imgs/en/manual/canvas/9.png) -At this stage, use **left click** to control the anchors, -use **right click** on round anchors to reset path curvature, -use **right click** on square anchors to delete it, +At this stage, use **left click** to control the anchors, +use **right click** on round anchors to reset path curvature, +use **right click** on square anchors to delete it, **double click** on the path to place an anchor. ### **Step** 7 diff --git a/src/en/manual/guide/easter-egg/view.md b/src/en/manual/guide/easter-egg/view.md index 9a038f787..fb995db71 100644 --- a/src/en/manual/guide/easter-egg/view.md +++ b/src/en/manual/guide/easter-egg/view.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Hide/Show Found] Feature' - link: '../hide-show-done/hidedoneshowdone' -prev: - text: '[Custom Path Planner (Canvas)] Guide' - link: '../canvas/guide' description: Although version 1.6 and 2.8 has passed, the summer islands will be preserved in the client as an easter egg. --- diff --git a/src/en/manual/guide/hide-show-done/hidedoneshowdone.md b/src/en/manual/guide/hide-show-done/hidedoneshowdone.md index 021886d66..13a168205 100644 --- a/src/en/manual/guide/hide-show-done/hidedoneshowdone.md +++ b/src/en/manual/guide/hide-show-done/hidedoneshowdone.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Easter Egg] View Archived Versions of Golden Apple Archipelago' - link: '../easter-egg/view' -next: - text: '[Overlay Mode] Instructions' - link: '../overlay-mode/instructions' description: There are two display modes for Found pins. --- diff --git a/src/en/manual/guide/overlay-mode/fullscreen-windowed/launching.md b/src/en/manual/guide/overlay-mode/fullscreen-windowed/launching.md index 04f99e39f..6cca25fd1 100644 --- a/src/en/manual/guide/overlay-mode/fullscreen-windowed/launching.md +++ b/src/en/manual/guide/overlay-mode/fullscreen-windowed/launching.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Restore/Recover] Progress Recovery From Stored Data' - link: 'en/manual/guide/restore-recover/progress' -prev: - text: '[Overlay Mode] Instructions' - link: '../instructions' description: Windowed Fullscreen lets the game run fullscreen while satisfying the [Overlay Mode]'s "running in non-fullscreen mode." pre-requisite. Allowing the map client to overlay the game while it's displaying fullscreen. --- diff --git a/src/en/manual/guide/overlay-mode/instructions.md b/src/en/manual/guide/overlay-mode/instructions.md index d64f63534..a7bb98f20 100644 --- a/src/en/manual/guide/overlay-mode/instructions.md +++ b/src/en/manual/guide/overlay-mode/instructions.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Hide/Show Found] Feature' - link: '../hide-show-done/hidedoneshowdone' -next: - text: '[Overlay Mode] Launching The Game in Windowed Fullscreen (Borderless)' - link: './fullscreen-windowed/launching' description: Overlay Mode displays the map client over the Genshin game window. This mode benefits players who only have one monitor, allowing quicker switching between the game and the map client. --- diff --git a/src/en/manual/guide/restore-recover/progress.md b/src/en/manual/guide/restore-recover/progress.md index 000f28a18..f98c5dae1 100644 --- a/src/en/manual/guide/restore-recover/progress.md +++ b/src/en/manual/guide/restore-recover/progress.md @@ -1,13 +1,7 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Overlay Mode] Launching The Game in Windowed Fullscreen (Borderless)' - link: '../overlay-mode/fullscreen-windowed/launching' description: Return saves to an archived timestamp, or recover save from accidental deletion. -next: - text: 'Table of Content' - link: 'en/manual/client-user-manual' --- [文:【存档丢失】存档还原/误删恢复]: # 'https://support.qq.com/products/321980/faqs/113007' diff --git a/src/fr/manual/client-user-manual.md b/src/fr/manual/client-user-manual.md index 45bd8e94d..14abdd131 100644 --- a/src/fr/manual/client-user-manual.md +++ b/src/fr/manual/client-user-manual.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Position Tracker] Important Notes' - link: './guide/auto-tracking/importantnotes.md' -prev: - text: 'Home page' - link: '../index.md' description: Table of Contents banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/auto-tracking/importantnotes.md b/src/fr/manual/guide/auto-tracking/importantnotes.md index 1ec010348..4c70e0c48 100644 --- a/src/fr/manual/guide/auto-tracking/importantnotes.md +++ b/src/fr/manual/guide/auto-tracking/importantnotes.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: 'Manuels' - link: 'fr/manual/client-user-manual' -next: - text: '[Suivi Automatique] Dépannage' - link: '../auto-tracking/troubleshoot' description: This feature is based on image recognition --- diff --git a/src/fr/manual/guide/auto-tracking/oculustracking.md b/src/fr/manual/guide/auto-tracking/oculustracking.md index 04e8a981d..fad69132c 100644 --- a/src/fr/manual/guide/auto-tracking/oculustracking.md +++ b/src/fr/manual/guide/auto-tracking/oculustracking.md @@ -1,11 +1,5 @@ --- aside: false -next: - text: '[Position Tracker] Oculus Tracking' - link: './oculustracking.md' -prev: - text: '[Position Tracker] Trouble shooting' - link: './updated.md' description: banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/auto-tracking/troubleshoot.md b/src/fr/manual/guide/auto-tracking/troubleshoot.md index d4a49d9a9..2c24a61e8 100644 --- a/src/fr/manual/guide/auto-tracking/troubleshoot.md +++ b/src/fr/manual/guide/auto-tracking/troubleshoot.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Position Tracker] Important Notes' - link: '../auto-tracking/importantnotes' -next: - text: '[Background Usage] Framerate/Tracking Control' - link: '../bg/bgfrate' description: Troubleshoot banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/batch-selection/instructions.md b/src/fr/manual/guide/batch-selection/instructions.md index 5f34c8638..cc2d24d4c 100644 --- a/src/fr/manual/guide/batch-selection/instructions.md +++ b/src/fr/manual/guide/batch-selection/instructions.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Background Usage] Framerate/Tracking Control' - link: '../bg/bgfrate' -next: - text: '[Custom Path Planner (Canvas)] Guide' - link: '../canvas/guide' description: Responding to the requests from travelers, Multi Mark is now available! banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/bg/bgfrate.md b/src/fr/manual/guide/bg/bgfrate.md index 2136a65de..df2d4cead 100644 --- a/src/fr/manual/guide/bg/bgfrate.md +++ b/src/fr/manual/guide/bg/bgfrate.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Position Tracker] Troubleshooting' - link: '../auto-tracking/troubleshoot' -next: - text: '[Multi Mark] Instructions' - link: '../batch-selection/instructions' description: \[Foreground Frame Rate] and [Background Frame Rate] can be configured in the General settings, it is recommended to reduce resource utilization by setting [Foreground Frame Rate] to 30-50 fps and [Background Frame Rate] to 1-10 fps, thus minimizing fps loss in-game. banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/canvas/guide.md b/src/fr/manual/guide/canvas/guide.md index 2bb28241b..0234c08d9 100644 --- a/src/fr/manual/guide/canvas/guide.md +++ b/src/fr/manual/guide/canvas/guide.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Easter Egg] View Archived Versions of Golden Apple Archipelago' - link: '../easter-egg/view' -prev: - text: '[Multi Mark] Instructions' - link: '../batch-selection/instructions' description: Basic functionality, import, and export. banner: Désolé, la traduction de cette page est toujours en cours --- @@ -70,9 +64,9 @@ Holding control allows control over anchors on the path ![](/imgs/fr/manual/canvas/9.png) -At this stage, use **left click** to control the anchors, -use **right click** on round anchors to reset path curvature, -use **right click** on square anchors to delete it, +At this stage, use **left click** to control the anchors, +use **right click** on round anchors to reset path curvature, +use **right click** on square anchors to delete it, **double click** on the path to place an anchor. ### **Step** 7 diff --git a/src/fr/manual/guide/easter-egg/view.md b/src/fr/manual/guide/easter-egg/view.md index b88c84154..9fd26b3d5 100644 --- a/src/fr/manual/guide/easter-egg/view.md +++ b/src/fr/manual/guide/easter-egg/view.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Hide/Show Found] Feature' - link: '../hide-show-done/hidedoneshowdone' -prev: - text: '[Custom Path Planner (Canvas)] Guide' - link: '../canvas/guide' description: Although version 1.6 and 2.8 has passed, the summer islands will be preserved in the client as an easter egg. banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/hide-show-done/hidedoneshowdone.md b/src/fr/manual/guide/hide-show-done/hidedoneshowdone.md index 9162d3bc5..8b74ed707 100644 --- a/src/fr/manual/guide/hide-show-done/hidedoneshowdone.md +++ b/src/fr/manual/guide/hide-show-done/hidedoneshowdone.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Easter Egg] View Archived Versions of Golden Apple Archipelago' - link: '../easter-egg/view' -next: - text: '[Overlay Mode] Instructions' - link: '../overlay-mode/instructions' description: There are two display modes for Found pins. banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/overlay-mode/fullscreen-windowed/launching.md b/src/fr/manual/guide/overlay-mode/fullscreen-windowed/launching.md index 5e38892f3..d1e547ef4 100644 --- a/src/fr/manual/guide/overlay-mode/fullscreen-windowed/launching.md +++ b/src/fr/manual/guide/overlay-mode/fullscreen-windowed/launching.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title - Client Manuals | Kongying Tavern -next: - text: '[Restore/Recover] Progress Recovery From Stored Data' - link: 'fr/manual/guide/restore-recover/progress' -prev: - text: '[Overlay Mode] Instructions' - link: '../instructions' description: Windowed Fullscreen lets the game run fullscreen while satisfying the [Overlay Mode]'s "running in non-fullscreen mode." pre-requisite. Allowing the map client to overlay the game while it's displaying fullscreen. banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/overlay-mode/instructions.md b/src/fr/manual/guide/overlay-mode/instructions.md index 70855f986..0aa8f2b4c 100644 --- a/src/fr/manual/guide/overlay-mode/instructions.md +++ b/src/fr/manual/guide/overlay-mode/instructions.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Hide/Show Found] Feature' - link: '../hide-show-done/hidedoneshowdone' -next: - text: '[Overlay Mode] Launching The Game in Windowed Fullscreen (Borderless)' - link: './fullscreen-windowed/launching' description: Overlay Mode displays the map client over the Genshin game window. This mode benefits players who only have one monitor, allowing quicker switching between the game and the map client. banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/fr/manual/guide/restore-recover/progress.md b/src/fr/manual/guide/restore-recover/progress.md index 8663126ce..ed1d3d56c 100644 --- a/src/fr/manual/guide/restore-recover/progress.md +++ b/src/fr/manual/guide/restore-recover/progress.md @@ -1,13 +1,7 @@ --- aside: true titleTemplate: :title - Client Manuals | Kongying Tavern -prev: - text: '[Overlay Mode] Launching The Game in Windowed Fullscreen (Borderless)' - link: '../overlay-mode/fullscreen-windowed/launching' description: Return saves to an archived timestamp, or recover save from accidental deletion. -next: - text: 'Table of Content' - link: 'fr/manual/client-user-manual' banner: Désolé, la traduction de cette page est toujours en cours --- diff --git a/src/ja/manual/client-user-manual.md b/src/ja/manual/client-user-manual.md index f6cc64640..bc9021bd4 100644 --- a/src/ja/manual/client-user-manual.md +++ b/src/ja/manual/client-user-manual.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title | 空蛍酒場 -next: - text: '【オートトラッキング】注意事項' - link: './guide/auto-tracking/importantnotes.md' -prev: - text: 'ホームページ' - link: '../index.md' description: 目次 --- diff --git a/src/ja/manual/guide/auto-tracking/importantnotes.md b/src/ja/manual/guide/auto-tracking/importantnotes.md index 07421cc0f..f5238c6dd 100644 --- a/src/ja/manual/guide/auto-tracking/importantnotes.md +++ b/src/ja/manual/guide/auto-tracking/importantnotes.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title | 空蛍酒場 -prev: - text: '目录' - link: '/manual/client-user-manual' -next: - text: '【位置追踪】问题排查' - link: '../auto-tracking/troubleshoot' description: This feature is based on image recognition banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/auto-tracking/oculustracking.md b/src/ja/manual/guide/auto-tracking/oculustracking.md index 10f94d82d..b71992867 100644 --- a/src/ja/manual/guide/auto-tracking/oculustracking.md +++ b/src/ja/manual/guide/auto-tracking/oculustracking.md @@ -1,12 +1,6 @@ --- title: \[Position Tracker] Oculus Tracking (Removed) aside: false -next: - text: '[Position Tracker] Oculus Tracking' - link: './oculustracking.md' -prev: - text: '[Position Tracker] Trouble shooting' - link: './updated.md' description: banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/auto-tracking/troubleshoot.md b/src/ja/manual/guide/auto-tracking/troubleshoot.md index e60f31a3d..186c3df15 100644 --- a/src/ja/manual/guide/auto-tracking/troubleshoot.md +++ b/src/ja/manual/guide/auto-tracking/troubleshoot.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title | 空蛍酒場 -prev: - text: '【位置追踪】注意事项' - link: '../auto-tracking/importantnotes' -next: - text: '【地图性能占用高】前后台帧率设置' - link: '../bg/bgfrate' description: Troubleshoot banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/batch-selection/instructions.md b/src/ja/manual/guide/batch-selection/instructions.md index 5fbe39e45..2c49b2cbf 100644 --- a/src/ja/manual/guide/batch-selection/instructions.md +++ b/src/ja/manual/guide/batch-selection/instructions.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title | 空蛍酒場 -prev: - text: '【地图性能占用高】前后台帧率设置' - link: '../bg/bgfrate' -next: - text: '【画板】路线功能教程' - link: '../canvas/guide' description: 应旅行者需求,现已将多选功能加入豪华午餐! banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/bg/bgfrate.md b/src/ja/manual/guide/bg/bgfrate.md index fd09bc752..d248a898d 100644 --- a/src/ja/manual/guide/bg/bgfrate.md +++ b/src/ja/manual/guide/bg/bgfrate.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title | 空蛍酒場 -prev: - text: '【位置追踪】问题排查' - link: '../auto-tracking/troubleshoot' -next: - text: '【批量选择】使用说明' - link: '../batch-selection/instructions' description: 在设置中可以调整【前台帧率】、【后台帧率】,以降低性能,降低对游戏帧率的影响。 banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/canvas/guide.md b/src/ja/manual/guide/canvas/guide.md index c971fbafb..97a291730 100644 --- a/src/ja/manual/guide/canvas/guide.md +++ b/src/ja/manual/guide/canvas/guide.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title | 空蛍酒場 -next: - text: '【彩蛋】查看历史版本内容' - link: '../easter-egg/view' -prev: - text: '【批量选择】使用说明' - link: '../batch-selection/instructions' description: 基础使用教程。 banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/easter-egg/view.md b/src/ja/manual/guide/easter-egg/view.md index 4d51e1388..1dc774051 100644 --- a/src/ja/manual/guide/easter-egg/view.md +++ b/src/ja/manual/guide/easter-egg/view.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title | 空蛍酒場 -next: - text: '【隐藏】标记/【显示】标记' - link: '../hide-show-done/hidedoneshowdone' -prev: - text: '【画板】路线功能教程' - link: '../canvas/guide' description: 1.6版本、2.8版本已经过去,海岛将会作为彩蛋保存在客户端内。 banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/hide-show-done/hidedoneshowdone.md b/src/ja/manual/guide/hide-show-done/hidedoneshowdone.md index 6de7d8db8..4646c26ae 100644 --- a/src/ja/manual/guide/hide-show-done/hidedoneshowdone.md +++ b/src/ja/manual/guide/hide-show-done/hidedoneshowdone.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title | 空蛍酒場 -prev: - text: '【彩蛋】查看历史版本内容' - link: '../easter-egg/view' -next: - text: '【覆盖模式】使用说明' - link: '../overlay-mode/instructions' description: 地图对标记【已完成】的点位有两种显示方式。 banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/overlay-mode/fullscreen-windowed/launching.md b/src/ja/manual/guide/overlay-mode/fullscreen-windowed/launching.md index a40e3d1f8..0ceb481d6 100644 --- a/src/ja/manual/guide/overlay-mode/fullscreen-windowed/launching.md +++ b/src/ja/manual/guide/overlay-mode/fullscreen-windowed/launching.md @@ -1,12 +1,6 @@ --- aside: false titleTemplate: :title | 空蛍酒場 -next: - text: '【存档丢失】存档还原/误删恢复' - link: 'ja/manual/guide/restore-recover/progress' -prev: - text: '【覆盖模式】使用说明' - link: '../instructions' description: Windowed Fullscreen lets the game run fullscreen while satisfying the [Overlay Mode]'s "running in non-fullscreen mode." pre-requisite. Allowing the map client to overlay the game while it's displaying fullscreen. banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/overlay-mode/instructions.md b/src/ja/manual/guide/overlay-mode/instructions.md index 9b52e79ac..e8a302f25 100644 --- a/src/ja/manual/guide/overlay-mode/instructions.md +++ b/src/ja/manual/guide/overlay-mode/instructions.md @@ -1,12 +1,6 @@ --- aside: true titleTemplate: :title | 空蛍酒場 -prev: - text: '【隐藏】标记/【显示】标记' - link: '../hide-show-done/hidedoneshowdone' -next: - text: '【窗口全屏/无边框窗口模式】启动游戏' - link: './fullscreen-windowed/launching' description: Overlay Mode displays the map client over the Genshin game window. This mode benefits players who only have one monitor, allowing quicker switching between the game and the map client. banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/ja/manual/guide/restore-recover/progress.md b/src/ja/manual/guide/restore-recover/progress.md index abe29ba4f..689ab327d 100644 --- a/src/ja/manual/guide/restore-recover/progress.md +++ b/src/ja/manual/guide/restore-recover/progress.md @@ -1,13 +1,7 @@ --- aside: true titleTemplate: :title | 空蛍酒場 -prev: - text: '【窗口全屏/无边框窗口模式】启动游戏' - link: '../overlay-mode/fullscreen-windowed/launching' description: 还原存档到历史位置,或存档误删还原。 -next: - text: '目录' - link: 'ja/manual/client-user-manual' banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- diff --git a/src/zh/manual/client-user-manual.md b/src/zh/manual/client-user-manual.md index b85d68b02..761c5e676 100644 --- a/src/zh/manual/client-user-manual.md +++ b/src/zh/manual/client-user-manual.md @@ -2,12 +2,6 @@ aside: false layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -next: - text: '【位置追踪】注意事项' - link: './guide/auto-tracking/importantnotes.md' -prev: - text: '首页' - link: '../index.md' title: 客户端使用手册 description: 客户端使用手册目录 --- diff --git a/src/zh/manual/guide/auto-tracking/importantnotes.md b/src/zh/manual/guide/auto-tracking/importantnotes.md index 2c007657d..cd28c03ec 100644 --- a/src/zh/manual/guide/auto-tracking/importantnotes.md +++ b/src/zh/manual/guide/auto-tracking/importantnotes.md @@ -2,12 +2,6 @@ aside: true layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -prev: - text: '目录' - link: '/manual/client-user-manual' -next: - text: '【位置追踪】问题排查' - link: '../auto-tracking/troubleshoot' title: 【位置追踪】功能介绍 description: This feature is based on image recognition --- diff --git a/src/zh/manual/guide/auto-tracking/oculustracking.md b/src/zh/manual/guide/auto-tracking/oculustracking.md index 784219c78..341fd4f95 100644 --- a/src/zh/manual/guide/auto-tracking/oculustracking.md +++ b/src/zh/manual/guide/auto-tracking/oculustracking.md @@ -1,12 +1,6 @@ --- title: \[Position Tracker] Oculus Tracking (Removed) aside: false -next: - text: '[Position Tracker] Oculus Tracking' - link: './oculustracking.md' -prev: - text: '[Position Tracker] Trouble shooting' - link: './updated.md' description: --- diff --git a/src/zh/manual/guide/auto-tracking/troubleshoot.md b/src/zh/manual/guide/auto-tracking/troubleshoot.md index c4afe9b5e..06ce8e9da 100644 --- a/src/zh/manual/guide/auto-tracking/troubleshoot.md +++ b/src/zh/manual/guide/auto-tracking/troubleshoot.md @@ -3,12 +3,6 @@ aside: true title: 【位置追踪】问题排查 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -prev: - text: '【位置追踪】注意事项' - link: '../auto-tracking/importantnotes' -next: - text: '【地图性能占用高】前后台帧率设置' - link: '../bg/bgfrate' description: Troubleshoot --- diff --git a/src/zh/manual/guide/batch-selection/instructions.md b/src/zh/manual/guide/batch-selection/instructions.md index 99e38da9b..83ebff59b 100644 --- a/src/zh/manual/guide/batch-selection/instructions.md +++ b/src/zh/manual/guide/batch-selection/instructions.md @@ -2,12 +2,6 @@ title: 【批量选择】使用说明 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -prev: - text: '【地图性能占用高】前后台帧率设置' - link: '../bg/bgfrate' -next: - text: '【画板】路线功能教程' - link: '../canvas/guide' description: 应旅行者需求,现已将多选功能加入豪华午餐! --- diff --git a/src/zh/manual/guide/bg/bgfrate.md b/src/zh/manual/guide/bg/bgfrate.md index f995cb171..718fa1531 100644 --- a/src/zh/manual/guide/bg/bgfrate.md +++ b/src/zh/manual/guide/bg/bgfrate.md @@ -2,12 +2,6 @@ title: 【地图性能占用高】前后台帧率设置 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -prev: - text: '【位置追踪】问题排查' - link: '../auto-tracking/troubleshoot' -next: - text: '【批量选择】使用说明' - link: '../batch-selection/instructions' description: 在设置中可以调整【前台帧率】、【后台帧率】,以降低性能,降低对游戏帧率的影响。 --- diff --git a/src/zh/manual/guide/canvas/guide.md b/src/zh/manual/guide/canvas/guide.md index 67504633b..a5529926e 100644 --- a/src/zh/manual/guide/canvas/guide.md +++ b/src/zh/manual/guide/canvas/guide.md @@ -3,12 +3,6 @@ aside: true title: 【画板】路线功能教程 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -next: - text: '【彩蛋】查看历史版本内容' - link: '../easter-egg/view' -prev: - text: '【批量选择】使用说明' - link: '../batch-selection/instructions' description: 基础使用教程。 --- diff --git a/src/zh/manual/guide/easter-egg/view.md b/src/zh/manual/guide/easter-egg/view.md index cca7aaaef..21604d5e6 100644 --- a/src/zh/manual/guide/easter-egg/view.md +++ b/src/zh/manual/guide/easter-egg/view.md @@ -3,12 +3,6 @@ aside: false title: 【彩蛋】查看历史版本内容 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -next: - text: '【隐藏】标记/【显示】标记' - link: '../hide-show-done/hidedoneshowdone' -prev: - text: '【画板】路线功能教程' - link: '../canvas/guide' description: 1.6版本、2.8版本已经过去,海岛将会作为彩蛋保存在客户端内。 --- diff --git a/src/zh/manual/guide/hide-show-done/hidedoneshowdone.md b/src/zh/manual/guide/hide-show-done/hidedoneshowdone.md index df1bf7987..eb5ed572e 100644 --- a/src/zh/manual/guide/hide-show-done/hidedoneshowdone.md +++ b/src/zh/manual/guide/hide-show-done/hidedoneshowdone.md @@ -3,12 +3,6 @@ aside: false title: 【隐藏】标记/【显示】标记 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -prev: - text: '【彩蛋】查看历史版本内容' - link: '../easter-egg/view' -next: - text: '【覆盖模式】使用说明' - link: '../overlay-mode/instructions' description: 地图对标记【已完成】的点位有两种显示方式。 --- diff --git a/src/zh/manual/guide/overlay-mode/fullscreen-windowed/launching.md b/src/zh/manual/guide/overlay-mode/fullscreen-windowed/launching.md index 33a8f457d..0c660bace 100644 --- a/src/zh/manual/guide/overlay-mode/fullscreen-windowed/launching.md +++ b/src/zh/manual/guide/overlay-mode/fullscreen-windowed/launching.md @@ -3,12 +3,6 @@ aside: false title: 【窗口全屏/无边框窗口模式】启动游戏 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -next: - text: '【存档丢失】存档还原/误删恢复' - link: '/manual/guide/restore-recover/progress' -prev: - text: '【覆盖模式】使用说明' - link: '../instructions' description: Windowed Fullscreen lets the game run fullscreen while satisfying the [Overlay Mode]'s "running in non-fullscreen mode." pre-requisite. Allowing the map client to overlay the game while it's displaying fullscreen. --- diff --git a/src/zh/manual/guide/overlay-mode/instructions.md b/src/zh/manual/guide/overlay-mode/instructions.md index 2479a0f68..a06bd7e85 100644 --- a/src/zh/manual/guide/overlay-mode/instructions.md +++ b/src/zh/manual/guide/overlay-mode/instructions.md @@ -3,12 +3,6 @@ aside: true title: 【覆盖模式】使用说明 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -prev: - text: '【隐藏】标记/【显示】标记' - link: '../hide-show-done/hidedoneshowdone' -next: - text: '【窗口全屏/无边框窗口模式】启动游戏' - link: './fullscreen-windowed/launching' description: Overlay Mode displays the map client over the Genshin game window. This mode benefits players who only have one monitor, allowing quicker switching between the game and the map client. --- diff --git a/src/zh/manual/guide/restore-recover/progress.md b/src/zh/manual/guide/restore-recover/progress.md index 7e42d4866..007250ff8 100644 --- a/src/zh/manual/guide/restore-recover/progress.md +++ b/src/zh/manual/guide/restore-recover/progress.md @@ -3,13 +3,7 @@ aside: true title: 【存档丢失】存档还原/误删恢复 layout: doc titleTemplate: :title - 客户端使用手册 | 空荧酒馆 -prev: - text: '【窗口全屏/无边框窗口模式】启动游戏' - link: '../overlay-mode/fullscreen-windowed/launching' description: 还原存档到历史位置,或存档误删还原。 -next: - text: '目录' - link: 'manual/client-user-manual' --- [文:【存档丢失】存档还原/误删恢复]: # 'https://support.qq.com/products/321980/faqs/113007' From 662f0b0f4f0f83b22aedf760cd7c72ea2de29784 Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 03:57:53 +0800 Subject: [PATCH 02/53] fix: fix svg url resolve --- src/en/community.md | 27 ++++++++++++++++++-------- src/en/download-client.md | 16 ++++++++++++++-- src/fr/download-client.md | 17 +++++++++++++++-- src/zh/community.md | 21 +++++++++++++++----- src/zh/download-client.md | 40 +++++++++++++++++++++++++++++++++------ 5 files changed, 98 insertions(+), 23 deletions(-) diff --git a/src/en/community.md b/src/en/community.md index 140012e6c..b628f6baa 100644 --- a/src/en/community.md +++ b/src/en/community.md @@ -55,11 +55,22 @@ titleTemplate: :title | Kongying Tavern @@ -88,7 +99,7 @@ ol,ul { display: flex; flex-direction: column; /* overflow-y: scroll; */ - + li { cursor: pointer; display: inline-block; @@ -128,9 +139,9 @@ ol,ul { ul > li { padding: 4px 0; } + // 被封禁的群 .custom-block.details { - ol > li { border-color: var(--vp-c-text-3) } @@ -152,6 +163,6 @@ ul > li { font-size: 14px !important; } } - + } diff --git a/src/en/download-client.md b/src/en/download-client.md index 73180c668..b40e1a3a7 100644 --- a/src/en/download-client.md +++ b/src/en/download-client.md @@ -34,7 +34,19 @@ import { onMounted } from 'vue' import { isNumber } from '../../.vitepress/theme/utils' const downloadMethod = [ - { id:'sq', name: 'Discord', target: '_self', link: 'https://discord.gg/aFe57AKZUF', icon: 'i-logos-discord-icon' }, - { id:'gd', name: 'Google Drive', target: '_blank', link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', icon: 'i-logos-google-drive' } + { + id:'sq', + name: 'Discord', + target: '_self', + link: 'https://discord.gg/aFe57AKZUF', + icon: 'i-logos-discord-icon' + }, + { + id:'gd', + name: 'Google Drive', + target: '_blank', + link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', + icon: 'i-logos-google-drive' + } ] diff --git a/src/fr/download-client.md b/src/fr/download-client.md index 8ee262f6e..266d1bff3 100644 --- a/src/fr/download-client.md +++ b/src/fr/download-client.md @@ -33,8 +33,21 @@ import { onMounted } from 'vue' const params = useUrlSearchParams('history') const downloadMethod = [ - { id: 'discord', name: 'Discord', target: '_black', link: 'https://discord.com/invite/aFe57AKZUF', secondary: 'aFe57AKZUF', icon: 'i-logos-discord-icon' }, - { id:'gd', name: 'Google Drive', target: '_black', link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', icon: 'i-logos-google-drive' } + { + id: 'discord', + name: 'Discord', + target: '_blank', + link: 'https://discord.com/invite/aFe57AKZUF', + secondary: 'aFe57AKZUF', + icon: 'i-logos-discord-icon' + }, + { + id:'gd', + name: 'Google Drive', + target: '_blank', + link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', + icon: 'i-logos-google-drive' + } ] function jump() { diff --git a/src/zh/community.md b/src/zh/community.md index f0b04b8db..a10dd05fb 100644 --- a/src/zh/community.md +++ b/src/zh/community.md @@ -61,11 +61,22 @@ import { isNumber } from '../../.vitepress/theme/utils' const params = useUrlSearchParams('history') const server = [ -{ id: 'discord', name: 'Discord', target: '_blank', link: 'https://discord.com/invite/aFe57AKZUF', secondary: 'aFe57AKZUF', icon: 'i-logos-discord-icon' }, -{ -id: 'qq', name: 'QQ 频道', target: '_blank', -secondary: 'f006fek0f', link: 'https://pd.qq.com/s/f006fek0f', icon: '/svg/qq-channel.svg' -}, + { + id: 'discord', + name: 'Discord', + target: '_blank', + link: 'https://discord.com/invite/aFe57AKZUF', + secondary: 'aFe57AKZUF', + icon: 'i-logos-discord-icon' + }, + { + id: 'qq', + name: 'QQ 频道', + target: '_blank', + secondary: 'f006fek0f', + link: 'https://pd.qq.com/s/f006fek0f', + icon: '/imgs/common/svg/qq-channel.svg' + }, ] function jump() { diff --git a/src/zh/download-client.md b/src/zh/download-client.md index 644170158..6d76b214f 100644 --- a/src/zh/download-client.md +++ b/src/zh/download-client.md @@ -46,15 +46,43 @@ import { isNumber } from '../../.vitepress/theme/utils' const params = useUrlSearchParams('history') const downloadMethod = [ - { id:'sq', name: '加入社区', target: '_self', link: './community', icon: '/imgs/common/logo/logo_256.png' }, - { id:'bd', name: '百度网盘', target: '_blank', link: 'https://pan.baidu.com/s/1mrU_bkqcpcdjeKPUCzMNDQ?pwd=kyjg', icon: '/svg/baidu-drive.svg' + { + id:'sq', + name: '加入社区', + target: '_self', + link: './community', + icon: '/imgs/common/logo/logo_256.png' }, - { id: 'kk', name: '夸克网盘', target: '_blank', link: 'https://pan.quark.cn/s/fe8bb34c77bc', icon: '/svg/quark-drive.svg' + { + id:'bd', + name: '百度网盘', + target: '_blank', + link: 'https://pan.baidu.com/s/1mrU_bkqcpcdjeKPUCzMNDQ?pwd=kyjg', + icon: '/imgs/common/svg/baidu-drive.svg' }, - { id: 'ty', name: '天翼云盘', secondary: '访问码:exn0', target: '_blank', link: 'https://cloud.189.cn/t/YF7Fj2zIRVbi', icon: '/svg/tianyi-drive.svg' + { + id: 'kk', + name: '夸克网盘', + target: '_blank', + link: 'https://pan.quark.cn/s/fe8bb34c77bc', + icon: '/imgs/common/svg/quark-drive.svg' }, - { id:'gd', name: 'Google Drive', target: '_blank', link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', icon: 'i-logos-google-drive' } -] + { + id: 'ty', + name: '天翼云盘', + secondary: '访问码:exn0', + target: '_blank', + link: 'https://cloud.189.cn/t/YF7Fj2zIRVbi', + icon: '/imgs/common/svg/tianyi-drive.svg' + }, + { + id:'gd', + name: 'Google Drive', + target: '_blank', + link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', + icon: 'i-logos-google-drive' + } +]; function jump() { const target = String(params.q).toLocaleLowerCase() From e48348a81558ea04e9ac117de21b8d7696561943 Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 04:13:12 +0800 Subject: [PATCH 03/53] chore: add removing trailing spaces in vscode --- .vscode/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1d1ba58e8..8c2e32a9b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,5 +12,6 @@ "wechatpay", "wxtl" ], - "vue.codeActions.enabled": false + "vue.codeActions.enabled": false, + "files.trimTrailingWhitespace": true } From 6d9cea1e089ec134be1457909c54a328a9358fad Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 04:14:45 +0800 Subject: [PATCH 04/53] chore: remove deprecated files --- src/ja/communication-group.md | 11 ----------- src/zh/communication-group.md | 10 ---------- src/zh/contribution.md | 6 ------ 3 files changed, 27 deletions(-) delete mode 100644 src/ja/communication-group.md delete mode 100644 src/zh/communication-group.md delete mode 100644 src/zh/contribution.md diff --git a/src/ja/communication-group.md b/src/ja/communication-group.md deleted file mode 100644 index b0b682090..000000000 --- a/src/ja/communication-group.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -head: - - - meta - - http-equiv: refresh - content: 0; url=./community -banner: 申し訳ありませんが、このページの翻訳はまだ進行中です ---- - -:::tip -此页面已迁移至 [`/community`](./community.md),如未自动跳转请手动点击链接跳转。 -::: diff --git a/src/zh/communication-group.md b/src/zh/communication-group.md deleted file mode 100644 index 763176e1f..000000000 --- a/src/zh/communication-group.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -head: - - - meta - - http-equiv: refresh - content: 0; url=./community ---- - -:::tip -此页面已迁移至 [`/community`](./community.md),如未自动跳转请手动点击链接跳转。 -::: diff --git a/src/zh/contribution.md b/src/zh/contribution.md deleted file mode 100644 index 2ccde8352..000000000 --- a/src/zh/contribution.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -head: - - - meta - - http-equiv: refresh - content: 0; url=./staff ---- From 0b78701e724a803866acc38ec7f07919986c4a60 Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 05:11:02 +0800 Subject: [PATCH 05/53] chore: extract links, jump functions, styles for community --- package.json | 7 +- src/components/links/Community.scss | 100 ++++++++++++++++++++ src/components/links/Community.ts | 49 ++++++++++ src/en/community.md | 114 +---------------------- src/fr/community.md | 67 +------------- src/ja/community.md | 67 +------------- src/zh/community.md | 137 ++-------------------------- 7 files changed, 169 insertions(+), 372 deletions(-) create mode 100644 src/components/links/Community.scss create mode 100644 src/components/links/Community.ts diff --git a/package.json b/package.json index f989f6e70..ab43bf4cf 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "commit": "git-cz", "dev": "vitepress", "postinstall": "husky install", - "lint": "prettier --write . && eslint --fix --ext .js,.ts,.vue", + "lint": "prettier --write . && eslint --fix --ext .js,.ts,.vue", "lint:check": "pnpm lint:prettier && pnpm lint:eslint && pnpm lint:zh", "lint:eslint": "eslint . --ext .js,.ts,.vue", "lint:md": "markdownlint **/*.md && lint:zh", @@ -20,10 +20,13 @@ "up": "taze major -I" }, "lint-staged": { - "*.{js,ts,vue,scss,sass,css}": [ + "*.{js,ts,vue}": [ "eslint --fix", "prettier --write" ], + "*.{scss,sass,css}": [ + "prettier --write" + ], "*.{md,json,yml}": [ "prettier --write" ], diff --git a/src/components/links/Community.scss b/src/components/links/Community.scss new file mode 100644 index 000000000..caca23bf3 --- /dev/null +++ b/src/components/links/Community.scss @@ -0,0 +1,100 @@ +@mixin main { + ol::-webkit-scrollbar { + background: transparent; + height: 8px; + width: 8px; + } + ol::-webkit-scrollbar-corner { + width: 0; + } + ol::-webkit-scrollbar-thumb { + background-clip: content-box; + background-color: var(--vp-button-alt-bg); + border: 2px solid transparent; + border-radius: 4px; + } + ol::-webkit-scrollbar-track { + background-color: var(--vp-c-bg); + } + ol, + ul { + display: inherit; + padding: 0; + /* max-height: 475px; */ + display: flex; + flex-direction: column; + /* overflow-y: scroll; */ + + li { + cursor: pointer; + display: inline-block; + margin: 10px 0; + width: 98%; + font-size: 16px; + border: 1.5px solid var(--vp-c-divider); + border-radius: 5px; + transition: all 0.3s; + text-align: right; + a { + display: inline-block; + position: relative; + width: 100%; + height: 100%; + opacity: 0.95; + padding: 10px 16px; + box-sizing: border-box; + transition: all 0.3s; + text-decoration: none !important; + color: var(--vp-c-brand-2); + strong { + position: absolute; + left: 25px; + } + &:hover { + opacity: 1; + } + } + &:hover { + transform: translate3d(0, -2px, 0); + box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%); + } + } + } + + ul > li { + padding: 4px 0; + } + // 被封禁的群 + .custom-block.details { + ol > li { + border-color: var(--vp-c-text-3); + } + ol > li > a strong { + color: var(--vp-c-brand-2) !important; + } + ol > li:nth-child(1) > a strong, + ol > li:nth-child(5) > a strong { + text-decoration: line-through !important; + opacity: 0.65; + } + } + + #VPContent + > div + > div + > div.content + > div + > main + > div + > div + > details:nth-child(5) { + ol { + display: inherit !important; + li { + text-align: left !important; + border: none !important; + font-size: 14px !important; + } + } + } +} diff --git a/src/components/links/Community.ts b/src/components/links/Community.ts new file mode 100644 index 000000000..9c51b6f44 --- /dev/null +++ b/src/components/links/Community.ts @@ -0,0 +1,49 @@ +import type { UrlParams } from '@vueuse/core' + +export const serverMap: Record = { + discord: { + id: 'discord', + name: 'Discord', + target: '_blank', + link: 'https://discord.com/invite/aFe57AKZUF', + secondary: 'aFe57AKZUF', + icon: 'i-logos-discord-icon', + }, + qq: { + id: 'qq', + name: 'QQ 频道', + target: '_blank', + secondary: 'f006fek0f', + link: 'https://pd.qq.com/s/f006fek0f', + icon: '/imgs/common/svg/qq-channel.svg', + }, +} + +export function serverJump( + params: UrlParams, + server: Record[], +): void { + if ( + Number(params.q) <= + document.querySelectorAll( + '#VPContent > div > div > div.content > div > main > div > div > details:nth-child(6) > ol > li', + ).length + ) { + const link = ( + document?.querySelector( + `#VPContent > div > div > div.content > div > main > div > div > details:nth-child(6) > ol > li:nth-child(${Number(params.q)}) > a`, + ) as HTMLAnchorElement + ).href + + if (link.includes(location.host)) return + location.href = link + } else { + const target = String(params.q).toLocaleLowerCase() + + server.forEach((val) => { + if (val.id === target) { + location.href = val.link as string + } + }) + } +} diff --git a/src/en/community.md b/src/en/community.md index b628f6baa..109cb8f2c 100644 --- a/src/en/community.md +++ b/src/en/community.md @@ -51,118 +51,10 @@ titleTemplate: :title | Kongying Tavern 13. [**原神地图 13 群(已满)** 670338986](https://qm.qq.com/cgi-bin/qm/qr?k=SSV94vBcOvHNfZl0joiHXz0RKEilCAKb&jump_from=webapi '点击一键加入原神地图13群') 14. [**原神地图 14 群** 468263682](https://qm.qq.com/cgi-bin/qm/qr?k=g-By7txM78GfoPhk29d59Z5KkJV_Gt-z&jump_from=webapi '点击一键加入原神地图14群') 15. [**原神地图 15 群** 668424173](https://qm.qq.com/cgi-bin/qm/qr?k=qDLY3l2-A_zf2AW73X5S5PHuHcjicVbf&jump_from=webapi '点击一键加入原神地图15群') - ::: - +::: diff --git a/src/fr/community.md b/src/fr/community.md index 90a0d7b51..b5dc3e8d3 100644 --- a/src/fr/community.md +++ b/src/fr/community.md @@ -41,69 +41,6 @@ banner: Désolé, la traduction de cette page est toujours en cours 1. [**加入频道** pd.qq.com/f006fek0f](https://pd.qq.com/s/f006fek0f '邀请链接') diff --git a/src/ja/community.md b/src/ja/community.md index 6e6a050c0..dd12f601a 100644 --- a/src/ja/community.md +++ b/src/ja/community.md @@ -36,69 +36,6 @@ banner: 申し訳ありませんが、このページの翻訳はまだ進行中 1. [**加入频道** discord.gg/aFe57AKZUF](https://discord.gg/aFe57AKZUF '邀请链接') diff --git a/src/zh/community.md b/src/zh/community.md index a10dd05fb..691c60426 100644 --- a/src/zh/community.md +++ b/src/zh/community.md @@ -52,145 +52,24 @@ titleTemplate: 空荧酒馆 13. [**原神地图 13 群(已满)** 670338986](https://qm.qq.com/cgi-bin/qm/qr?k=SSV94vBcOvHNfZl0joiHXz0RKEilCAKb&jump_from=webapi '点击一键加入原神地图13群') 14. [**原神地图 14 群** 468263682](https://qm.qq.com/cgi-bin/qm/qr?k=g-By7txM78GfoPhk29d59Z5KkJV_Gt-z&jump_from=webapi '点击一键加入原神地图14群') 15. [**原神地图 15 群** 668424173](https://qm.qq.com/cgi-bin/qm/qr?k=qDLY3l2-A_zf2AW73X5S5PHuHcjicVbf&jump_from=webapi '点击一键加入原神地图15群') - ::: - From a6141f1c542e2034deb5b9eaaaa0e0242fdf848a Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 05:23:32 +0800 Subject: [PATCH 06/53] chore: extract links, jump functions, styles for join --- src/components/links/Join.scss | 79 ++++++++++++++++++++++++++++ src/components/links/Join.ts | 25 +++++++++ src/en/join.md | 66 +---------------------- src/fr/join.md | 66 +---------------------- src/ja/join.md | 81 ++--------------------------- src/zh/join.md | 95 ++-------------------------------- 6 files changed, 117 insertions(+), 295 deletions(-) create mode 100644 src/components/links/Join.scss create mode 100644 src/components/links/Join.ts diff --git a/src/components/links/Join.scss b/src/components/links/Join.scss new file mode 100644 index 000000000..785ae6a28 --- /dev/null +++ b/src/components/links/Join.scss @@ -0,0 +1,79 @@ +@mixin main { + .vp-raw { + padding: 0 28px 24px 28px; + box-shadow: var(--vp-shadow-2); + display: flex; + flex-direction: column; + width: 100%; + margin-bottom: 36px; + font-size: 15px; + transition: + all 0.5s, + box-shadow 0.25s ease, + border-color 0.25s ease; + border-radius: 6px; + background-color: var(--vp-custom-block-info-bg); + margin-top: 2rem; + + .layer.tiny { + z-index: -2; + width: 80%; + transform: translate(-50%, 12px); + background: #f1f2f3; + } + + &:hover { + transform: translate3d(0, -8px, 0); + box-shadow: var(--vp-shadow-3); + } + + .header-anchor { + display: none; + } + h3 { + margin: 0; + } + code { + font-weight: 600; + } + blockquote { + display: flex; + border-left: none; + justify-content: space-between; + align-items: center; + width: 100%; + border-bottom: 2px solid var(--vp-c-divider); + padding-bottom: 18px; + padding-left: 0; + h2 { + padding-top: 0; + letter-spacing: 0; + margin: 0; + } + a { + display: inline-block; + border-radius: 6px; + padding: 0 20px; + line-height: 34px; + font-size: 14px; + border-color: var(--vp-button-brand-border); + color: var(--vp-button-brand-text); + background-color: var(--vp-button-brand-bg); + border: 1px solid transparent; + text-align: center; + font-weight: 600; + white-space: nowrap; + transition: + color 0.25s, + border-color 0.25s, + background-color 0.25s; + text-decoration: none; + &:hover { + border-color: var(--vp-button-brand-hover-border); + color: var(--vp-button-brand-hover-text); + background-color: var(--vp-button-brand-hover-bg); + } + } + } + } +} diff --git a/src/components/links/Join.ts b/src/components/links/Join.ts new file mode 100644 index 000000000..6fc3338f2 --- /dev/null +++ b/src/components/links/Join.ts @@ -0,0 +1,25 @@ +import type { UrlParams } from '@vueuse/core' + +export const linkMap: Record = { + dd: { + id: 'dd', + link: 'http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=-HGS3II1no-AEcWHYdrhsJCN2IfKQeji&authKey=qbjuuv5VygEdFUAZSCCr2kim3V0lYvLvRjJwM7nv8KplMKjVAO4m2FuDovmcx%2FJP&noverify=0&group_code=522563995 ', + }, + kf: { + id: 'kf', + link: 'https://qm.qq.com/cgi-bin/qm/qr?k=wXbtoDmXCjlR8iJ-3lRwdNIOWio3quit&jump_from=webapi&authKey=aS/Be7vKSbcu/6zrmYVlpF6DsSnkHVMGT6Arn+RU+IiJf8ItKIFEXnVvfFmOL9We', + }, +} + +export function linkJump( + params: UrlParams, + links: Record[], +): void { + const target = String(params.q).toLocaleLowerCase() + + links.forEach((val) => { + if (val.id === target) { + location.href = val.link as string + } + }) +} diff --git a/src/en/join.md b/src/en/join.md index acf05317a..009c109b6 100644 --- a/src/en/join.md +++ b/src/en/join.md @@ -37,68 +37,6 @@ If you have proposals for a new idea or mechanic, join us to make it real. ::: diff --git a/src/fr/join.md b/src/fr/join.md index 9c4e6964f..baa6583db 100644 --- a/src/fr/join.md +++ b/src/fr/join.md @@ -39,68 +39,6 @@ If you have proposals for a new idea or mechanic, join us to make it real. ::: diff --git a/src/ja/join.md b/src/ja/join.md index f00464f60..ae8518789 100644 --- a/src/ja/join.md +++ b/src/ja/join.md @@ -129,83 +129,10 @@ banner: 申し訳ありませんが、このページの翻訳はまだ進行中 ### 要求 1. 数学系相关专业研究生及以上学历。 - ::: - diff --git a/src/zh/join.md b/src/zh/join.md index 2904516db..3226d2b8a 100644 --- a/src/zh/join.md +++ b/src/zh/join.md @@ -157,102 +157,17 @@ description: 为了进一步完善和优化项目,我们诚招各位小伙伴 import { useUrlSearchParams } from '@vueuse/core' import { onMounted } from 'vue' import { isNumber } from '../../.vitepress/theme/utils' +import { linkMap, linkJump } from '../../components/Join.ts' const params = useUrlSearchParams('history') -const group = [ - {id: 'dd', link: 'http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=-HGS3II1no-AEcWHYdrhsJCN2IfKQeji&authKey=qbjuuv5VygEdFUAZSCCr2kim3V0lYvLvRjJwM7nv8KplMKjVAO4m2FuDovmcx%2FJP&noverify=0&group_code=522563995 '}, - {id: 'kf', link: 'https://qm.qq.com/cgi-bin/qm/qr?k=wXbtoDmXCjlR8iJ-3lRwdNIOWio3quit&jump_from=webapi&authKey=aS/Be7vKSbcu/6zrmYVlpF6DsSnkHVMGT6Arn+RU+IiJf8ItKIFEXnVvfFmOL9We' } -] - -function jump() { - const target = String(params.q).toLocaleLowerCase() - - group.forEach((val) => { - if (val.id === target) { - location.href = val.link - } - }) -} +const links = [linkMap.dd, linkMap.kf] onMounted(()=> { - jump() + linkJump(params, links) }) From 9a86184cf2108afe7b6e8507d08b9b2cd3c9726d Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 05:47:10 +0800 Subject: [PATCH 07/53] chore: add ts to script --- .vitepress/theme/components/Coins.vue | 2 +- .vitepress/theme/components/DocAside.vue | 2 +- .vitepress/theme/components/DocInfo.vue | 2 +- .vitepress/theme/components/Footer.vue | 2 +- .vitepress/theme/components/Link.vue | 2 +- .vitepress/theme/components/SwitchAppearance.vue | 2 +- src/en/contribution.md | 4 ++-- src/en/team.md | 2 +- src/fr/contribution.md | 4 ++-- src/fr/team.md | 2 +- src/ja/index-template.md | 2 +- src/ja/index.md | 2 +- src/ja/team.md | 2 +- src/zh/join.md | 3 +-- src/zh/staff.md | 2 +- src/zh/team.md | 2 +- 16 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.vitepress/theme/components/Coins.vue b/.vitepress/theme/components/Coins.vue index 57fca71cb..378758927 100644 --- a/.vitepress/theme/components/Coins.vue +++ b/.vitepress/theme/components/Coins.vue @@ -41,7 +41,7 @@ - diff --git a/src/fr/contribution.md b/src/fr/contribution.md index 99a941d90..79f278206 100644 --- a/src/fr/contribution.md +++ b/src/fr/contribution.md @@ -7,7 +7,7 @@ titleTemplate: :title - Client Manuals | Kongying Tavern banner: Désolé, la traduction de cette page est toujours en cours --- - diff --git a/src/ja/index-template.md b/src/ja/index-template.md index c4a1477f2..c09c24f46 100644 --- a/src/ja/index-template.md +++ b/src/ja/index-template.md @@ -54,6 +54,6 @@ hero: link: https://github.com/kongying-tavern --- - diff --git a/src/ja/index.md b/src/ja/index.md index 20d4769df..d92a3e25e 100644 --- a/src/ja/index.md +++ b/src/ja/index.md @@ -52,6 +52,6 @@ hero: link: https://github.com/kongying-tavern --- - diff --git a/src/ja/team.md b/src/ja/team.md index 9aa18d6c6..59dd994bd 100644 --- a/src/ja/team.md +++ b/src/ja/team.md @@ -6,7 +6,7 @@ aside: false banner: 申し訳ありませんが、このページの翻訳はまだ進行中です --- - diff --git a/src/zh/join.md b/src/zh/join.md index 3226d2b8a..b6bde57f7 100644 --- a/src/zh/join.md +++ b/src/zh/join.md @@ -153,10 +153,9 @@ description: 为了进一步完善和优化项目,我们诚招各位小伙伴 1. 数学系相关专业研究生及以上学历。 ::: - diff --git a/src/zh/team.md b/src/zh/team.md index 7960b07d0..e2fc5336f 100644 --- a/src/zh/team.md +++ b/src/zh/team.md @@ -6,7 +6,7 @@ aside: false banner: 开发中页面,仅预览 --- - From 7706891ed46f0e7e3752cf847001244ae3612a20 Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 05:48:19 +0800 Subject: [PATCH 08/53] chore: extract links, jump functions, styles for download-client --- src/components/links/Download.ts | 53 +++++++++++++++++++++++++++++ src/en/download-client.md | 25 +++++--------- src/fr/download-client.md | 32 +++--------------- src/zh/community.md | 1 - src/zh/download-client.md | 57 +++++--------------------------- 5 files changed, 75 insertions(+), 93 deletions(-) create mode 100644 src/components/links/Download.ts diff --git a/src/components/links/Download.ts b/src/components/links/Download.ts new file mode 100644 index 000000000..48c03fb53 --- /dev/null +++ b/src/components/links/Download.ts @@ -0,0 +1,53 @@ +import type { UrlParams } from '@vueuse/core' + +export const clientMap: Record = { + sq: { + id: 'sq', + name: '加入社区', + target: '_self', + link: './community', + icon: '/imgs/common/logo/logo_256.png', + }, + bd: { + id: 'bd', + name: '百度网盘', + target: '_blank', + link: 'https://pan.baidu.com/s/1mrU_bkqcpcdjeKPUCzMNDQ?pwd=kyjg', + icon: '/imgs/common/svg/baidu-drive.svg', + }, + kk: { + id: 'kk', + name: '夸克网盘', + target: '_blank', + link: 'https://pan.quark.cn/s/fe8bb34c77bc', + icon: '/imgs/common/svg/quark-drive.svg', + }, + ty: { + id: 'ty', + name: '天翼云盘', + secondary: '访问码:exn0', + target: '_blank', + link: 'https://cloud.189.cn/t/YF7Fj2zIRVbi', + icon: '/imgs/common/svg/tianyi-drive.svg', + }, + gd: { + id: 'gd', + name: 'Google Drive', + target: '_blank', + link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', + icon: 'i-logos-google-drive', + }, +} + +export function downloadJump( + params: UrlParams, + downloadMethod: Record[], +): void { + const target = String(params.q).toLocaleLowerCase() + + downloadMethod.forEach((val) => { + if (val.id === target) { + location.href = val.link as string + } + }) +} diff --git a/src/en/download-client.md b/src/en/download-client.md index b40e1a3a7..f54cc6ec9 100644 --- a/src/en/download-client.md +++ b/src/en/download-client.md @@ -28,25 +28,18 @@ link: https://yuanshen.site theme: medium ``` - diff --git a/src/fr/download-client.md b/src/fr/download-client.md index 266d1bff3..c117a3861 100644 --- a/src/fr/download-client.md +++ b/src/fr/download-client.md @@ -27,40 +27,18 @@ link: https://yuanshen.site theme: medium ``` - diff --git a/src/zh/community.md b/src/zh/community.md index 691c60426..5ce9658a3 100644 --- a/src/zh/community.md +++ b/src/zh/community.md @@ -58,7 +58,6 @@ titleTemplate: 空荧酒馆 From 7a422c6370ac27f62cedc0e12c10a0d52155b60e Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 05:59:04 +0800 Subject: [PATCH 09/53] fix: fix i18n support for community link map --- src/components/links/Community.ts | 14 +++++++++++--- src/zh/community.md | 7 +++++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/components/links/Community.ts b/src/components/links/Community.ts index 9c51b6f44..d151de04a 100644 --- a/src/components/links/Community.ts +++ b/src/components/links/Community.ts @@ -1,9 +1,9 @@ import type { UrlParams } from '@vueuse/core' -export const serverMap: Record = { +const serverMap: Record> = { discord: { id: 'discord', - name: 'Discord', + name: '', target: '_blank', link: 'https://discord.com/invite/aFe57AKZUF', secondary: 'aFe57AKZUF', @@ -11,7 +11,7 @@ export const serverMap: Record = { }, qq: { id: 'qq', - name: 'QQ 频道', + name: '', target: '_blank', secondary: 'f006fek0f', link: 'https://pd.qq.com/s/f006fek0f', @@ -19,6 +19,14 @@ export const serverMap: Record = { }, } +export function serverLink(key: string, text: string): Record { + const link = serverMap[key] + + link.name = text + + return link +} + export function serverJump( params: UrlParams, server: Record[], diff --git a/src/zh/community.md b/src/zh/community.md index 5ce9658a3..5368307fb 100644 --- a/src/zh/community.md +++ b/src/zh/community.md @@ -58,10 +58,13 @@ titleTemplate: 空荧酒馆 diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index 0a67bee1b..de97d4ded 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -6,7 +6,7 @@ import DefaultTheme from 'vitepress/theme-without-fonts' import Link from './components/Link.vue' import Coins from './components/Coins.vue' import googleAnalytics from '../plugins/googleAnalytics' -import Card from '../theme/components/Card' +import Card from '../theme/components/Card.vue' import LinkGrid from '../theme/components/LinkGrid.vue' import { createPinia } from 'pinia' import DocAside from './components/DocAside.vue' From ef4044bf32fce272e90489de27882dd01ea27006 Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 18:22:29 +0800 Subject: [PATCH 13/53] fix: fix font load resolution Co-authored-by: Hyouka --- .vitepress/theme/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index de97d4ded..e5eb2411b 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -1,5 +1,5 @@ import { onMounted, watch, nextTick, defineAsyncComponent, h } from 'vue' -import { useRoute, useData } from 'vitepress' +import { useRoute, useData, withBase } from 'vitepress' import { VPBadge } from 'vitepress/theme-without-fonts' import mediumZoom from 'medium-zoom' import DefaultTheme from 'vitepress/theme-without-fonts' @@ -71,7 +71,7 @@ export default { const loadFont = () => { const font = new FontFace( 'zh-cn-full', - 'url(/docs/fonts/HYWenHei-85W-zh-full.woff2)', + `url(${withBase('/fonts/HYWenHei-85W-zh-full.woff2')})`, { display: 'swap', }, From faa8dd1b27147a97db3aa2325e1f1687a376da6d Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 18:22:53 +0800 Subject: [PATCH 14/53] chore: update Card vue by on to `@` --- .vitepress/theme/components/Card.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vitepress/theme/components/Card.vue b/.vitepress/theme/components/Card.vue index 521586eea..bcc48548b 100644 --- a/.vitepress/theme/components/Card.vue +++ b/.vitepress/theme/components/Card.vue @@ -12,12 +12,12 @@
{ e.target!['classList'].remove('skeleton-animation') } " - :onerror=" + @error=" (e) => { e.target!['classList'].add('load-error') e.target!['src'] = 'https://assets.yuanshen.site/images/noImage.png' From 3a470220dbb5121ccca091b7dcfb02640a1c00bb Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 18:48:19 +0800 Subject: [PATCH 15/53] fix: fix un-rendered logos for UnoCSS Co-authored-by: Hyouka --- .vitepress/theme/components/Coins.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.vitepress/theme/components/Coins.vue b/.vitepress/theme/components/Coins.vue index 378758927..0fe105133 100644 --- a/.vitepress/theme/components/Coins.vue +++ b/.vitepress/theme/components/Coins.vue @@ -39,6 +39,15 @@
+ + + From 812930ac5e382efd2cc74dcffaaf9b0490f48352 Mon Sep 17 00:00:00 2001 From: Hyouka Date: Fri, 26 Apr 2024 21:54:46 +0800 Subject: [PATCH 19/53] chore: delete log --- .vitepress/theme/components/Card.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/.vitepress/theme/components/Card.vue b/.vitepress/theme/components/Card.vue index 825880744..8a0974ad4 100644 --- a/.vitepress/theme/components/Card.vue +++ b/.vitepress/theme/components/Card.vue @@ -169,7 +169,6 @@ const iconLink = computed(() => { if (props.logo === '' && props.link !== '') { const linkDomain = props.link.match(/(?:https?:\/\/)?(?:www\.)?([^\/]+)\//) - console.log(linkDomain) if (linkDomain && linkDomain[1]) { const domain = linkDomain[1] for (const key in iconMap) { From dc89ee715be66eea4b5832f31f65a72ff560b93a Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 21:45:16 +0800 Subject: [PATCH 20/53] fix: fix Card link pointer Co-authored-by: Hyouka --- .vitepress/theme/components/Card.vue | 1 + .vitepress/theme/styles/card.scss | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.vitepress/theme/components/Card.vue b/.vitepress/theme/components/Card.vue index 8a0974ad4..c3c6f5785 100644 --- a/.vitepress/theme/components/Card.vue +++ b/.vitepress/theme/components/Card.vue @@ -8,6 +8,7 @@ ...(color ? { background: color } : null), ...(shadow ? { 'box-shadow': 'var(--vp-shadow-1)' } : null), }" + :is-external-link="isLinkExternal(link) ? 'true' : 'false'" >
Date: Fri, 26 Apr 2024 22:45:44 +0800 Subject: [PATCH 21/53] fix: update font url --- .vitepress/theme/styles/vars.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vitepress/theme/styles/vars.css b/.vitepress/theme/styles/vars.css index b8475aa20..7909501f4 100644 --- a/.vitepress/theme/styles/vars.css +++ b/.vitepress/theme/styles/vars.css @@ -1,8 +1,8 @@ @font-face { font-family: zh-cn-min; src: - url('../../../src/public/fonts/HYWenHei-85W-zh-min.woff2') format('woff2'), - url('../../../src/public/fonts/HYWenHei-85W-zh-min.woff') format('woff'); + url('/fonts/HYWenHei-85W-zh-min.woff2') format('woff2'), + url('/fonts/HYWenHei-85W-zh-min.woff') format('woff'); } /** From eb9613126c3a99b408fbe53e45a1d22194035f3d Mon Sep 17 00:00:00 2001 From: Alex Fang Date: Fri, 26 Apr 2024 23:07:29 +0800 Subject: [PATCH 22/53] refactor: tune Card component Co-authored-by: Hyouka --- .vitepress/theme/components/Card.vue | 83 ++++++++++++++++------------ 1 file changed, 49 insertions(+), 34 deletions(-) diff --git a/.vitepress/theme/components/Card.vue b/.vitepress/theme/components/Card.vue index c3c6f5785..c29224b3a 100644 --- a/.vitepress/theme/components/Card.vue +++ b/.vitepress/theme/components/Card.vue @@ -1,42 +1,31 @@