Merge pull request #4 from facebookexperimental/deltice

Add new translation functionality and run prettier
This commit is contained in:
Frank Li 2017-07-12 11:56:12 -07:00 committed by GitHub
commit a7258f990c
43 changed files with 2019 additions and 1187 deletions

View file

@ -20,32 +20,30 @@ class Help extends React.Component {
const supportLinks = [
{
content:
"Learn more using the [documentation on this site.](/test-site/docs/en/doc1.html)\n",
"Learn more using the [documentation on this site.](/test-site/docs/en/doc1.html)",
title: "Browse Docs"
},
{
content: "Ask questions about the documentation and project\n",
content: "Ask questions about the documentation and project",
title: "Join the community"
},
{
content: "Find out what's new with this project\n",
content: "Find out what's new with this project",
title: "Stay up to date"
}
];
return (
<div>
<div className="docMainWrapper wrapper">
<Container className="mainContainer documentContainer postContainer">
<div className="post">
<header className="postHeader">
<h2>Need help?</h2>
</header>
<p>This project is maintained by a dedicated group of people.</p>
<GridBlock contents={supportLinks} layout="threeColumn" />
</div>
</Container>
</div>
<div className="docMainWrapper wrapper">
<Container className="mainContainer documentContainer postContainer">
<div className="post">
<header className="postHeader">
<h2>Need help?</h2>
</header>
<p>This project is maintained by a dedicated group of people.</p>
<GridBlock contents={supportLinks} layout="threeColumn" />
</div>
</Container>
</div>
);
}

View file

@ -25,27 +25,25 @@ class Users extends React.Component {
});
return (
<div>
<div className="mainContainer">
<Container padding={["bottom", "top"]}>
<div className="showcaseSection">
<div className="prose">
<h1>Who's Using This?</h1>
<p>This project is used by many folks</p>
</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"
>
Add your company
</a>
<div className="mainContainer">
<Container padding={["bottom", "top"]}>
<div className="showcaseSection">
<div className="prose">
<h1>Who's Using This?</h1>
<p>This project is used by many folks</p>
</div>
</Container>
</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"
>
Add your company
</a>
</div>
</Container>
</div>
);
}