Skip to content

Commit 7f4ee21

Browse files
committed
docs: link to components and hooks
1 parent 79564a7 commit 7f4ee21

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Components
2+
3+
- [`<Parallax>`](/docs/usage/components/parallax-component)
4+
- [`<ParallaxBanner>`](/docs/usage/components/parallax-banner-component)
5+
- [`<ParallaxProvider>`](/docs/usage/components/parallax-provider)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Hooks
2+
3+
- [`useParallax()`](/docs/usage/hooks/use-parallax)
4+
- [`useController()`](/docs/usage/hooks/use-controller)

documentation/docusaurus.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,18 @@ const config = {
5151
position: 'left',
5252
label: 'Usage',
5353
},
54+
{
55+
type: 'doc',
56+
docId: 'usage/hooks/hooks',
57+
position: 'left',
58+
label: 'Hooks',
59+
},
60+
{
61+
type: 'doc',
62+
docId: 'usage/components/components',
63+
position: 'left',
64+
label: 'Components',
65+
},
5466
],
5567
},
5668
footer: {

0 commit comments

Comments
 (0)