You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

59 lines
2.2 KiB

import React from 'react';
import Navbar from '../navbar/navbar';
import CoinTile from '../coinTile/coinTile';
import EDEX from '../edex/edex';
import WalletsBalance from '../walletsBalance/walletsBalance';
import WalletsProgress from '../walletsProgress/walletsProgress';
import WalletsNav from '../walletsNav/walletsNav';
import SendCoin from '../sendCoin/sendCoin';
import WalletsData from '../walletsData/walletsData';
import Atomic from '../atomic/atomic';
import Jumblr from '../jumblr/jumblr';
import Settings from '../settings/settings';
import ReceiveCoin from '../receiveCoin/receiveCoin';
import About from '../about/about';
import WalletsNative from '../walletsNative/walletsNative';
import WalletsTxInfo from '../walletsTxInfo/walletsTxInfo';
import CoindDownModal from '../coindDownModal/coindDownModal';
const DashboardRender = function() {
return (
<div className="full-height">
<div
className={ this.isSectionActive('wallets') ? 'page-main' : '' }
id="section-dashboard">
<Navbar {...this.props} />
<CoindDownModal {...this.props} />
<div className={ this.isSectionActive('wallets') ? 'show' : 'hide' }>
<CoinTile {...this.props} />
<WalletsNav {...this.props} />
{ !this.isNativeMode() && <WalletsProgress {...this.props} /> }
{ !this.isNativeMode() && <WalletsBalance {...this.props} />}
<SendCoin {...this.props} />
{ !this.isNativeMode() && <ReceiveCoin {...this.props.ActiveCoin} /> }
{ !this.isNativeMode() && <WalletsData {...this.props} /> }
<WalletsTxInfo {...this.props} />
<WalletsNative {...this.props} />
</div>
{ this.isSectionActive('edex') &&
<EDEX {...this.props} />
}
{ this.isSectionActive('atomic') &&
<Atomic {...this.props} />
}
{ this.isSectionActive('jumblr') &&
<Jumblr {...this.props} />
}
{ this.isSectionActive('settings') &&
<Settings {...this.props} />
}
{ this.isSectionActive('about') &&
<About {...this.props} />
}
</div>
</div>
);
};
export default DashboardRender;