mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
47 lines
896 B
JavaScript
47 lines
896 B
JavaScript
const React = require('react');
|
|
|
|
const CompLibrary = require('../../core/CompLibrary.js');
|
|
|
|
const {
|
|
// MarkdownBlock,
|
|
Container,
|
|
GridBlock,
|
|
} = CompLibrary;
|
|
|
|
class Index extends React.Component {
|
|
render() {
|
|
// const { config: siteConfig, language = '' } = this.props;
|
|
// const { baseUrl } = siteConfig;
|
|
|
|
const Block = props => (
|
|
<Container
|
|
padding={['bottom', 'top']}
|
|
id={props.id}
|
|
background={props.background}
|
|
>
|
|
<GridBlock
|
|
align="center"
|
|
contents={props.children}
|
|
layout={props.layout}
|
|
/>
|
|
</Container>
|
|
);
|
|
|
|
return (
|
|
<div>
|
|
<div className="mainContainer">
|
|
<Block>
|
|
{[
|
|
{
|
|
title: 'Under construction',
|
|
},
|
|
]}
|
|
</Block>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
module.exports = Index;
|