[www] App component refactoring

This commit is contained in:
Roman Timashev committed 2017-10-14 11:28:18 +03:00
1 parent 89a5a192c9
commit 5b66c90b60
2 files changed
+10 -6

No files matched your search

+1 -6
View File
@@ -1,12 +1,7 @@
const React = require('react')
const Menu = require('./Menu')
const Footer = require('./Footer')
const Comments = () => (
<div className="content content_thin">
<div id="disqus_thread"></div>
</div>
)
const Comments = require('./Comments')
const App = ({children, menu, showAuthor, menuPadding}) => (
<div className="body-wrapper theme-default">
+9
View File
@@ -0,0 +1,9 @@
const React = require('react')
const Comments = ({contentClass = 'content_thin'}) => (
<div className={`content ${contentClass}`}>
<div id="disqus_thread"/>
</div>
)
module.exports = Comments