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

jimin pushed a commit to branch docusaurus
in repository https://gitbox.apache.org/repos/asf/incubator-seata-website.git


The following commit(s) were added to refs/heads/docusaurus by this push:
     new 7b3f54a336 optimize: optimize title and some desc (#764)
7b3f54a336 is described below

commit 7b3f54a336b5d5313941d8ec7a6fa6f1e030bb37
Author: liuqiufeng <[email protected]>
AuthorDate: Wed Jan 10 09:39:30 2024 +0800

    optimize: optimize title and some desc (#764)
---
 docusaurus.config.js         | 54 +++++++++++++++++++++++++++-----------------
 i18n/en/code.json            |  4 ++--
 i18n/zh-cn/code.json         |  4 ++--
 src/pages/home/top/index.tsx |  2 +-
 src/pages/index.tsx          |  1 -
 5 files changed, 38 insertions(+), 27 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 3caa640775..22462aec42 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -4,17 +4,26 @@
 const lightCodeTheme = require('prism-react-renderer/themes/github');
 const darkCodeTheme = require('prism-react-renderer/themes/dracula');
 const asfDict = [
-  {target: 'https://www.apache.org', text: 'Foundation'},
-  {target: 'https://www.apache.org/licenses', text: 'License'},
-  {target: 'https://www.apache.org/events/current-event.html', text: 'Events'},
-  {target: 'https://www.apache.org/foundation/sponsorship.html', text: 
'Sponsorship'},
-  {target: 'https://privacy.apache.org/policies/privacy-policy-public.html', 
text: 'Privacy'},
-  {target: 'https://www.apache.org/security', text: 'Security'},
-  {target: 'https://www.apache.org/foundation/thanks.html', text: 'Thanks'},
+  { target: 'https://www.apache.org', text: 'Foundation' },
+  { target: 'https://www.apache.org/licenses', text: 'License' },
+  {
+    target: 'https://www.apache.org/events/current-event.html',
+    text: 'Events',
+  },
+  {
+    target: 'https://www.apache.org/foundation/sponsorship.html',
+    text: 'Sponsorship',
+  },
+  {
+    target: 'https://privacy.apache.org/policies/privacy-policy-public.html',
+    text: 'Privacy',
+  },
+  { target: 'https://www.apache.org/security', text: 'Security' },
+  { target: 'https://www.apache.org/foundation/thanks.html', text: 'Thanks' },
 ];
 /** @type {import('@docusaurus/types').Config} */
 const config = {
-  title: 'Seata',
+  title: 'Apache Seata™',
   favicon: 'img/seata_logo_small.jpeg',
 
   // Set the production url of your site here
@@ -65,9 +74,10 @@ const config = {
         path: 'unversioned',
         routeBasePath: '/unversioned',
         sidebarPath: require.resolve('./sidebarsUnversioned.js'),
-        editUrl: 
'https://github.com/apache/incubator-seata-website/blob/docusaurus/',
+        editUrl:
+          'https://github.com/apache/incubator-seata-website/blob/docusaurus/',
         editCurrentVersion: true,
-        editLocalizedFiles: true
+        editLocalizedFiles: true,
       }),
     ],
     [
@@ -118,16 +128,18 @@ const config = {
       ({
         docs: {
           sidebarPath: require.resolve('./sidebars.js'),
-          editUrl: 
'https://github.com/apache/incubator-seata-website/blob/docusaurus/',
+          editUrl:
+            
'https://github.com/apache/incubator-seata-website/blob/docusaurus/',
           editCurrentVersion: false,
-          editLocalizedFiles: true
+          editLocalizedFiles: true,
         },
         blog: {
           showReadingTime: true,
           blogSidebarTitle: '全部博文',
           blogSidebarCount: 'ALL',
-          editUrl: 
'https://github.com/apache/incubator-seata-website/blob/docusaurus/',
-          editLocalizedFiles: true
+          editUrl:
+            
'https://github.com/apache/incubator-seata-website/blob/docusaurus/',
+          editLocalizedFiles: true,
         },
         theme: {
           customCss: require.resolve('./src/css/custom.scss'),
@@ -204,7 +216,7 @@ const config = {
             label: 'ASF',
             type: 'dropdown',
             position: 'right',
-            items: asfDict.map(link => ({
+            items: asfDict.map((link) => ({
               label: link.text,
               to: link.target,
             })),
@@ -220,17 +232,17 @@ const config = {
           autoCollapseCategories: true,
         },
       },
-      footer:{
-        logo:{
+      footer: {
+        logo: {
           alt: 'Apache Incubator Logo',
           src: 'img/apache/incubator.svg',
-          href:'https://incubator.apache.org/',
-          target: '_blank'
+          href: 'https://incubator.apache.org/',
+          target: '_blank',
         },
         copyright: `
                   <div class="fs-12">
                     <div class="center-div">
-                      <span>Apache Seata is an effort undergoing incubation at 
The Apache Software Foundation (ASF), sponsored by the Apache Incubator. 
Incubation is required of all newly accepted projects until a further review 
indicates that the infrastructure, communications, and decision making process 
have stabilized in a manner consistent with other successful ASF projects. 
While incubation status is not necessarily a reflection of the completeness or 
stability of the code, it does [...]
+                      <span>Apache Seata (incubating) is an effort undergoing 
incubation at The Apache Software Foundation (ASF), sponsored by the Apache 
Incubator. Incubation is required of all newly accepted projects until a 
further review indicates that the infrastructure, communications, and decision 
making process have stabilized in a manner consistent with other successful ASF 
projects. While incubation status is not necessarily a reflection of the 
completeness or stability of the  [...]
                     </div>
                     <br/>
                     <div class="center-div">
@@ -239,7 +251,7 @@ const config = {
                     </div>
                     <br/>
                   </div>
-                  `
+                  `,
       },
       prism: {
         theme: lightCodeTheme,
diff --git a/i18n/en/code.json b/i18n/en/code.json
index 777226917a..750de4f73d 100644
--- a/i18n/en/code.json
+++ b/i18n/en/code.json
@@ -274,7 +274,7 @@
     "message": "Vision"
   },
   "homepage.footerVersionContent": {
-    "message": "Apache Seata (incubating) is an open source distributed 
transaction solution that delivers high performance and easy to use distributed 
transaction services under a microservices architecture."
+    "message": "Apache Seata™ is an open source distributed transaction 
solution that delivers high performance and easy to use distributed transaction 
services under a microservices architecture."
   },
   "homepage.footerDocTitle": {
     "message": "Documentation"
@@ -364,7 +364,7 @@
     "message": "Create a brilliant "
   },
   "homepage.briefIntroduction": {
-    "message": "Apache Seata (Incubating) is an open source distributed 
transaction solution that delivers high performance and easy to use distributed 
transaction services under a microservices architecture."
+    "message": "Apache Seata™ is an open source distributed transaction 
solution that delivers high performance and easy to use distributed transaction 
services under a microservices architecture."
   },
   "homepage.quickstartButton": {
     "message": "Get Started"
diff --git a/i18n/zh-cn/code.json b/i18n/zh-cn/code.json
index cf76f93fc2..90fc1df4bd 100644
--- a/i18n/zh-cn/code.json
+++ b/i18n/zh-cn/code.json
@@ -274,7 +274,7 @@
     "message": "愿景"
   },
   "homepage.footerVersionContent": {
-    "message": "Apache Seata (incubating) 
是一款开源的分布式事务解决方案,致力于在微服务架构下提供高性能和简单易用的分布式事务服务。"
+    "message": "Apache Seata™ 是一款开源的分布式事务解决方案,致力于在微服务架构下提供高性能和简单易用的分布式事务服务。"
   },
   "homepage.footerDocTitle": {
     "message": "文档"
@@ -361,7 +361,7 @@
     "message": "创建一个"
   },
   "homepage.briefIntroduction": {
-    "message": "Apache Seata (Incubating) 
是一款开源的分布式事务解决方案,致力于在微服务架构下提供高性能和简单易用的分布式事务服务。"
+    "message": "Apache Seata™ 是一款开源的分布式事务解决方案,致力于在微服务架构下提供高性能和简单易用的分布式事务服务。"
   },
   "homepage.quickstartButton": {
     "message": "快速入门"
diff --git a/src/pages/home/top/index.tsx b/src/pages/home/top/index.tsx
index 4e6cd3c46d..5d3e305382 100644
--- a/src/pages/home/top/index.tsx
+++ b/src/pages/home/top/index.tsx
@@ -5,7 +5,7 @@ import { Button, ButtonType } from '../../../components';
 import './index.scss';
 
 const topData = {
-  brandName: 'Apache Seata (Incubating)',
+  brandName: 'Apache Seata™',
   briefIntroduction: translate({
     id: 'homepage.briefIntroduction',
   }),
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index e25c651964..fbc707c5f2 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -39,7 +39,6 @@ export default function Home(): React.Element {
 
   return (
     <Layout
-      title={'Seata'}
       description={translate({
         id: 'homepage.briefIntroduction',
       })}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to