We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38ad58d commit 2ba4defCopy full SHA for 2ba4def
website/theme/pages/index.tsx
@@ -1,12 +1,23 @@
1
+import { HomeBackground as BasicHomeBackground } from '@rspress/core/theme';
2
import { BackgroundImage } from '@rstack-dev/doc-ui/background-image';
3
import { CopyRight } from '../components/Copyright';
4
import { Hero } from '../components/Hero';
5
import { ToolStack } from '../components/ToolStack';
6
7
+function HomeBackground() {
8
+ return (
9
+ <>
10
+ {/* For transparent nav at top */}
11
+ <BasicHomeBackground style={{ background: 'none' }} />
12
+ <BackgroundImage />
13
+ </>
14
+ );
15
+}
16
+
17
export function HomeLayout() {
18
return (
19
<div style={{ position: 'relative' }}>
- <BackgroundImage />
20
+ <HomeBackground />
21
<Hero />
22
<ToolStack />
23
<CopyRight />
0 commit comments