mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Rebase remerge
This commit is contained in:
parent
e616576fa5
commit
6f2424d103
@ -31,74 +31,116 @@ import { AuthPrizeRoleRedirect } from './portfolioreview/components/pr_routes/pr
|
|||||||
const ROUTES = {
|
const ROUTES = {
|
||||||
sluice: (
|
sluice: (
|
||||||
<Route path='/' component={SPApp}>
|
<Route path='/' component={SPApp}>
|
||||||
<IndexRoute component={SPLanding} />
|
<IndexRoute
|
||||||
|
component={SPLanding}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='login'
|
path='login'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SPLoginContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SPLoginContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='logout'
|
path='logout'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}/>
|
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='signup'
|
path='signup'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SPSignupContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SPSignupContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='password_reset'
|
path='password_reset'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='settings'
|
path='settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPSettingsContainer)}/>
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPSettingsContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPRegisterPiece)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPRegisterPiece)}
|
||||||
headerTitle='+ NEW WORK'/>
|
headerTitle='+ NEW WORK'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)}
|
||||||
headerTitle='COLLECTION'/>
|
headerTitle='COLLECTION'
|
||||||
<Route path='pieces/:pieceId' component={SluicePieceContainer} />
|
hideFooter />
|
||||||
<Route path='editions/:editionId' component={EditionContainer} />
|
<Route
|
||||||
<Route path='verify' component={CoaVerifyContainer} />
|
path='pieces/:pieceId'
|
||||||
<Route path='*' component={ErrorNotFoundPage} />
|
component={SluicePieceContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='editions/:editionId'
|
||||||
|
component={EditionContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='verify'
|
||||||
|
component={CoaVerifyContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='*'
|
||||||
|
component={ErrorNotFoundPage}
|
||||||
|
hideFooter />
|
||||||
</Route>
|
</Route>
|
||||||
),
|
),
|
||||||
portfolioreview: (
|
portfolioreview: (
|
||||||
<Route path='/' component={PRApp}>
|
<Route path='/' component={PRApp}>
|
||||||
<IndexRoute component={ProxyHandler(AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }))(PRLanding)} />
|
<IndexRoute
|
||||||
|
component={ProxyHandler(AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }))(PRLanding)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(PRRegisterPiece)}/>
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(PRRegisterPiece)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)}
|
||||||
headerTitle='SUBMISSIONS'/>
|
headerTitle='SUBMISSIONS'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='login'
|
path='login'
|
||||||
component={ProxyHandler(
|
component={ProxyHandler(
|
||||||
AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }),
|
AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }),
|
||||||
AuthRedirect({to: '/register_piece', when: 'loggedIn'})
|
AuthRedirect({to: '/register_piece', when: 'loggedIn'})
|
||||||
)(SPLoginContainer)} />
|
)(SPLoginContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='logout'
|
path='logout'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='signup'
|
path='signup'
|
||||||
component={ProxyHandler(
|
component={ProxyHandler(
|
||||||
AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }),
|
AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }),
|
||||||
AuthRedirect({to: '/register_piece', when: 'loggedIn'})
|
AuthRedirect({to: '/register_piece', when: 'loggedIn'})
|
||||||
)(SPSignupContainer)} />
|
)(SPSignupContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='password_reset'
|
path='password_reset'
|
||||||
component={ProxyHandler(
|
component={ProxyHandler(
|
||||||
AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }),
|
AuthPrizeRoleRedirect({ to: '/collection', when: ['is_admin', 'is_judge', 'is_jury'] }),
|
||||||
AuthRedirect({to: '/register_piece', when: 'loggedIn'})
|
AuthRedirect({to: '/register_piece', when: 'loggedIn'})
|
||||||
)(PasswordResetContainer)} />
|
)(PasswordResetContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='settings'
|
path='settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPSettingsContainer)}/>
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPSettingsContainer)}
|
||||||
<Route path='pieces/:pieceId' component={SPPieceContainer} />
|
hideFooter />
|
||||||
<Route path='editions/:editionId' component={EditionContainer} />
|
<Route
|
||||||
<Route path='verify' component={CoaVerifyContainer} />
|
path='pieces/:pieceId'
|
||||||
<Route path='*' component={ErrorNotFoundPage} />
|
component={SPPieceContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='editions/:editionId'
|
||||||
|
component={EditionContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='verify'
|
||||||
|
component={CoaVerifyContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='*'
|
||||||
|
component={ErrorNotFoundPage}
|
||||||
|
hideFooter />
|
||||||
</Route>
|
</Route>
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
@ -28,8 +28,9 @@ let WalletApp = React.createClass({
|
|||||||
|
|
||||||
let header = null;
|
let header = null;
|
||||||
// if the path of the current activeRoute is not defined, then this is the IndexRoute
|
// if the path of the current activeRoute is not defined, then this is the IndexRoute
|
||||||
if ((!path || history.isActive('/login') || history.isActive('/signup') || history.isActive('/contract_notifications'))
|
if ((!path || history.isActive('/login') || history.isActive('/signup') ||
|
||||||
&& (['cyland', 'ikonotv', 'lumenus', '23vivi']).indexOf(subdomain) > -1) {
|
history.isActive('/contract_notifications')) &&
|
||||||
|
(['cyland', 'ikonotv', 'lumenus', '23vivi']).includes(subdomain)) {
|
||||||
header = (<div className="hero" />);
|
header = (<div className="hero" />);
|
||||||
} else {
|
} else {
|
||||||
header = (<Header routes={routes} />);
|
header = (<Header routes={routes} />);
|
||||||
|
@ -48,193 +48,302 @@ import WalletApp from './wallet_app';
|
|||||||
let ROUTES = {
|
let ROUTES = {
|
||||||
'cyland': (
|
'cyland': (
|
||||||
<Route path='/' component={WalletApp}>
|
<Route path='/' component={WalletApp}>
|
||||||
<IndexRoute component={CylandLanding} />
|
<IndexRoute
|
||||||
|
component={CylandLanding}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='login'
|
path='login'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='logout'
|
path='logout'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='signup'
|
path='signup'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='password_reset'
|
path='password_reset'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='settings'
|
path='settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='contract_settings'
|
path='contract_settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandRegisterPiece)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandRegisterPiece)}
|
||||||
headerTitle='+ NEW WORK'
|
headerTitle='+ NEW WORK'
|
||||||
aclName='acl_wallet_submit' />
|
aclName='acl_wallet_submit'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandPieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandPieceList)}
|
||||||
headerTitle='COLLECTION'
|
headerTitle='COLLECTION'
|
||||||
disableOn='noPieces' />
|
disableOn='noPieces'
|
||||||
<Route path='editions/:editionId' component={EditionContainer} />
|
hideFooter />
|
||||||
<Route path='coa_verify' component={CoaVerifyContainer} />
|
<Route
|
||||||
<Route path='pieces/:pieceId' component={CylandPieceContainer} />
|
path='editions/:editionId'
|
||||||
<Route path='*' component={ErrorNotFoundPage} />
|
component={EditionContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='coa_verify'
|
||||||
|
component={CoaVerifyContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='pieces/:pieceId'
|
||||||
|
component={CylandPieceContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='*'
|
||||||
|
component={ErrorNotFoundPage}
|
||||||
|
hideFooter />
|
||||||
</Route>
|
</Route>
|
||||||
),
|
),
|
||||||
'cc': (
|
'cc': (
|
||||||
<Route path='/' component={WalletApp}>
|
<Route path='/' component={WalletApp}>
|
||||||
<Route
|
<Route
|
||||||
path='login'
|
path='login'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='logout'
|
path='logout'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='signup'
|
path='signup'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='password_reset'
|
path='password_reset'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='settings'
|
path='settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='contract_settings'
|
path='contract_settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CCRegisterPiece)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CCRegisterPiece)}
|
||||||
headerTitle='+ NEW WORK' />
|
headerTitle='+ NEW WORK'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(PieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(PieceList)}
|
||||||
headerTitle='COLLECTION'
|
headerTitle='COLLECTION'
|
||||||
disableOn='noPieces' />
|
disableOn='noPieces'
|
||||||
<Route path='pieces/:pieceId' component={PieceContainer} />
|
hideFooter />
|
||||||
<Route path='editions/:editionId' component={EditionContainer} />
|
<Route
|
||||||
<Route path='coa_verify' component={CoaVerifyContainer} />
|
path='pieces/:pieceId'
|
||||||
<Route path='*' component={ErrorNotFoundPage} />
|
component={PieceContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='editions/:editionId'
|
||||||
|
component={EditionContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='coa_verify'
|
||||||
|
component={CoaVerifyContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='*'
|
||||||
|
component={ErrorNotFoundPage}
|
||||||
|
hideFooter />
|
||||||
</Route>
|
</Route>
|
||||||
),
|
),
|
||||||
'ikonotv': (
|
'ikonotv': (
|
||||||
<Route path='/' component={WalletApp}>
|
<Route path='/' component={WalletApp}>
|
||||||
<IndexRoute component={IkonotvLanding} />
|
<IndexRoute
|
||||||
|
component={IkonotvLanding}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='login'
|
path='login'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='logout'
|
path='logout'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='signup'
|
path='signup'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='password_reset'
|
path='password_reset'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='settings'
|
path='settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='contract_settings'
|
path='contract_settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='request_loan'
|
path='request_loan'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SendContractAgreementForm)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SendContractAgreementForm)}
|
||||||
headerTitle='SEND NEW CONTRACT'
|
headerTitle='SEND NEW CONTRACT'
|
||||||
aclName='acl_create_contractagreement' />
|
aclName='acl_create_contractagreement'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvRegisterPiece)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvRegisterPiece)}
|
||||||
headerTitle='+ NEW WORK'
|
headerTitle='+ NEW WORK'
|
||||||
aclName='acl_wallet_submit' />
|
aclName='acl_wallet_submit'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvPieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvPieceList)}
|
||||||
headerTitle='COLLECTION'
|
headerTitle='COLLECTION'
|
||||||
disableOn='noPieces' />
|
disableOn='noPieces'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='contract_notifications'
|
path='contract_notifications'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvContractNotifications)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvContractNotifications)}
|
||||||
<Route path='pieces/:pieceId' component={IkonotvPieceContainer} />
|
hideFooter />
|
||||||
<Route path='editions/:editionId' component={EditionContainer} />
|
<Route
|
||||||
<Route path='coa_verify' component={CoaVerifyContainer} />
|
path='pieces/:pieceId'
|
||||||
<Route path='*' component={ErrorNotFoundPage} />
|
component={IkonotvPieceContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='editions/:editionId'
|
||||||
|
component={EditionContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='coa_verify'
|
||||||
|
component={CoaVerifyContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='*'
|
||||||
|
component={ErrorNotFoundPage}
|
||||||
|
hideFooter />
|
||||||
</Route>
|
</Route>
|
||||||
),
|
),
|
||||||
'lumenus': (
|
'lumenus': (
|
||||||
<Route path='/' component={WalletApp}>
|
<Route path='/' component={WalletApp}>
|
||||||
<IndexRoute component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LumenusLanding)} />
|
<IndexRoute
|
||||||
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LumenusLanding)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='login'
|
path='login'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='logout'
|
path='logout'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='signup'
|
path='signup'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='password_reset'
|
path='password_reset'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='settings'
|
path='settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='contract_settings'
|
path='contract_settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketRegisterPiece)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketRegisterPiece)}
|
||||||
headerTitle='+ NEW WORK'
|
headerTitle='+ NEW WORK'
|
||||||
aclName='acl_wallet_submit' />
|
aclName='acl_wallet_submit'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketPieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketPieceList)}
|
||||||
headerTitle='COLLECTION'
|
headerTitle='COLLECTION'
|
||||||
disableOn='noPieces' />
|
disableOn='noPieces'
|
||||||
<Route path='pieces/:pieceId' component={MarketPieceContainer} />
|
hideFooter />
|
||||||
<Route path='editions/:editionId' component={MarketEditionContainer} />
|
<Route
|
||||||
<Route path='coa_verify' component={CoaVerifyContainer} />
|
path='pieces/:pieceId'
|
||||||
<Route path='*' component={ErrorNotFoundPage} />
|
component={MarketPieceContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='editions/:editionId'
|
||||||
|
component={MarketEditionContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='coa_verify'
|
||||||
|
component={CoaVerifyContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='*'
|
||||||
|
component={ErrorNotFoundPage}
|
||||||
|
hideFooter />
|
||||||
</Route>
|
</Route>
|
||||||
),
|
),
|
||||||
'23vivi': (
|
'23vivi': (
|
||||||
<Route path='/' component={WalletApp}>
|
<Route path='/' component={WalletApp}>
|
||||||
<IndexRoute component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(Vivi23Landing)} />
|
<IndexRoute component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(Vivi23Landing)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='login'
|
path='login'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(LoginContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='logout'
|
path='logout'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/', when: 'loggedOut'}))(LogoutContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='signup'
|
path='signup'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(SignupContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='password_reset'
|
path='password_reset'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/collection', when: 'loggedIn'}))(PasswordResetContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='settings'
|
path='settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SettingsContainer)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='contract_settings'
|
path='contract_settings'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)} />
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(ContractSettings)}
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketRegisterPiece)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketRegisterPiece)}
|
||||||
headerTitle='+ NEW WORK'
|
headerTitle='+ NEW WORK'
|
||||||
aclName='acl_wallet_submit' />
|
aclName='acl_wallet_submit'
|
||||||
|
hideFooter />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(Vivi23PieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(Vivi23PieceList)}
|
||||||
headerTitle='COLLECTION'
|
headerTitle='COLLECTION'
|
||||||
disableOn='noPieces' />
|
disableOn='noPieces'
|
||||||
<Route path='pieces/:pieceId' component={MarketPieceContainer} />
|
hideFooter />
|
||||||
<Route path='editions/:editionId' component={MarketEditionContainer} />
|
<Route
|
||||||
<Route path='coa_verify' component={CoaVerifyContainer} />
|
path='pieces/:pieceId'
|
||||||
<Route path='*' component={ErrorNotFoundPage} />
|
component={MarketPieceContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='editions/:editionId'
|
||||||
|
component={MarketEditionContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='coa_verify'
|
||||||
|
component={CoaVerifyContainer}
|
||||||
|
hideFooter />
|
||||||
|
<Route
|
||||||
|
path='*'
|
||||||
|
component={ErrorNotFoundPage}
|
||||||
|
hideFooter />
|
||||||
</Route>
|
</Route>
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
@ -2,7 +2,6 @@ $pr--nav-fg-prim-color: black;
|
|||||||
$pr--button-color: $pr--nav-fg-prim-color;
|
$pr--button-color: $pr--nav-fg-prim-color;
|
||||||
|
|
||||||
.client--portfolioreview {
|
.client--portfolioreview {
|
||||||
|
|
||||||
.btn-wide,
|
.btn-wide,
|
||||||
.btn-default {
|
.btn-default {
|
||||||
background-color: $pr--button-color;
|
background-color: $pr--button-color;
|
||||||
|
@ -68,5 +68,3 @@
|
|||||||
padding: 0.7em;
|
padding: 0.7em;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ $vivi23--highlight-color: #de2600;
|
|||||||
/** Landing page **/
|
/** Landing page **/
|
||||||
.route--landing {
|
.route--landing {
|
||||||
display: table;
|
display: table;
|
||||||
|
min-height: 100vh;
|
||||||
|
|
||||||
> .container {
|
> .container {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
@ -252,10 +253,6 @@ $vivi23--highlight-color: #de2600;
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ascribe-footer {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ascribe-accordion-list-table-toggle:hover {
|
.ascribe-accordion-list-table-toggle:hover {
|
||||||
color: $vivi23--fg-color;
|
color: $vivi23--fg-color;
|
||||||
}
|
}
|
||||||
|
@ -55,16 +55,11 @@ $cc--button-color: $cc--nav-fg-prim-color;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.client--cc .ascribe-footer {
|
.client--cc .icon-ascribe-search {
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.client--cc .icon-ascribe-search{
|
|
||||||
color: $cc--button-color;
|
color: $cc--button-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.client--cc .ascribe-piece-list-toolbar .btn-ascribe-add{
|
.client--cc .ascribe-piece-list-toolbar .btn-ascribe-add {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,10 +56,6 @@ $cyland--button-sec-color: #515151;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.client--cyland .ascribe-footer {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.client--cyland .icon-ascribe-search {
|
.client--cyland .icon-ascribe-search {
|
||||||
color: $cyland--button-color;
|
color: $cyland--button-color;
|
||||||
}
|
}
|
||||||
@ -171,6 +167,7 @@ $cyland--button-sec-color: #515151;
|
|||||||
.client--cyland {
|
.client--cyland {
|
||||||
.route--landing {
|
.route--landing {
|
||||||
display: table;
|
display: table;
|
||||||
|
min-height: 100vh;
|
||||||
|
|
||||||
> .container {
|
> .container {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
@ -108,8 +108,23 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.client--ikonotv .route--landing {
|
.client--ikonotv {
|
||||||
|
.route--landing,
|
||||||
|
.route--login,
|
||||||
|
.route--signup {
|
||||||
background-color: $ikono--landing-bg-color;
|
background-color: $ikono--landing-bg-color;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.route--login,
|
||||||
|
.route--signup {
|
||||||
|
.ascribe-form-bordered {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.client--ikonotv .route--landing {
|
||||||
animation: color-loop 20s;
|
animation: color-loop 20s;
|
||||||
-o-animation: color-loop 20s infinite;
|
-o-animation: color-loop 20s infinite;
|
||||||
-ms-animation: color-loop 20s infinite;
|
-ms-animation: color-loop 20s infinite;
|
||||||
@ -121,11 +136,8 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
|
|||||||
padding: 5em 1em;
|
padding: 5em 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.client--ikonotv .route--login,
|
.client--ikonotv .route--login,
|
||||||
.client--ikonotv .route--signup {
|
.client--ikonotv .route--signup {
|
||||||
background-color: $ikono--landing-bg-color;
|
|
||||||
|
|
||||||
.btn-wide {
|
.btn-wide {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 50px auto 0;
|
margin: 50px auto 0;
|
||||||
@ -209,27 +221,11 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.client--ikonotv {
|
.client--ikonotv .icon-ascribe-search {
|
||||||
.route--login,
|
|
||||||
.route--signup {
|
|
||||||
.ascribe-form-bordered {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.client--ikonotv .ascribe-login-wrapper {
|
|
||||||
}
|
|
||||||
|
|
||||||
.client--ikonotv .ascribe-footer {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.client--ikonotv .icon-ascribe-search{
|
|
||||||
color: $ikono--button-color;
|
color: $ikono--button-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.client--ikonotv .ascribe-piece-list-toolbar .btn-ascribe-add{
|
.client--ikonotv .ascribe-piece-list-toolbar .btn-ascribe-add {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
.ascribe-wallet-app {
|
.ascribe-wallet-app {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
min-height: 100vh;
|
|
||||||
padding-top: 70px;
|
padding-top: 70px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user