Another large update for all components

reorganization, linting, updating file imports, consolidation
warning: there will be errors in this commit
todo: update webpack, add missing styles, scss files, consolidate group page components.
This commit is contained in:
mgabdev
2019-08-09 12:06:27 -04:00
parent 280dc51d85
commit 3d509c84a2
183 changed files with 4802 additions and 2361 deletions

View File

@@ -4,7 +4,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
import HeaderContainer from '../features/account_timeline/containers/header_container';
import {WhoToFollowPanel, SignUpPanel} from '../components/panel';
import LinkFooter from '../components/link_footer';
import ProfileInfoPanel from '../features/account_timeline/components/profile_info_panel';
import ProfileInfoPanel from '../features/account_timeline/components/profile_info_panel/profile_info_panel';
import ColumnsArea from '../components/columns_area';
const mapStateToProps = (state, { params: { username }, withReplies = false }) => {
@@ -47,15 +47,15 @@ class ProfilePage extends ImmutablePureComponent {
return (
<ColumnsArea
layout={{
top: <HeaderContainer accountId={accountId} username={accountUsername} />,
right: (
TOP: <HeaderContainer accountId={accountId} username={accountUsername} />,
RIGHT: (
<Fragment>
<SignUpPanel />
<WhoToFollowPanel />
<LinkFooter />
</Fragment>
),
left: <ProfileInfoPanel username={accountUsername} account={account} />,
LEFT: <ProfileInfoPanel username={accountUsername} account={account} />,
}}
>
{this.props.children}