Skip to content

Commit d658c70

Browse files
committed
chore: upgrade @grapp/nextra-theme
1 parent c1c0273 commit d658c70

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

docs/bun.lockb

0 Bytes
Binary file not shown.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"typescript": "^5.0.0"
2121
},
2222
"dependencies": {
23-
"@grapp/nextra-theme": "0.4.3"
23+
"@grapp/nextra-theme": "0.4.7"
2424
}
2525
}

docs/pages/index.mdx

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Homepage, Hero, Features, Feature, Highlight } from '@grapp/nextra-theme';
1+
import { Homepage, Hero, Features, Feature, Highlight, SectionHeader } from '@grapp/nextra-theme';
22

33
import NuiComponentsLogo from '../components/svg/nui-components-logo.svg';
44
import IconFirework from '../components/svg/icon-firework.svg';
@@ -26,14 +26,23 @@ import IconExtension from '../components/svg/icon-extension.svg';
2626
}
2727
>
2828
</Hero>
29-
<Features preview={
30-
<div className="lg:pr-16">
31-
<video controls={false} autoPlay={true} muted={true} loop={true} style={{ borderRadius: 8 }}>
32-
<source src="/gifs/hero.mp4" type="video/mp4" />
33-
Your browser does not support the video tag.
34-
</video>
35-
</div>
36-
}>
29+
<Features
30+
preview={
31+
<div className="lg:pr-16">
32+
<video controls={false} autoPlay={true} muted={true} loop={true} style={{ borderRadius: 8 }}>
33+
<source src="/gifs/hero.mp4" type="video/mp4" />
34+
Your browser does not support the video tag.
35+
</video>
36+
</div>
37+
}
38+
header={
39+
<SectionHeader
40+
badge="Features"
41+
title="Overview of NuiComponents"
42+
description="Discover the possibilities and benefits of NuiComponents to enhance your Neovim UI development."
43+
/>
44+
}
45+
>
3746
<Feature
3847
icon={IconFirework}
3948
color="#ffa10d"

0 commit comments

Comments
 (0)