mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
Revert "Add docs survey link to site header"
Summary: This reverts commit 4a7f2192f9cf95f0c8fa4b0742eb472c13ee2859. Adding the link breaks mobile Closes https://github.com/facebook/react-native/pull/7520 Differential Revision: D3290347 Pulled By: JoelMarcey fbshipit-source-id: 950db67eb14b5fe8816d4c782b32d233a8697ae7
This commit is contained in:
parent
31250ad150
commit
20c8899b31
@ -22,23 +22,14 @@ var HeaderLinks = React.createClass({
|
||||
linksExternal: [
|
||||
{section: 'github', href: 'https://github.com/facebook/react-native', text: 'GitHub'},
|
||||
{section: 'react', href: 'http://facebook.github.io/react', text: 'React'},
|
||||
{
|
||||
section: 'survey',
|
||||
href: 'https://www.facebook.com/survey?oid=681969738611332',
|
||||
text: 'Take Our Docs Survey'
|
||||
}
|
||||
],
|
||||
|
||||
makeLinks: function(links) {
|
||||
var surveyStyle = {
|
||||
color: '#2AFF48',
|
||||
};
|
||||
return links.map(function(link) {
|
||||
return (
|
||||
<li key={link.section}>
|
||||
<a
|
||||
href={link.href}
|
||||
style={link.section === 'survey' ? surveyStyle : null}
|
||||
className={link.section === this.props.section ? 'active' : ''}>
|
||||
{link.text}
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user