File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export default class Sidebar extends Component {
43
43
render ( ) {
44
44
let { sectionName, pages, currentPage } = this . props ;
45
45
let { fixed, top, allowedHeight } = this . state ;
46
+ let isGuides = sectionName === 'guides' ;
46
47
47
48
return (
48
49
< nav
@@ -54,11 +55,18 @@ export default class Sidebar extends Component {
54
55
55
56
< div className = "sidebar__inner" >
56
57
< h3 className = "sidebar-item__version" > Version 2.2</ h3 >
58
+
57
59
< SidebarItem
58
60
url = { `/${ sectionName } ` }
59
61
title = "Introduction"
60
62
currentPage = { currentPage }
61
63
/>
64
+
65
+ { isGuides ? (
66
+ < SidebarItem
67
+ url = { `/get-started` }
68
+ title = "Get Started" />
69
+ ) : null }
62
70
{
63
71
pages . map ( ( { url, title, anchors } , i ) =>
64
72
< SidebarItem
You can’t perform that action at this time.
0 commit comments