Add the feedback button to left Nav bar

pull/13223/head
Palak Bhojani 2019-04-08 09:28:44 -07:00
parent 03a64d189e
commit 46c5b775dc
1 changed files with 15 additions and 0 deletions

View File

@ -61,6 +61,8 @@ class SideNav extends PureComponent<Props, State> {
const dataExplorerLink = `${orgPrefix}/data-explorer`
const tasksLink = `${orgPrefix}/tasks`
const settingsLink = `${orgPrefix}/settings`
const feedbackLink =
'https://docs.google.com/forms/d/e/1FAIpQLSdGJpnIZGotN1VFJPkgZEhrt4t4f6QY1lMgMSRUnMeN3FjCKA/viewform?usp=sf_link'
return (
<NavMenu>
@ -138,6 +140,19 @@ class SideNav extends PureComponent<Props, State> {
)}
active={getNavItemActivation(['settings'], location.pathname)}
/>
<NavMenu.Item
titleLink={className => (
<a className={className} href={feedbackLink} target="_blank">
Feedback
</a>
)}
iconLink={className => (
<a href={feedbackLink} className={className} target="_blank">
<Icon glyph={IconFont.Chat} />
</a>
)}
active={getNavItemActivation(['feedback'], location.pathname)}
/>
<CloudNav />
</NavMenu>
)