/** * 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'); function imgUrl(img) { return siteConfig.baseUrl + 'img/' + img; } function docUrl(doc, language) { return siteConfig.baseUrl + 'docs/' + (language ? language + '/' : '') + doc; } function pageUrl(page, language) { return siteConfig.baseUrl + (language ? language + '/' : '') + page; } class Button extends React.Component { render() { return (
{this.props.children}
); } } Button.defaultProps = { target: '_self', }; const SplashContainer = props => (
{props.children}
); const Logo = props => (
); const ProjectTitle = props => (

{siteConfig.title} {siteConfig.tagline}

); const PromoSection = props => (
{props.children}
); class HomeSplash extends React.Component { render() { let language = this.props.language || ''; return (
); } } const Block = props => ( ); const Features = props => ( {[ { content: 'Simple model: static UI definition, queries and events', //image: imgUrl('docusaurus.svg'), imageAlign: 'top', title: 'Unidirectional flow', }, { content: 'Fine grain permission model - pure data', //image: imgUrl('docusaurus.svg'), imageAlign: 'top', title: 'Security and privacy first', }, { content: 'Great performance, smooth ', //image: imgUrl('docusaurus.svg'), imageAlign: 'top', title: 'Native UX', }, ]} ); class Index extends React.Component { render() { let language = this.props.language || ''; return (
); } } module.exports = Index;