spee.ch/react/components/HomePage/index.js

26 lines
674 B
JavaScript
Raw Normal View History

2018-01-29 20:47:12 +01:00
import React from 'react';
import Helmet from 'react-helmet';
2018-01-29 20:47:12 +01:00
import NavBar from 'containers/NavBar';
import PublishTool from 'containers/PublishTool';
const { site: { title, host } } = require('../../../config/speechConfig.js');
class HomePage extends React.Component {
2018-01-29 20:47:12 +01:00
render () {
return (
<div className={'row row--tall flex-container--column'}>
<Helmet>
<title>{title}</title>
<link rel='canonical' href={`${host}/`} />
</Helmet>
<NavBar />
2018-01-29 20:47:12 +01:00
<div className={'row row--tall row--padded flex-container--column'}>
<PublishTool />
2018-01-29 20:47:12 +01:00
</div>
</div>
);
}
};
export default HomePage;