diff --git a/site/code/index.html.js b/site/code/index.html.js index 95bad03dc2..33ff776858 100644 --- a/site/code/index.html.js +++ b/site/code/index.html.js @@ -20,7 +20,7 @@ var Code = React.createClass({
- +

Code

{` diff --git a/site/docs/index.html.js b/site/docs/index.html.js deleted file mode 100644 index 5b3122e560..0000000000 --- a/site/docs/index.html.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2015, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -var React = require('react'); -var Site = require('../_core/Site'); -var center = require('../_core/center'); -var h2 = require('../_core/H2'); - -var Learn = React.createClass({ - render: function() { - return ( - - -
-
-

Learn

-

- GraphQL is worked on full-time by Facebook's product infrastructure engineering teams. They're often around and available for questions. -

- -

Slack

-

Many developers and users idle on Slack in #general on GraphQL. Get your invite here!

- -

Stack Overflow

-

Many members of the community use Stack Overflow to ask questions. Read through the existing questions tagged with graphql or ask your own!

- -
-
- -
- ); - } -}); - -module.exports = Learn; diff --git a/site/learn/index.html.js b/site/learn/index.html.js index 3988f485ae..38821ac465 100644 --- a/site/learn/index.html.js +++ b/site/learn/index.html.js @@ -8,13 +8,17 @@ var React = require('react'); var Site = require('../_core/Site'); +var DocsSidebar = require('../_core/DocsSidebar'); var Learn = React.createClass({ render: function() { + var page = this.props.page; + var site = this.props.site; return ( -
+
+

Learn