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 (
{props.iconAlt} {props.text}
); } 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 (
{name}
{role ? `${role}` : ''}
{{name}}
); }; const MemberSection = props => { return (

{props.title}

{props.members.map(member => { return ; })}
); }; const TranslatorMemberSections = props => { return (

{props.title}

{props.translator.map(member => { return ; })}
); }; const LanguagesGroups = props => { const languages = Object.keys(props.languages); return (

{props.title}

{languages.map((function(language) { const lang = props.languages[language]; return ; }))}
); }; const CrowdingTranslators = props => { return (

Crowding Translators

); }; const BannerTitle = () => { return (

Team Members

); }; class Team extends React.Component { render() { const {admons, maintainers, translators} = siteConfig.team; return (
); } } module.exports = Team;