gab-social/app/javascript/gabsocial/pages/shortcuts_page.js

36 lines
999 B
JavaScript
Raw Normal View History

2020-03-25 03:08:43 +00:00
import { Fragment } from 'react'
import { openModal } from '../actions/modal'
import GroupSidebarPanel from '../components/panel/groups_panel'
import LinkFooter from '../components/link_footer'
import WhoToFollowPanel from '../components/panel/who_to_follow_panel'
import ProgressPanel from '../components/panel/progress_panel'
import UserPanel from '../components/panel/user_panel'
import TrendsPanel from '../components/panel/trends_panel'
import DefaultLayout from '../layouts/default_layout'
export default
class ShortcutsPage extends PureComponent {
render() {
2020-04-16 07:00:43 +01:00
const { children } = this.props
2020-03-25 03:08:43 +00:00
return (
<DefaultLayout
title='Shortcuts'
2020-04-16 07:00:43 +01:00
actions={[]}
2020-03-25 03:08:43 +00:00
layout={(
<Fragment>
<UserPanel />
<ProgressPanel />
<TrendsPanel />
<WhoToFollowPanel />
<GroupSidebarPanel />
<LinkFooter />
</Fragment>
)}
>
{children}
</DefaultLayout>
)
}
}