Skip to content

Commit da29d6c

Browse files
authored
docs: update doc ui (#699)
1 parent fdb0bec commit da29d6c

File tree

3 files changed

+15
-26
lines changed

3 files changed

+15
-26
lines changed

pnpm-lock.yaml

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@rspress/core": "2.0.0-rc.0",
1414
"@rspress/plugin-llms": "2.0.0-rc.0",
1515
"@rspress/plugin-algolia": "2.0.0-rc.0",
16-
"@rstack-dev/doc-ui": "1.11.0",
16+
"@rstack-dev/doc-ui": "1.12.0",
1717
"@rstest/tsconfig": "workspace:*",
1818
"@types/node": "^22.16.5",
1919
"@types/react": "^19.2.2",

website/theme/pages/index.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1-
import { HomeBackground as BasicHomeBackground } from '@rspress/core/theme';
21
import { BackgroundImage } from '@rstack-dev/doc-ui/background-image';
32
import { CopyRight } from '../components/Copyright';
43
import { Hero } from '../components/Hero';
54
import { ToolStack } from '../components/ToolStack';
65

7-
function HomeBackground() {
8-
return (
9-
<>
10-
{/* For transparent nav at top */}
11-
<BasicHomeBackground style={{ background: 'none' }} />
12-
<BackgroundImage />
13-
</>
14-
);
15-
}
16-
176
export function HomeLayout() {
187
return (
198
<div style={{ position: 'relative' }}>
20-
<HomeBackground />
9+
<BackgroundImage />
2110
<Hero />
2211
<ToolStack />
2312
<CopyRight />

0 commit comments

Comments
 (0)