Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions website/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,5 @@
"slogan": {
"en": "Create JavaScript libraries in a simple and intuitive way",
"zh": "以简单直观的方式创建 JavaScript 库"
},
"toolStackTitle": {
"en": "Tool Stack",
"zh": "工具栈"
},
"toolStackDesc": {
"en": "High-performance tool stack built around Rspack to boost modern web development",
"zh": "围绕 Rspack 打造的高性能工具栈,助力现代 Web 开发"
}
}
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@rslib/tsconfig": "workspace:*",
"@rspress/plugin-llms": "2.0.0-beta.5",
"@rspress/plugin-rss": "2.0.0-beta.5",
"@rstack-dev/doc-ui": "1.8.0",
"@rstack-dev/doc-ui": "1.9.0",
"@shikijs/transformers": "^3.4.0",
"@types/node": "^22.8.1",
"@types/react": "^19.1.3",
Expand Down
18 changes: 2 additions & 16 deletions website/theme/components/ToolStack.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
import {
containerStyle,
descStyle,
innerContainerStyle,
titleAndDescStyle,
titleStyle,
} from '@rstack-dev/doc-ui/section-style';
import { containerStyle } from '@rstack-dev/doc-ui/section-style';
import { ToolStack as BaseToolStack } from '@rstack-dev/doc-ui/tool-stack';
import { useLang } from 'rspress/runtime';
import { useI18n } from 'rspress/runtime';

export function ToolStack() {
const t = useI18n<typeof import('i18n')>();
const lang = useLang();
return (
<section className={containerStyle}>
<div className={innerContainerStyle}>
<div className={titleAndDescStyle}>
<h1 className={titleStyle}>{t('toolStackTitle')}</h1>
<p className={descStyle}>{t('toolStackDesc')}</p>
</div>
<BaseToolStack lang={lang} />
</div>
<BaseToolStack lang={lang} />
</section>
);
}
Loading