/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const React = require('react'); const CompLibrary = require('../../core/CompLibrary.js'); const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; const siteConfig = require(process.cwd() + '/siteConfig.js'); class Button extends React.Component { render() { return (
{this.props.children}
); } } Button.defaultProps = { target: '_self', }; class HomeSplash extends React.Component { render() { return (

{siteConfig.tagline}

); } } class Index extends React.Component { render() { let language = this.props.language || 'en'; const showcase = siteConfig.users .filter(user => { return user.pinned; }) .map(user => { return ( ); }); return (

Feature Callout

These are features of this project

{"Who's Using This?"}

This project is used by all these people

{showcase}
More {siteConfig.title} Users
); } } module.exports = Index;