diff --git a/app/javascript/gabsocial/layouts/explore_layout.js b/app/javascript/gabsocial/layouts/explore_layout.js new file mode 100644 index 00000000..7bc3ebd1 --- /dev/null +++ b/app/javascript/gabsocial/layouts/explore_layout.js @@ -0,0 +1,97 @@ +import ImmutablePropTypes from 'react-immutable-proptypes' +import ImmutablePureComponent from 'react-immutable-pure-component' +import Sticky from 'react-stickynode' +import { BREAKPOINT_EXTRA_SMALL } from '../constants' +import Layout from './layout' +import TrendsPanel from '../components/panel/trends_panel' +import GroupSidebarPanel from '../components/panel/groups_panel' +import SignUpLogInPanel from '../components/panel/sign_up_log_in_panel' +import SidebarPanelGroup from '../components/sidebar_panel_group' +import Responsive from '../features/ui/util/responsive_component' +import Heading from '../components/heading' +import GroupSortBlock from '../components/group_sort_block' + +export default class GroupLayout extends ImmutablePureComponent { + + static propTypes = { + actions: PropTypes.array, + children: PropTypes.node, + group: ImmutablePropTypes.map, + groupId: PropTypes.string, + layout: PropTypes.object, + relationships: ImmutablePropTypes.map, + title: PropTypes.string, + } + + render() { + const { children, title } = this.props + + const pageTitleBlock = ( +