/** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ const React = require("react"); const CompLibrary = require("../../core/CompLibrary.js"); const Marked = CompLibrary.Marked; /* 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.title} {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 (


{"Who's Using This?"}

Docusaurus is building websites for these projects

{showcase}
All Docusaurus Users
); } } module.exports = Index;