Skip to content

Commit 272efa6

Browse files
committed
Merge branch 'master' into fixed-sidebar
# Conflicts: # components/sidebar/sidebar.jsx
2 parents 6bc5e87 + 60f6c4d commit 272efa6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/sidebar/sidebar.jsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default class Sidebar extends Component {
4343
render() {
4444
let { sectionName, pages, currentPage } = this.props;
4545
let { fixed, top, allowedHeight } = this.state;
46+
let isGuides = sectionName === 'guides';
4647

4748
return (
4849
<nav
@@ -54,11 +55,18 @@ export default class Sidebar extends Component {
5455

5556
<div className="sidebar__inner">
5657
<h3 className="sidebar-item__version">Version 2.2</h3>
58+
5759
<SidebarItem
5860
url={ `/${sectionName}` }
5961
title="Introduction"
6062
currentPage= { currentPage }
6163
/>
64+
65+
{ isGuides ? (
66+
<SidebarItem
67+
url={ `/get-started` }
68+
title="Get Started" />
69+
) : null }
6270
{
6371
pages.map(({ url, title, anchors }, i) =>
6472
<SidebarItem

0 commit comments

Comments
 (0)