Added Gab Deck initial mvp
• Added: - Gab Deck initial mvp
This commit is contained in:
25
app/javascript/gabsocial/pages/deck_page.js
Normal file
25
app/javascript/gabsocial/pages/deck_page.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import React from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import PageTitle from '../features/ui/util/page_title'
|
||||
import DeckLayout from '../layouts/deck_layout'
|
||||
|
||||
class DeckPage extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const { children } = this.props
|
||||
|
||||
return (
|
||||
<DeckLayout>
|
||||
<PageTitle path={'Deck'} />
|
||||
{children}
|
||||
</DeckLayout>
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DeckPage.propTypes = {
|
||||
children: PropTypes.node.isRequired,
|
||||
}
|
||||
|
||||
export default DeckPage
|
||||
Reference in New Issue
Block a user