]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs(zh): update home page of the chinese docs and theme config (#2002)
authorKim Yang <hi@kimyang.cn>
Mon, 20 Feb 2023 17:15:45 +0000 (01:15 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Feb 2023 17:15:45 +0000 (18:15 +0100)
packages/docs/.vitepress/config/zh.ts
packages/docs/zh/index.md

index 17c2e8be1675ee8dffc61a9a3b3e088eff13c089..aa9ddaf57f08e6f7445b2bb3893a930d3e50b8b3 100644 (file)
@@ -26,6 +26,11 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
       label: '本页内容',
     },
 
+    docFooter: {
+      prev: '上一页',
+      next: '下一页',
+    },
+
     nav: [
       // { text: 'Config', link: '/config/' },
       // { text: 'Plugins', link: '/plugins/' },
index 3df37f7023dcc187a612899b6df21b70c15f60fa..2c278721a6bce961f60a04a4508af07748201654 100644 (file)
@@ -8,8 +8,8 @@ titleTemplate: The intuitive store for Vue.js
 
 hero:
   name: Pinia
-  text: The intuitive store for Vue.js
-  tagline: Type Safe, Extensible, and Modular by design. Forget you are even using a store.
+  text: "符合直觉的 \nVue.js 状态管理库"
+  tagline: "类型安全、可扩展性以及模块化设计。\n甚至让你忘记正在使用的是一个状态库。"
   image:
     src: /logo.svg
     alt: Pinia