This is an automated email from the ASF dual-hosted git repository.

midnight2104 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new f41c60e  UpdateFormat (#230)
f41c60e is described below

commit f41c60e7a24b27dd7b1c04d359173f2ea3709dd7
Author: fengzhenbing <[email protected]>
AuthorDate: Wed Sep 1 19:37:11 2021 +0800

    UpdateFormat (#230)
---
 README.md                                             |  1 +
 community/0-Apache-ShenYu-Subscribe-Email.md          |  2 +-
 community/1-Apache-ShenYu-Code-Conduct.md             |  2 +-
 community/2-Apache-ShenYu-Issue-And-Pull-Request.md   |  2 +-
 community/3-Apache-ShenYu-Contributor's-Guide.md      |  2 +-
 community/4-Apache-ShenYu-Committer.md                |  2 +-
 community/5-Apache-ShenYu-Release-Guide.md            |  2 +-
 community/6-How-to-vote-Apache-ShenYu-Committer.md    |  4 ++--
 community/7-Apache-ShenYu-Two-FA.md                   |  2 +-
 community/9-Apache-ShenYu-Contributors.mdx            |  2 +-
 docusaurus.config.js                                  |  4 ++++
 i18n/zh/code.json                                     | 10 +++++-----
 .../current/0-Apache-ShenYu-Subscribe-Email.md        |  2 +-
 .../current/1-Apache-ShenYu-Code-Conduct.md           |  2 +-
 .../current/2-Apache-ShenYu-Issue-And-Pull-Request.md |  2 +-
 .../current/3-Apache-ShenYu-Contributor's-Guide.md    |  2 +-
 .../current/4-Apache-ShenYu-Committer.md              |  2 +-
 .../current/5-Apache-ShenYu-Release-Guide.md          |  2 +-
 .../current/6-How-to-vote-Apache-ShenYu-Committer.md  |  2 +-
 .../current/7-Apache-ShenYu-Two-FA.md                 |  2 +-
 .../current/9-Apache-ShenYu-Contributors.mdx          |  2 +-
 package.json                                          |  4 +++-
 src/pages/index.module.css                            | 19 +++++++++++++++++++
 23 files changed, 51 insertions(+), 25 deletions(-)

diff --git a/README.md b/README.md
index 32b4152..8d327ae 100755
--- a/README.md
+++ b/README.md
@@ -38,6 +38,7 @@ This command starts a local development server and opens up a 
browser window. Mo
 * Create new branch
 * Commit and push changes to content (e.g. The `.md` file in `/docs`).
 * Translate the markdown file, commit  and push changes to content (e.g. The 
`.md` file in `/i18n/zh/docusaurus-plugin-content-docs/current`).
+* Check the format by `yarn lint`.
 * Submit pull request to `main` branch
 
 ## License
diff --git a/community/0-Apache-ShenYu-Subscribe-Email.md 
b/community/0-Apache-ShenYu-Subscribe-Email.md
index 9b3d783..fa55a63 100755
--- a/community/0-Apache-ShenYu-Subscribe-Email.md
+++ b/community/0-Apache-ShenYu-Subscribe-Email.md
@@ -1,7 +1,7 @@
 ---
 id: subscribe-email
 sidebar_position: 1
-title: Apache ShenYu Subscribe Email
+title: Subscribe Email
 description: Apache ShenYu Subscribe Email
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git a/community/1-Apache-ShenYu-Code-Conduct.md 
b/community/1-Apache-ShenYu-Code-Conduct.md
index 982c335..c63393e 100755
--- a/community/1-Apache-ShenYu-Code-Conduct.md
+++ b/community/1-Apache-ShenYu-Code-Conduct.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu Code Conduct
+title: Code Conduct
 description: Apache ShenYu Coding Guide
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git a/community/2-Apache-ShenYu-Issue-And-Pull-Request.md 
b/community/2-Apache-ShenYu-Issue-And-Pull-Request.md
index 5543d39..d44b703 100755
--- a/community/2-Apache-ShenYu-Issue-And-Pull-Request.md
+++ b/community/2-Apache-ShenYu-Issue-And-Pull-Request.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu Issue And Pull Request
+title: Issue And Pull Request
 description: Apache ShenYu Issue And Pull Request
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git a/community/3-Apache-ShenYu-Contributor's-Guide.md 
b/community/3-Apache-ShenYu-Contributor's-Guide.md
index 590ea97..1ff4a60 100755
--- a/community/3-Apache-ShenYu-Contributor's-Guide.md
+++ b/community/3-Apache-ShenYu-Contributor's-Guide.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu Contributor
+title: Contributor
 description: Apache ShenYu Contributor's Guide
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git a/community/4-Apache-ShenYu-Committer.md 
b/community/4-Apache-ShenYu-Committer.md
index 17c00e9..8ef0f33 100755
--- a/community/4-Apache-ShenYu-Committer.md
+++ b/community/4-Apache-ShenYu-Committer.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu Committer
+title: Committer
 description: Apache ShenYu Committer's Guide
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git a/community/5-Apache-ShenYu-Release-Guide.md 
b/community/5-Apache-ShenYu-Release-Guide.md
index db5b4e8..ce03e7e 100755
--- a/community/5-Apache-ShenYu-Release-Guide.md
+++ b/community/5-Apache-ShenYu-Release-Guide.md
@@ -1,5 +1,5 @@
 ---
-title: Apache  ShenYu Release Guide
+title: Release Guide
 description: Apache ShenYu Release Guide
 cover: "/img/architecture/shenyu-framework.png"
 ---
diff --git a/community/6-How-to-vote-Apache-ShenYu-Committer.md 
b/community/6-How-to-vote-Apache-ShenYu-Committer.md
index a31699f..bbd72ca 100755
--- a/community/6-How-to-vote-Apache-ShenYu-Committer.md
+++ b/community/6-How-to-vote-Apache-ShenYu-Committer.md
@@ -1,6 +1,6 @@
 ---
-title: How to vote Apache ShenYu Committer
-description: How to vote Apache ShenYu Committer
+title: How to vote Committer
+description: How to vote Committer
 author: "xiaoyu"
 categories: "Apache ShenYu"
 tags: ["Vote-Committer"]
diff --git a/community/7-Apache-ShenYu-Two-FA.md 
b/community/7-Apache-ShenYu-Two-FA.md
index 6598af8..06d67e8 100755
--- a/community/7-Apache-ShenYu-Two-FA.md
+++ b/community/7-Apache-ShenYu-Two-FA.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu Two FA (By Apache ShenYu Committers) 
+title: Two FA
 description: Apache ShenYu Two FA
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git a/community/9-Apache-ShenYu-Contributors.mdx 
b/community/9-Apache-ShenYu-Contributors.mdx
index c4f551c..e50de1d 100755
--- a/community/9-Apache-ShenYu-Contributors.mdx
+++ b/community/9-Apache-ShenYu-Contributors.mdx
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu Contributors
+title: Contributors
 description: Apache ShenYu Contributors
 author: "xiaoyu"
 loadContributorList: true
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 317a9f1..df9c814 100755
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -27,6 +27,10 @@ module.exports = {
     },
   },
   themeConfig: {
+    announcementBar: {
+      id: 'announcementBar-2', // Increment on change
+      content: `⭐️ &nbsp; If you like Apache ShenYu (Incubating), give it a 
star on <a target="_blank" rel="noopener noreferrer" 
href="https://github.com/apache/incubator-shenyu";>GitHub</a>`,
+    },
     navbar: {
      // title: 'Apache ShenYu (Incubating)',
       logo: {
diff --git a/i18n/zh/code.json b/i18n/zh/code.json
index 3638c27..a80739c 100755
--- a/i18n/zh/code.json
+++ b/i18n/zh/code.json
@@ -164,11 +164,11 @@
     "description": "The ARIA label for the docs pagination"
   },
   "theme.docs.paginator.previous": {
-    "message": "Previous",
+    "message": "上一篇",
     "description": "The label used to navigate to the previous doc"
   },
   "theme.docs.paginator.next": {
-    "message": "Next",
+    "message": "下一篇",
     "description": "The label used to navigate to the next doc"
   },
   "theme.docs.sidebar.collapseButtonTitle": {
@@ -196,7 +196,7 @@
     "description": "The label used for the latest version suggestion link 
label"
   },
   "theme.common.editThisPage": {
-    "message": "Edit this page",
+    "message": "编辑本文档",
     "description": "The link label to edit the current page"
   },
   "theme.common.headingLinkTitle": {
@@ -244,7 +244,7 @@
     "description": "The placeholder for search page input"
   },
   "theme.SearchPage.inputLabel": {
-    "message": "Search",
+    "message": "搜索",
     "description": "The ARIA label for search page input"
   },
   "theme.SearchPage.algoliaLabel": {
@@ -260,7 +260,7 @@
     "description": "The paragraph for fetching new search results"
   },
   "theme.SearchBar.label": {
-    "message": "Search",
+    "message": "搜索",
     "description": "The ARIA label and placeholder for search button"
   },
   "Open": {
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/0-Apache-ShenYu-Subscribe-Email.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/0-Apache-ShenYu-Subscribe-Email.md
index 3bcdcd0..7529a5d 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/0-Apache-ShenYu-Subscribe-Email.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/0-Apache-ShenYu-Subscribe-Email.md
@@ -1,7 +1,7 @@
 ---
 id: subscribe-email
 sidebar_position: 1
-title: Apache ShenYu Subscribe Email
+title: 订阅邮件
 description: Apache ShenYu Subscribe Email指南
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/1-Apache-ShenYu-Code-Conduct.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/1-Apache-ShenYu-Code-Conduct.md
index fbfc876..67b07b6 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/1-Apache-ShenYu-Code-Conduct.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/1-Apache-ShenYu-Code-Conduct.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu 编码指南
+title: 编码指南
 description: Apache ShenYu 编码指南
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/2-Apache-ShenYu-Issue-And-Pull-Request.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/2-Apache-ShenYu-Issue-And-Pull-Request.md
index d091446..bd23af5 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/2-Apache-ShenYu-Issue-And-Pull-Request.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/2-Apache-ShenYu-Issue-And-Pull-Request.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu Issue And Pull Request
+title: 问题及提交请求
 description: Apache ShenYu Issue And Pull Request
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/3-Apache-ShenYu-Contributor's-Guide.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/3-Apache-ShenYu-Contributor's-Guide.md
index 0c01885..0cc6b11 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/3-Apache-ShenYu-Contributor's-Guide.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/3-Apache-ShenYu-Contributor's-Guide.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu 贡献者指南
+title: 贡献者指南
 description: Apache ShenYu 贡献者指南
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/4-Apache-ShenYu-Committer.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/4-Apache-ShenYu-Committer.md
index 2853bae..6617d90 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/4-Apache-ShenYu-Committer.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/4-Apache-ShenYu-Committer.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu 提交者指南
+title: 提交者指南
 description: Apache shenyu 提交者指南
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/5-Apache-ShenYu-Release-Guide.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/5-Apache-ShenYu-Release-Guide.md
index 65dec2a..7687e88 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/5-Apache-ShenYu-Release-Guide.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/5-Apache-ShenYu-Release-Guide.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu发布指南
+title: 发布指南
 description: Apache ShenYu发布指南
 cover: "/img/architecture/shenyu-framework.png"
 ---
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/6-How-to-vote-Apache-ShenYu-Committer.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/6-How-to-vote-Apache-ShenYu-Committer.md
index 34d6ccf..412d742 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/6-How-to-vote-Apache-ShenYu-Committer.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/6-How-to-vote-Apache-ShenYu-Committer.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu提名新的Committer
+title: 提名新的Committer
 description: Apache ShenYu提名新的Committer
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/7-Apache-ShenYu-Two-FA.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/7-Apache-ShenYu-Two-FA.md
index dd52764..943fb61 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/7-Apache-ShenYu-Two-FA.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/7-Apache-ShenYu-Two-FA.md
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu 双因素认证 (By Apache ShenYu Committers) 
+title: 双因素认证
 description: Apache ShenYu Two FA
 author: "xiaoyu"
 categories: "Apache ShenYu"
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/9-Apache-ShenYu-Contributors.mdx
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/9-Apache-ShenYu-Contributors.mdx
index ee13224..16be88c 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/9-Apache-ShenYu-Contributors.mdx
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/9-Apache-ShenYu-Contributors.mdx
@@ -1,5 +1,5 @@
 ---
-title: Apache ShenYu贡献者
+title: 贡献者
 description: Apache ShenYu贡献者列表
 author: "xiaoyu"
 loadContributorList: true
diff --git a/package.json b/package.json
index bac570e..67dd697 100755
--- a/package.json
+++ b/package.json
@@ -11,7 +11,9 @@
     "clear": "docusaurus clear",
     "serve": "docusaurus serve",
     "write-translations": "docusaurus write-translations",
-    "write-heading-ids": "docusaurus write-heading-ids"
+    "write-heading-ids": "docusaurus write-heading-ids",
+    "lint": "markdownlint '**/*.md' --ignore node_modules --config 
./.github/.markdownlint.yml",
+    "lint:fix": "markdownlint '**/*.md' --ignore node_modules --config 
./.github/.markdownlint.yml --fix"
   },
   "dependencies": {
     "@docusaurus/core": "2.0.0-beta.4",
diff --git a/src/pages/index.module.css b/src/pages/index.module.css
index a3526a4..5ac3751 100755
--- a/src/pages/index.module.css
+++ b/src/pages/index.module.css
@@ -229,4 +229,23 @@
   .indexCtasGitHubButton {
     display: none;
   }
+
+  .userSwiperContent {
+    height: 250px;
+  }
+
+  .swiper-slide {
+    width: 45px;
+    height: 35px;
+    margin-right: 2px;
+    margin-bottom: 2px;
+    overflow: hidden;
+    background-repeat: no-repeat;
+    background-size: contain;
+    background-position: center;
+    border: 1px solid #eaecef;
+    border-radius: 2px;
+    padding: 10px;
+    box-shadow: #f8f9fa 0px 1px 2px 0px; 
+  }
 }

Reply via email to