From add46b1249a94f4e740561dbd633e82d10bd95e4 Mon Sep 17 00:00:00 2001 From: teasiu Date: Sat, 17 Sep 2022 19:14:11 +0800 Subject: [PATCH] update --- docusaurus.config.js | 20 ++++++++++---------- src/components/HomepageFeatures/index.js | 8 ++++---- src/pages/index.js | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index e8857bc..bf1a2d8 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); const config = { title: '海思机顶盒使用教程', tagline: '一个极低功耗的 Linux 服务器', - url: 'https://histb.com', + url: 'https://doc.ecoo.top', baseUrl: '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', @@ -23,8 +23,8 @@ const config = { // metadata like html lang. For example, if your site is Chinese, you may want // to replace "en" with "zh-Hans". i18n: { - defaultLocale: 'zh-cn', - locales: ['zh-cn'], + defaultLocale: 'zh-Hans', + locales: ['zh-Hans'], }, presets: [ @@ -90,19 +90,19 @@ const config = { ], }, { - title: 'Community', + title: '社区', items: [ { - label: 'Stack Overflow', - href: 'https://stackoverflow.com/questions/tagged/docusaurus', + label: '海思NAS交流社区', + href: 'https://bbs.histb.com', }, { - label: 'Discord', - href: 'https://discordapp.com/invite/docusaurus', + label: '官方主页', + href: 'https://www.ecoo.top', }, { - label: 'Twitter', - href: 'https://twitter.com/docusaurus', + label: '固件下载', + href: 'https://dl.ecoo.top:2096', }, ], }, diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index 8bc49b0..b440c8c 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -21,17 +21,17 @@ const FeatureList = [ <> 适配的海思 hi3798m 芯片盒子,高达 1.5hz 的四核 CPU,1-2G运存,8G闪存, 让你轻松应对各项运行环境需求。hi3798mv200/300的盒子,支持 arch64 系统, - 日常只有2-3瓦的功耗,轻易超越你的需求。 + 日常只有2-3瓦的功耗,一杯奶茶的钱,养活它一年。是的,就是这么优秀。 ), }, { - title: 'Support Docker 20.18', + title: 'Support Docker 20.10', Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, description: ( <> - Extend or customize your website layout by reusing React. Docusaurus can - be extended while reusing the same header and footer. + 支持 Docker 容器的安装,内置多款一键脚本,目前测试基本完美运行。 + 青龙面板,网心云,智能家居,casaos等各类型 docker 容器都通过多次运行测试。 ), }, diff --git a/src/pages/index.js b/src/pages/index.js index 3acd1de..d960747 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -30,7 +30,7 @@ export default function Home() { const {siteConfig} = useDocusaurusContext(); return (