@@ -12,7 +12,7 @@ var Search = require('./Search');
12
12
var SiteData = require ( './SiteData' ) ;
13
13
14
14
export default ( { page, category, title, section, className, noSearch, children } ) =>
15
- < html >
15
+ < html lang = "en" >
16
16
< head >
17
17
< meta charSet = "utf-8" />
18
18
< meta httpEquiv = "X-UA-Compatible" content = "IE=edge,chrome=1" />
@@ -22,6 +22,7 @@ export default ({ page, category, title, section, className, noSearch, children
22
22
`GraphQL | ${ SiteData . description } ` }
23
23
</ title >
24
24
< meta name = "viewport" content = "width=640" />
25
+ < meta name = "description" content = "GraphQL provides a complete description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools." />
25
26
< meta property = "og:title" content = "GraphQL: A query language for APIs." />
26
27
< meta property = "og:description" content = "GraphQL provides a complete description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools." />
27
28
< meta property = "og:type" content = "website" />
@@ -45,7 +46,7 @@ export default ({ page, category, title, section, className, noSearch, children
45
46
< header >
46
47
< section >
47
48
< a className = "nav-home" href = "/" >
48
- < img className = "nav-logo" src = "/img/logo.svg" width = "30" height = "30" />
49
+ < img className = "nav-logo" src = "/img/logo.svg" alt = "GraphQL Logo" width = "30" height = "30" />
49
50
GraphQL
50
51
</ a >
51
52
< HeaderLinks section = { section } />
@@ -57,7 +58,7 @@ export default ({ page, category, title, section, className, noSearch, children
57
58
58
59
< footer >
59
60
< section className = "sitemap" >
60
- < a href = "/" className = "nav-home" />
61
+ < a href = "/" className = "nav-home" aria-label = "Homepage" />
61
62
< div >
62
63
< h5 > < a href = "/learn/" > Learn</ a > </ h5 >
63
64
< a href = "/learn/" > Introduction</ a >
@@ -81,32 +82,28 @@ export default ({ page, category, title, section, className, noSearch, children
81
82
</ div >
82
83
< div >
83
84
< h5 > More</ h5 >
84
- < a href = "https://facebook .github.io/graphql/" target = "_blank" rel = "noopener noreferrer" > GraphQL Specification</ a >
85
+ < a href = "https://graphql .github.io/graphql-spec /" target = "_blank" rel = "noopener noreferrer" > GraphQL Specification</ a >
85
86
< a href = "https://foundation.graphql.org/" target = "_blank" rel = "noopener noreferrer" > GraphQL Foundation</ a >
86
87
< a href = "https://github.com/graphql" target = "_blank" rel = "noopener noreferrer" > GraphQL GitHub</ a >
87
88
{ page && < a href = { 'https://github.com/graphql/graphql.github.io/edit/source/site/' + page . relPath } target = "_blank" rel = "noopener noreferrer" > Edit this page ✎</ a > }
88
89
</ div >
89
90
</ section >
90
- < a href = "https://code.facebook.com/projects/" target = "_blank" rel = "noopener noreferrer" className = "fbOpenSource" >
91
- < img src = "/img/oss_logo.png" alt = "Facebook Open Source" width = "170" height = "45" />
92
- </ a >
93
91
< section className = "copyright" >
94
- Copyright ©
95
- < span > < script > document.write(new Date().getFullYear())</ script > </ span >
96
- < noscript > 2017 </ noscript >
97
- Facebook Inc. The contents of this page are licensed BSD-3-Clause.
92
+ Copyright © { `${ new Date ( ) . getFullYear ( ) } ` } The GraphQL Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our < a href = "https://www.linuxfoundation.org/trademark-usage" > Trademark Usage</ a > page. Linux is a registered trademark of Linus Torvalds. < a href = "http://www.linuxfoundation.org/privacy" > Privacy Policy</ a > and < a href = "http://www.linuxfoundation.org/terms" > Terms of Use</ a > .
98
93
</ section >
99
94
</ footer >
100
95
101
96
< script type = "text/javascript" src = "https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js" > </ script >
102
- < script dangerouslySetInnerHTML = { { __html : `
97
+ < script dangerouslySetInnerHTML = { {
98
+ __html : `
103
99
docsearch({
104
100
apiKey: 'd103541f3e6041148aade2e746ed4d61',
105
101
indexName: 'graphql',
106
102
inputSelector: '#algolia-search-input'
107
103
});
108
104
` } } />
109
- < script dangerouslySetInnerHTML = { { __html : `
105
+ < script dangerouslySetInnerHTML = { {
106
+ __html : `
110
107
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
111
108
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
112
109
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
0 commit comments