const React = require("react"); const path = require("path"); const CompLibrary = require("../../core/CompLibrary.js"); const Container = CompLibrary.Container; const EditThisPage = require(path.resolve(process.cwd(), "core/EditThisPage.js")); const siteConfig = require(process.cwd() + "/siteConfig.js"); // This is based mostly off of Babel's website configuration for Members/orgs/etc. const MediaLink = props => { if (props.text) { return (
{props.iconAlt} {props.text}
); } else return null; }; const Member = ({member}) => { const { baseUrl } = siteConfig; const { github, twitter, name, joined } = member; const avatarUrl = `https://avatars.githubusercontent.com/${github}`; const twitterUrl = `https://twitter.com/${twitter}`; const githubUrl = `https://github.com/${github}`; const ghIcon = `${baseUrl}img/icons/github.svg`; const twitterIcon = `${baseUrl}img/icons/twitter.svg`; return (
{{name}}
{name}
({joined})
); }; const MemberGroup = props => { return (

{props.title}

{props.members.map(member => { return ; })}
); }; class Team extends React.Component { render() { const {team, repoUrl} = siteConfig; const editUrl = `${repoUrl}/edit/master/website/dynamic/team.yml`; return (
); } } module.exports = Team;