Run Prettier

This commit is contained in:
Frank Li 2017-07-10 16:38:35 -07:00
parent a7b5148e06
commit fbae29b0ff
29 changed files with 1311 additions and 987 deletions

View file

@ -7,7 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/
const React = require('react');
const React = require("react");
const githubButton = (
<a
@ -17,7 +17,8 @@ const githubButton = (
data-count-href="/deltice/test-site/stargazers"
data-count-api="/repos/deltice/test-site#stargazers_count"
data-count-aria-label="# stargazers on GitHub"
aria-label="Star this project on GitHub">
aria-label="Star this project on GitHub"
>
Star
</a>
);
@ -40,21 +41,30 @@ class Footer extends React.Component {
<h5>Docs</h5>
<a
href={
this.props.config.baseUrl + 'docs/' + this.props.language + '/doc1.html'
this.props.config.baseUrl +
"docs/" +
this.props.language +
"/doc1.html"
}
>
Getting Started (or other categories)
</a>
<a
href={
this.props.config.baseUrl + 'docs/' + this.props.language + '/doc2.html'
this.props.config.baseUrl +
"docs/" +
this.props.language +
"/doc2.html"
}
>
Guides (or other categories)
</a>
<a
href={
this.props.config.baseUrl + 'docs/' + this.props.language + '/doc3.html'
this.props.config.baseUrl +
"docs/" +
this.props.language +
"/doc3.html"
}
>
API Reference (or other categories)
@ -62,7 +72,11 @@ class Footer extends React.Component {
</div>
<div>
<h5>Community</h5>
<a href={this.props.config.baseUrl + this.props.language + '/users.html'}>
<a
href={
this.props.config.baseUrl + this.props.language + "/users.html"
}
>
User Showcase
</a>
<a
@ -71,12 +85,10 @@ class Footer extends React.Component {
>
Stack Overflow
</a>
<a
href="https://discordapp.com/"
>
Project Chat
<a href="https://discordapp.com/">Project Chat</a>
<a href="https://twitter.com/" target="_blank">
Twitter
</a>
<a href="https://twitter.com/" target="_blank">Twitter</a>
</div>
<div>
<h5>More</h5>
@ -106,6 +118,4 @@ class Footer extends React.Component {
}
}
module.exports = Footer;