1
+
2
+
1
3
export type Page = {
2
4
title : string
3
5
url ?: string
@@ -7,11 +9,11 @@ export type Page = {
7
9
export const PAGES : Page [ ] = [
8
10
{
9
11
title : 'Introduction' ,
10
- url : '/' ,
12
+ url : '/#introduction ' ,
11
13
} ,
12
14
{
13
15
title : 'Basics' ,
14
- url : '/basics' ,
16
+ url : '/basics#basics ' ,
15
17
} ,
16
18
{
17
19
title : 'API' ,
@@ -21,19 +23,19 @@ export const PAGES: Page[] = [
21
23
routes : [
22
24
{
23
25
title : 'Props' ,
24
- url : '/common/props' ,
26
+ url : '/common/props#props ' ,
25
27
} ,
26
28
{
27
29
title : 'Configs' ,
28
- url : '/common/configs' ,
30
+ url : '/common/configs#configs ' ,
29
31
} ,
30
32
{
31
33
title : 'Imperatives & Refs' ,
32
- url : '/common/imperatives-and-refs' ,
34
+ url : '/common/imperatives-and-refs#imperatives--refs ' ,
33
35
} ,
34
36
{
35
37
title : 'Interpolations' ,
36
- url : '/common/interpolation' ,
38
+ url : '/common/interpolation#interpolations ' ,
37
39
} ,
38
40
] ,
39
41
} ,
@@ -42,23 +44,23 @@ export const PAGES: Page[] = [
42
44
routes : [
43
45
{
44
46
title : 'useChain' ,
45
- url : '/hooks/use-chain' ,
47
+ url : '/hooks/use-chain#usechain ' ,
46
48
} ,
47
49
{
48
50
title : 'useSpring' ,
49
- url : '/hooks/use-spring' ,
51
+ url : '/hooks/use-spring#usespring ' ,
50
52
} ,
51
53
{
52
54
title : 'useSprings' ,
53
- url : '/hooks/use-springs' ,
55
+ url : '/hooks/use-springs#usesprings ' ,
54
56
} ,
55
57
{
56
58
title : 'useTrail' ,
57
- url : '/hooks/use-trail' ,
59
+ url : '/hooks/use-trail#usetrail ' ,
58
60
} ,
59
61
{
60
62
title : 'useTransition' ,
61
- url : '/hooks/use-transition' ,
63
+ url : '/hooks/use-transition#usetransition ' ,
62
64
} ,
63
65
] ,
64
66
} ,
@@ -67,31 +69,31 @@ export const PAGES: Page[] = [
67
69
routes : [
68
70
{
69
71
title : 'Parallax' ,
70
- url : '/components/parallax' ,
72
+ url : '/components/parallax#parallax ' ,
71
73
} ,
72
74
{
73
75
title : 'Spring' ,
74
- url : '/components/spring' ,
76
+ url : '/components/spring#spring ' ,
75
77
} ,
76
78
{
77
79
title : 'Spring Context' ,
78
- url : '/components/spring-context' ,
80
+ url : '/components/spring-context#springcontext ' ,
79
81
} ,
80
82
{
81
83
title : 'Trail' ,
82
- url : '/components/trail' ,
84
+ url : '/components/trail#trail ' ,
83
85
} ,
84
86
{
85
87
title : 'Transition' ,
86
- url : '/components/transition' ,
88
+ url : '/components/transition#transition ' ,
87
89
} ,
88
90
] ,
89
91
} ,
90
92
{
91
93
title : 'Additional Classes' ,
92
94
routes : [
93
- { title : 'Controller' , url : '/classes/controller' } ,
94
- { title : 'Spring Value' , url : '/classes/spring-value' } ,
95
+ { title : 'Controller' , url : '/classes/controller#controller ' } ,
96
+ { title : 'Spring Value' , url : '/classes/spring-value#springvalue ' } ,
95
97
] ,
96
98
} ,
97
99
] ,
@@ -101,15 +103,15 @@ export const PAGES: Page[] = [
101
103
routes : [
102
104
{
103
105
title : 'Accessibility' ,
104
- url : '/guides/accessibility' ,
106
+ url : '/guides/accessibility#accessibility ' ,
105
107
} ,
106
108
{
107
109
title : 'React Three Fiber' ,
108
- url : '/guides/r3f' ,
110
+ url : '/guides/r3f#react-three-fiber ' ,
109
111
} ,
110
112
{
111
113
title : 'Testing' ,
112
- url : '/guides/testing' ,
114
+ url : '/guides/testing#testing ' ,
113
115
} ,
114
116
] ,
115
117
} ,
0 commit comments