mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert "Add docs survey link to site header"
This reverts commit dfdfe18c05.
Breaks mobile. Coming up with a better way
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user