mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-13 23:07:58 +02:00
Run Prettier
This commit is contained in:
parent
a7b5148e06
commit
fbae29b0ff
29 changed files with 1311 additions and 987 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue