File tree 7 files changed +12
-7
lines changed 7 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ var BlogLayout = React.createClass({
16
16
var page = this . props . page ;
17
17
var site = this . props . site ;
18
18
return (
19
- < Site section = "blog" title = { page . title } >
19
+ < Site section = "blog" title = { page . title } page = { page } >
20
20
< section >
21
21
< div className = "documentationContent" >
22
22
< BlogPost post = { page } isPermalink = { true } />
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ var Marked = require('./Marked');
13
13
var DocsSidebar = require ( './DocsSidebar' ) ;
14
14
15
15
export default ( { page, site } ) =>
16
- < Site section = "docs" title = { page . title } >
16
+ < Site section = "docs" title = { page . title } page = { page } >
17
17
< section >
18
18
< div className = "documentationContent" >
19
19
< div className = "inner-content" >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ var Marked = require('./Marked');
13
13
var DocsSidebar = require ( './DocsSidebar' ) ;
14
14
15
15
export default ( { page, site } ) =>
16
- < Site title = { page . title } category = { page . category } >
16
+ < Site title = { page . title } category = { page . category } page = { page } >
17
17
< section >
18
18
< div className = "documentationContent" >
19
19
< div className = "inner-content" >
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ var SiteData = require('./SiteData');
13
13
14
14
var Site = React . createClass ( {
15
15
render : function ( ) {
16
+ var page = this . props . page ;
16
17
var suffix = this . props . category || 'GraphQL' ;
17
18
var pageTitle = this . props . title ?
18
19
`${ this . props . title } | ${ suffix } ` :
@@ -77,6 +78,7 @@ var Site = React.createClass({
77
78
< a href = "/blog" > GraphQL Team Blog</ a >
78
79
< a href = "http://facebook.github.io/graphql/" target = "_blank" > Read the Spec</ a >
79
80
< a href = "https://github.com/graphql" target = "_blank" > GitHub</ a >
81
+ { page && < a href = { 'https://github.com/graphql/graphql.github.io/edit/source/site/' + page . relPath } target = "_blank" > ✎ Edit this page</ a > }
80
82
</ div >
81
83
</ section >
82
84
< a href = "https://code.facebook.com/projects/" target = "_blank" className = "fbOpenSource" >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ var Code = React.createClass({
15
15
var page = this . props . page ;
16
16
var site = this . props . site ;
17
17
return (
18
- < Site section = "code" title = "Code" >
18
+ < Site section = "code" title = "Code" page = { page } >
19
19
20
20
< section >
21
21
< div className = "documentationContent" >
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ Here are a list of notable blog posts to help you better understand GraphQL:
50
50
51
51
Developers inside and outside of Facebook have given talks about GraphQL at conferences and meetups around the world. Here are some of our favorites:
52
52
53
+ - [ Exploring GraphQL] ( https://www.youtube.com/watch?v=WQLzZf34FJ8 ) - Lee Byron, React Europe 2015
53
54
- [ From Zero to GraphQL in 30 Minutes] ( https://www.youtube.com/watch?v=UBGzsb2UkeY ) - Steve Luscher
54
55
- [ Exploring GraphQL] ( https://www.youtube.com/watch?v=_9RgHXqH8J0 ) - Nick Schrock, @Scale 2015
55
56
- [ GraphQL Servers] ( https://www.youtube.com/watch?v=KOudxKJXsjc ) - Nick Schrock, React Rally 2015
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ var Search = require('./_core/Search');
9
9
var index = React . createClass ( {
10
10
render : function ( ) {
11
11
return (
12
- < Site className = "index" noSearch = { true } >
12
+ < Site className = "index" noSearch = { true } page = { this . props . page } >
13
13
< section className = "fixedSearch" >
14
14
< Search />
15
15
</ section >
@@ -525,6 +525,7 @@ public class Character {
525
525
</ div >
526
526
</ section >
527
527
528
+ { /*
528
529
<section className="powered-by">
529
530
<div className="prose">
530
531
<h2>Who’s using GraphQL?</h2>
@@ -534,7 +535,7 @@ public class Character {
534
535
many environments and used by teams of all sizes.</p>
535
536
</div>
536
537
<div className="logos">
537
- { /* Waiting for permission from some of the below */ }
538
+ {/* Waiting for permission from some of the below * /}
538
539
<a href="https://www.facebook.com/" target="_blank">
539
540
<img src="/img/logos/facebook.png" title="Facebook" />
540
541
</a>
@@ -554,12 +555,13 @@ public class Character {
554
555
<a href="https://www.intuit.com/" target="_blank">
555
556
<img src="/img/logos/intuit.png" title="Intuit" />
556
557
</a>
557
- {/**/ }
558
+ {/** /}
558
559
<a href="https://www.coursera.org/" target="_blank">
559
560
<img src="/img/logos/coursera.png" title="Coursera" />
560
561
</a>
561
562
</div>
562
563
</section>
564
+ */ }
563
565
564
566
</ Site >
565
567
) ;
You can’t perform that action at this time.
0 commit comments