aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-16 15:09:10 +0800
committerFabio Berger <me@fabioberger.com>2018-02-16 15:09:10 +0800
commit8db098eaec27a445e40b804823e266d1949e5e5a (patch)
tree87e39f1d8d1de84d41df5431b8697ce226cb9db2 /packages/website/ts
parent05c3a66543a04af25e668e9e4041eaa9291d9102 (diff)
downloaddexon-sol-tools-8db098eaec27a445e40b804823e266d1949e5e5a.tar
dexon-sol-tools-8db098eaec27a445e40b804823e266d1949e5e5a.tar.gz
dexon-sol-tools-8db098eaec27a445e40b804823e266d1949e5e5a.tar.bz2
dexon-sol-tools-8db098eaec27a445e40b804823e266d1949e5e5a.tar.lz
dexon-sol-tools-8db098eaec27a445e40b804823e266d1949e5e5a.tar.xz
dexon-sol-tools-8db098eaec27a445e40b804823e266d1949e5e5a.tar.zst
dexon-sol-tools-8db098eaec27a445e40b804823e266d1949e5e5a.zip
Remove section links until they go somewhere
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/pages/shared/nested_sidebar_menu.tsx13
1 files changed, 3 insertions, 10 deletions
diff --git a/packages/website/ts/pages/shared/nested_sidebar_menu.tsx b/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
index 1b63f5203..9285f0215 100644
--- a/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
+++ b/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
@@ -55,16 +55,9 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
const id = utils.getIdFromName(sectionName);
return (
<div key={`section-${sectionName}`} className="py1" style={{ color: colors.grey800 }}>
- <ScrollLink
- to={id}
- offset={-20}
- duration={constants.DOCS_SCROLL_DURATION_MS}
- containerId={constants.DOCS_CONTAINER_ID}
- >
- <div style={{ cursor: 'pointer', fontWeight: 'bold', fontSize: 15 }} className="py1">
- {finalSectionName.toUpperCase()}
- </div>
- </ScrollLink>
+ <div style={{ fontWeight: 'bold', fontSize: 15 }} className="py1">
+ {finalSectionName.toUpperCase()}
+ </div>
{this._renderMenuItems(menuItems)}
</div>
);