diff --git a/apps/doc/docusaurus.config.js b/apps/doc/docusaurus.config.js index 10eb14b..a91888c 100644 --- a/apps/doc/docusaurus.config.js +++ b/apps/doc/docusaurus.config.js @@ -32,7 +32,6 @@ const SECTIONS = [ /** @type {import('@docusaurus/types').Config} */ const config = { title: "SoLive", - tagline: "The first open-source lightweight Solidity IDE that can be easily integrated into websites, documents, and tutorials. Powered by WTF Academy, Inspired by Remix-IDE and react-live.", favicon: "img/favicon.ico", // Set the production url of your site here diff --git a/apps/doc/i18n/zh/code.json b/apps/doc/i18n/zh/code.json new file mode 100644 index 0000000..b4426ea --- /dev/null +++ b/apps/doc/i18n/zh/code.json @@ -0,0 +1,7 @@ +{ + "home.tagline": { + "message": "这是第一个开源轻量级的Solidity集成开发环境,可轻松整合到网站、文档和教程中。由 WTF Academy 开发,受 Remix IDE 和 react-live 启发。", + "description": "The tagline on the homepage" + } + +} diff --git a/apps/doc/src/components/HomepageFeatures/index.tsx b/apps/doc/src/components/HomepageFeatures/index.tsx index 4f0d196..1bc95bb 100644 --- a/apps/doc/src/components/HomepageFeatures/index.tsx +++ b/apps/doc/src/components/HomepageFeatures/index.tsx @@ -17,7 +17,7 @@ const FeatureList: FeatureItem[] = [ imgUrl: require('@site/static/img/home_feature_item1.png').default, description: ( <> - you can connect metamask to solve and deploy smart contracts to layer2. + you can connect metamask to SoLive and deploy smart contracts to layer2. ), }, diff --git a/apps/doc/src/pages/index.tsx b/apps/doc/src/pages/index.tsx index 0bda33e..c86fcfb 100644 --- a/apps/doc/src/pages/index.tsx +++ b/apps/doc/src/pages/index.tsx @@ -18,7 +18,9 @@ function HomepageHeader() {

{siteConfig.title}

-

{siteConfig.tagline}

+

+ The first open-source lightweight Solidity IDE that can be easily integrated into websites, documents, and tutorials. Powered by WTF Academy, Inspired by Remix-IDE and react-live. +

);