From 5313de41528e25a2716765df7ecaca93fb216b74 Mon Sep 17 00:00:00 2001 From: KirisameVanilla <118162831+kirisamevanilla@users.noreply.github.com> Date: Wed, 10 Sep 2025 00:06:35 +0800 Subject: [PATCH] chore: navbar text --- docs/.vuepress/navbar.ts | 7 ++++++- docs/.vuepress/sidebar.ts | 2 +- docs/README.md | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index 18ecdfa..2b573be 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -2,5 +2,10 @@ import { navbar } from "vuepress-theme-hope"; export default navbar([ "/", - "/courses/", + { + text: "课程", + icon: "book", + link: "/courses/", + activeMatch: "^/courses/", + }, ]); diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar.ts index 962fdcc..fb34dce 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar.ts @@ -4,7 +4,7 @@ export default sidebar({ "/": [ "", { - text: "华东师范大学课程共享计划", + text: "课程", icon: "book", prefix: "courses/", link: "courses/", diff --git a/docs/README.md b/docs/README.md index 46f289a..998d3a4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,7 +1,7 @@ --- home: true icon: house -title: 项目主页 +title: 主页 # TODO: logo.svg heroImage: https://drive.vanillaaaa.org/p/SharedCourses/logo.png?sign=Gt94tCDy5QpjoruGeP58uylLeoDpJtiRT8r5V8nuMZw=:0 bgImage: https://theme-hope-assets.vuejs.press/bg/6-light.svg