From 8ac97188957eafbf6ca23ec3fe52cf4a4a19a043 Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Wed, 11 May 2016 11:02:23 -0700 Subject: [PATCH] Add docs survey link to site header Summary: **Test plan** Tested locally to see link in header bar and that it takes you to survey. ![screenshot 2016-05-11 08 21 11](https://cloud.githubusercontent.com/assets/3757713/15186299/593fd4f6-1751-11e6-847f-ea73ce4e2809.png) Closes https://github.com/facebook/react-native/pull/7514 Differential Revision: D3287859 fbshipit-source-id: 48dfdbae74622330f192d5763c5e47025f1887b1 --- website/core/HeaderLinks.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/core/HeaderLinks.js b/website/core/HeaderLinks.js index b5dbffde942..5ac71f9323a 100644 --- a/website/core/HeaderLinks.js +++ b/website/core/HeaderLinks.js @@ -22,14 +22,23 @@ 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 (
  • {link.text}