mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-24 13:38:02 +02:00
Bug fixes in generatejs (#169)
* Misc cleanups related to console.log messages in yarn build * Fixes https://github.com/facebookexperimental/Docusaurus/issues/96
This commit is contained in:
parent
c97da9d3f7
commit
fa1ec70432
8 changed files with 18 additions and 27 deletions
|
@ -14,9 +14,9 @@ const siteConfig = require(process.cwd() + "/siteConfig.js");
|
|||
|
||||
class Users extends React.Component {
|
||||
render() {
|
||||
const showcase = siteConfig.users.map(user => {
|
||||
const showcase = siteConfig.users.map((user, i) => {
|
||||
return (
|
||||
<a href={user.infoLink}>
|
||||
<a href={user.infoLink} key={i}>
|
||||
<img src={user.image} title={user.caption} />
|
||||
</a>
|
||||
);
|
||||
|
@ -30,14 +30,11 @@ class Users extends React.Component {
|
|||
<h1>Who's Using This?</h1>
|
||||
<p>This project is used by many folks</p>
|
||||
</div>
|
||||
<div className="logos">
|
||||
{showcase}
|
||||
</div>
|
||||
<div className="logos">{showcase}</div>
|
||||
<p>Are you using this project?</p>
|
||||
<a
|
||||
href="https://github.com/deltice/test-site/edit/master/website/siteConfig.js"
|
||||
className="button"
|
||||
>
|
||||
className="button">
|
||||
Add your company
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue