Footer to PayoutPreferencesPage

This commit is contained in:
Vesa Luusua 2017-10-20 18:22:08 +03:00
parent 1982eb4639
commit de19161a4c
2 changed files with 40 additions and 3 deletions

View file

@ -4,7 +4,14 @@ import { compose } from 'redux';
import { connect } from 'react-redux';
import * as propTypes from '../../util/propTypes';
import { isScrollingDisabled } from '../../ducks/UI.duck';
import { Page } from '../../components';
import {
Page,
LayoutSingleColumn,
LayoutWrapperTopbar,
LayoutWrapperMain,
LayoutWrapperFooter,
Footer,
} from '../../components';
import { TopbarContainer } from '../../containers';
export const PayoutPreferencesPageComponent = props => {
@ -17,7 +24,15 @@ export const PayoutPreferencesPageComponent = props => {
title="Payout preferences"
scrollingDisabled={scrollingDisabled}
>
<TopbarContainer />
<LayoutSingleColumn>
<LayoutWrapperTopbar>
<TopbarContainer />
</LayoutWrapperTopbar>
<LayoutWrapperMain>Content</LayoutWrapperMain>
<LayoutWrapperFooter>
<Footer />
</LayoutWrapperFooter>
</LayoutSingleColumn>
</Page>
);
};

View file

@ -7,6 +7,28 @@ exports[`PayoutPreferencesPage matches snapshot 1`] = `
scrollingDisabled={false}
title="Payout preferences"
>
<withRouter(Connect(TopbarContainerComponent)) />
<LayoutSingleColumn
className={null}
rootClassName={null}
>
<LayoutWrapperTopbar
className={null}
rootClassName={null}
>
<withRouter(Connect(TopbarContainerComponent)) />
</LayoutWrapperTopbar>
<LayoutWrapperMain
className={null}
rootClassName={null}
>
Content
</LayoutWrapperMain>
<LayoutWrapperFooter
className={null}
rootClassName={null}
>
<InjectIntl(Footer) />
</LayoutWrapperFooter>
</LayoutSingleColumn>
</Page>
`;