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:
Joel Marcey 2016-05-11 17:08:32 -07:00 committed by Facebook Github Bot 9
parent 31250ad150
commit 20c8899b31

View File

@ -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>