From 1fd66524a69904fa7a69aab4d8855356c7e30574 Mon Sep 17 00:00:00 2001 From: Love98 Date: Wed, 14 Aug 2024 20:26:29 +0800 Subject: [PATCH] docs: theme and i18n --- docs/.vitepress/config.mjs | 2 +- docs/.vitepress/theme/home.css | 4 ++++ docs/.vitepress/theme/index.ts | 6 ++++++ docs/dev-guide/backend/Process-of-Submission-&-SelfTest.md | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 docs/.vitepress/theme/home.css create mode 100644 docs/.vitepress/theme/index.ts diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index f01d9e8..0e7aa6c 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -65,7 +65,7 @@ export default withMermaid({ base: '/dev-guide/backend/gateway', items: [ { - text: '简介', + text: '网关开发', link: '/' }, { diff --git a/docs/.vitepress/theme/home.css b/docs/.vitepress/theme/home.css new file mode 100644 index 0000000..8397180 --- /dev/null +++ b/docs/.vitepress/theme/home.css @@ -0,0 +1,4 @@ +:root { + --vp-home-hero-image-background-image: linear-gradient( 135deg, #465EFB 10%, #C2FFD8 100%); + --vp-home-hero-image-filter: blur(68px); +} \ No newline at end of file diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts new file mode 100644 index 0000000..c719493 --- /dev/null +++ b/docs/.vitepress/theme/index.ts @@ -0,0 +1,6 @@ +import Theme from 'vitepress/theme' +import './home.css' + +export default { + ...Theme +} diff --git a/docs/dev-guide/backend/Process-of-Submission-&-SelfTest.md b/docs/dev-guide/backend/Process-of-Submission-&-SelfTest.md index d67a01b..c3199ed 100644 --- a/docs/dev-guide/backend/Process-of-Submission-&-SelfTest.md +++ b/docs/dev-guide/backend/Process-of-Submission-&-SelfTest.md @@ -48,7 +48,7 @@ Key: `submission:{userID}:{UUID}` Value: `{submission}` -## Status +## 提交状态 SASTOJ 的评测状态有以下几种: