зеркало из https://github.com/golang/dep.git
44 строки
1.2 KiB
JavaScript
Executable File
44 строки
1.2 KiB
JavaScript
Executable File
const React = require('react');
|
|
|
|
const CompLibrary = require('../../core/CompLibrary.js');
|
|
const Container = CompLibrary.Container;
|
|
const GridBlock = CompLibrary.GridBlock;
|
|
|
|
const siteConfig = require(process.cwd() + '/siteConfig.js');
|
|
|
|
class Help extends React.Component {
|
|
render() {
|
|
const supportLinks = [
|
|
{
|
|
content:
|
|
'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',
|
|
title: 'Join the community',
|
|
},
|
|
{
|
|
content: "Find out what's new with this project",
|
|
title: 'Stay up to date',
|
|
},
|
|
];
|
|
|
|
return (
|
|
<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>
|
|
);
|
|
}
|
|
}
|
|
|
|
module.exports = Help;
|