diff --git a/README.md b/README.md index 9a64b3e..f93659f 100644 --- a/README.md +++ b/README.md @@ -2,36 +2,46 @@ [![codecov](https://codecov.io/gh/difizen/mana/graph/badge.svg?token=VGJDF8511R)](https://codecov.io/gh/difizen/mana) -模块化可扩展前端框架 +A modular and extensible front-end framework designed for workbench products. -- 如果你打算开发 IDE 型的生产力工具 -- 如果你的项目需要丰富的场景定制能力 -- 如果你正在寻找彻底模块化的前端工程方案 +**English** · [简体中文](./README.zh-CN.md) -请尝试 mana 🌟🌟🌟 +## Features -### 官网 +- Complete module isolation, state management, and dependency inversion solutions, making it a truly suitable framework for large-scale engineering +- Integration with the react ecosystem, with innovative page view management and state tracking capabilities, perfectly combining frontend projects with a modular structure +- Built-in modules such as themes, commands, shortcuts, toolbars, configurations, internationalization, etc., to help you quickly start your project -💡 请访问 https://mana.difizen.net/ +## Applicable Scenarios -### 提交issue +- If you intend to develop IDE-style productivity tool products +- If you are looking for a thoroughly modular, architecturally advanced frontend engineering solution to solve team collaboration and long-term maintenance issues +- If your project requires rich scene customization capabilities, allowing downstream producers to do kernel-level customization and develop a module ecosystem -😊 我们建议您使用[github issue](https://github.com/difizen/mana/issues) 提交您的疑问, 我们通常会在2日内回复。 +Please try mana 🌟🌟🌟 -### 贡献代码 +### Official Website -🤝 请查阅 [CONTRIBUTING.md](./CONTRIBUTING.md) +💡 Please visit https://mana.difizen.net/ -### 贡献者 +### Submit Issues -💪 感谢所有的贡献者 +😊 We recommend using [github issue](https://github.com/difizen/mana/issues) to submit your questions, and we usually respond within two days. + +### Contribute Code + +🤝 Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) + +### Contributors + +💪 Thanks to all the contributors List of Contributors -### 联系我们 +### Contact Us -🤗 加入我们的钉钉答疑群与我们联系。 +🤗 Join our DingTalk Q&A group to contact us. diff --git a/README.zh-CN.md b/README.zh-CN.md new file mode 100644 index 0000000..fc593a8 --- /dev/null +++ b/README.zh-CN.md @@ -0,0 +1,47 @@ +# mana + +[![codecov](https://codecov.io/gh/difizen/mana/graph/badge.svg?token=VGJDF8511R)](https://codecov.io/gh/difizen/mana) + +一个模块化可扩展前端框架,为工作台产品设计。 + +[English](./README.md) · **简体中文** + +## 特性 + +- 完整的模块隔离、状态管理、依赖倒置方案,是真正适合大型工程的框架 +- 集成 react 生态,创造性的页面视图管理、状态追踪能力,让前端项目与模块化结构完美结合 +- 内置主题、命令、快捷键、工具栏、配置、国际化...等模块,帮助您快速启动项目 + +## 适用场景 + +- 如果您打算开发 IDE 型的生产力工具产品 +- 如果您正在寻找彻底模块化、架构先进的前端工程方案,解决团队的协作和长期维护问题 +- 如果您的项目需要丰富的场景定制能力,允许下游生产者做内核级的定制,发展模块生态 + +请尝试 mana 🌟🌟🌟 + +### 官网 + +💡 请访问 https://mana.difizen.net/ + +### 提交issue + +😊 我们建议您使用[github issue](https://github.com/difizen/mana/issues) 提交您的疑问, 我们通常会在2日内回复。 + +### 贡献代码 + +🤝 请查阅 [CONTRIBUTING.md](./CONTRIBUTING.md) + +### 贡献者 + +💪 感谢所有的贡献者 + + + List of Contributors + + +### 联系我们 + +🤗 加入我们的钉钉答疑群与我们联系。 + + diff --git a/apps/docs/.dumi/theme/componets/banner/index.tsx b/apps/docs/.dumi/theme/componets/banner/index.tsx index 001086c..785ec6f 100644 --- a/apps/docs/.dumi/theme/componets/banner/index.tsx +++ b/apps/docs/.dumi/theme/componets/banner/index.tsx @@ -1,10 +1,10 @@ +import { l10n } from '@difizen/mana-l10n'; import { Button, message } from 'antd'; import { Link, useSiteData } from 'dumi'; import React, { useEffect, useState } from 'react'; import { CopyToClipboard } from 'react-copy-to-clipboard'; import './index.less'; import '../../tailwind.out.css'; -import { l10n } from '@difizen/mana-l10n'; const Banner: React.FC = () => { const [animate, setAnimate] = useState({ @@ -20,10 +20,6 @@ const Banner: React.FC = () => { }); }, []); - if (!themeConfig.banner) { - return null; - } - return (
@@ -43,9 +39,7 @@ const Banner: React.FC = () => { mana

- {l10n.t( - 'A modular and scalable front-end application framework designed for workbench products.', - )} + {l10n.t('A modular and extensible front-end framework')}