const React = require('react'); const CompLibrary = require('../../core/CompLibrary.js'); const Container = CompLibrary.Container; const siteConfig = require(process.cwd() + '/siteConfig.js'); const NetworkLink = props => { if (props.text) { return (
); } else return null; }; const Member = ({ member, imageSize }) => { const { github, twitter, name, crowdin, role, active } = member; const avatarUrl = `https://avatars.githubusercontent.com/${github}`; const twitterUrl = `https://twitter.com/${twitter}`; const githubUrl = `https://github.com/${github}`; const crowdinUrl = `https://crowdin.com/profile/${crowdin}`; const size = imageSize || 100; // to disable an member it has to be strictly false if (!active && active === false) { return null; } return (