Skip to content

Commit 67721a6

Browse files
committed
Reorder sections
1 parent e565b43 commit 67721a6

File tree

3 files changed

+44
-44
lines changed

3 files changed

+44
-44
lines changed

src/sidebarHome.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"hasSectionHeader": true,
77
"sectionHeader": "GET STARTED"
88
},
9-
{
10-
"title": "Installation",
11-
"path": "/learn/installation"
12-
},
139
{
1410
"title": "Quick Start",
1511
"path": "/learn"
1612
},
13+
{
14+
"title": "Installation",
15+
"path": "/learn/installation"
16+
},
1717
{
1818
"hasSectionHeader": true,
1919
"sectionHeader": "LEARN REACT"
@@ -38,14 +38,14 @@
3838
"hasSectionHeader": true,
3939
"sectionHeader": "REACT API"
4040
},
41-
{
42-
"title": "Components",
43-
"path": "/reference/react/components"
44-
},
4541
{
4642
"title": "Hooks",
4743
"path": "/reference/react"
4844
},
45+
{
46+
"title": "Components",
47+
"path": "/reference/react/components"
48+
},
4949
{
5050
"title": "APIs",
5151
"path": "/reference/react/apis"

src/sidebarLearn.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66
"hasSectionHeader": true,
77
"sectionHeader": "GET STARTED"
88
},
9+
{
10+
"title": "Quick Start",
11+
"path": "/learn",
12+
"routes": [
13+
{
14+
"title": "Tutorial: Tic-Tac-Toe",
15+
"path": "/learn/tutorial-tic-tac-toe"
16+
},
17+
{
18+
"title": "Thinking in React",
19+
"path": "/learn/thinking-in-react"
20+
}
21+
]
22+
},
923
{
1024
"title": "Installation",
1125
"path": "/learn/installation",
@@ -28,20 +42,6 @@
2842
}
2943
]
3044
},
31-
{
32-
"title": "Quick Start",
33-
"path": "/learn",
34-
"routes": [
35-
{
36-
"title": "Tutorial: Tic-Tac-Toe",
37-
"path": "/learn/tutorial-tic-tac-toe"
38-
},
39-
{
40-
"title": "Thinking in React",
41-
"path": "/learn/thinking-in-react"
42-
}
43-
]
44-
},
4545
{
4646
"hasSectionHeader": true,
4747
"sectionHeader": "LEARN REACT"

src/sidebarReference.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,6 @@
66
"hasSectionHeader": true,
77
"sectionHeader": "[email protected]"
88
},
9-
{
10-
"title": "Components",
11-
"path": "/reference/react/components",
12-
"routes": [
13-
{
14-
"title": "<Fragment> (<>)",
15-
"path": "/reference/react/Fragment"
16-
},
17-
{
18-
"title": "<Profiler>",
19-
"path": "/reference/react/Profiler"
20-
},
21-
{
22-
"title": "<StrictMode>",
23-
"path": "/reference/react/StrictMode"
24-
},
25-
{
26-
"title": "<Suspense>",
27-
"path": "/reference/react/Suspense"
28-
}
29-
]
30-
},
319
{
3210
"title": "Hooks",
3311
"path": "/reference/react",
@@ -94,6 +72,28 @@
9472
}
9573
]
9674
},
75+
{
76+
"title": "Components",
77+
"path": "/reference/react/components",
78+
"routes": [
79+
{
80+
"title": "<Fragment> (<>)",
81+
"path": "/reference/react/Fragment"
82+
},
83+
{
84+
"title": "<Profiler>",
85+
"path": "/reference/react/Profiler"
86+
},
87+
{
88+
"title": "<StrictMode>",
89+
"path": "/reference/react/StrictMode"
90+
},
91+
{
92+
"title": "<Suspense>",
93+
"path": "/reference/react/Suspense"
94+
}
95+
]
96+
},
9797
{
9898
"title": "APIs",
9999
"path": "/reference/react/apis",

0 commit comments

Comments
 (0)