1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/website/pages/en/users.js
Juan Picado @jotadeveloper 5840eb9d5e
docs(website): add team member page
it might be incomplete
2018-08-04 17:09:03 +02:00

55 lines
1.6 KiB
JavaScript

const React = require('react');
const CompLibrary = require('../../core/CompLibrary.js');
const Container = CompLibrary.Container;
const translate = require("../../server/translate.js").translate;
const siteConfig = require(process.cwd() + '/siteConfig.js');
class Users extends React.Component {
render() {
const showcase = siteConfig.users.map((user, i) => {
return (
<a href={user.infoLink} key={i} target="_blank" rel="noopener">
<img src={user.image} alt={user.caption} title={user.caption} />
</a>
);
});
return (
<div className="mainContainer">
<Container padding={['bottom', 'top']}>
<div className="showcaseSection">
<div className="prose">
<h1>
<translate>
Who's Using This?
</translate>
</h1>
<p>
<translate>
This project is used by many folks
</translate>
</p>
</div>
<div className="logos">{showcase}</div>
<p>
<translate>
Are you using this project? Do not be shy and add your company/project logo.
</translate>
</p>
<a
href="https://github.com/verdaccio/verdaccio/edit/master/website/siteConfig.js"
className="button">
<translate>
Add your company
</translate>
</a>
</div>
</Container>
</div>
);
}
}
module.exports = Users;