Skip to content

Commit

Permalink
chore: blog
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Feb 20, 2024
1 parent 56ef6c7 commit d29a2e1
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configs/noi.mode.cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"id": "noi:gemini",
"parent": "noi@ai",
"text": "gemini",
"text": "Gemini",
"url": "https://gemini.google.com"
},
{
Expand Down
2 changes: 1 addition & 1 deletion configs/noi.mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{
"id": "noi:gemini",
"parent": "noi@ai",
"text": "gemini",
"text": "Gemini",
"url": "https://gemini.google.com"
},
{
Expand Down
2 changes: 1 addition & 1 deletion website/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lencx:
name: lencx
title: 'FE'
title: Web • Rust • Tauri • Electron
url: https://github.com/lencx
image_url: https://github.com/lencx.png
6 changes: 6 additions & 0 deletions website/blog/noi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Hello, Noi
authors: [lencx]
---

🚀 Power Your World with AI - Explore, Extend, Empower.
18 changes: 16 additions & 2 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const config: Config = {
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
locales: ['en', 'zh-CN'],
},

plugins: [
Expand Down Expand Up @@ -69,7 +69,21 @@ const config: Config = {
// position: 'left',
// label: 'Tutorial',
// },
// {to: '/blog', label: 'Blog', position: 'left'},
{ to: '/blog', label: 'Blog', position: 'left' },
{
type: 'localeDropdown',
position: 'right',
dropdownItemsAfter: [
{
type: 'html',
value: '<hr style="margin: 0.3rem 0;">',
},
{
href: 'https://github.com/lencx/Noi',
label: 'Help Us Translate',
},
],
},
{
href: 'https://github.com/lencx/noi',
label: 'GitHub',
Expand Down
9 changes: 9 additions & 0 deletions website/i18n/zh-CN/docusaurus-plugin-content-blog/noi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: 你好, Noi
authors: [lencx]
---

🚀 用 AI 点亮您的世界 - 探索、扩展、赋能。

- [Noi:跨平台定制化浏览器,最得力 AI 助手](https://mp.weixin.qq.com/s/dAN7LOw7mH609HdAyEvXfg)
- [Noi:插件介绍](https://mp.weixin.qq.com/s/M6gO6MdK5obCvs2LIBZA3w)
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "noi",
"name": "website",
"version": "0.0.0",
"private": true,
"scripts": {
Expand Down

0 comments on commit d29a2e1

Please sign in to comment.