diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-04-24 13:17:26 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-05-05 02:04:58 +0800 |
commit | 939e2c70c4a319ac150c874791bb9696adb6481a (patch) | |
tree | 07f74f4927b46c0924da509daa7cdba2af3663fe /packages/website/ts/components | |
parent | 14b29172b1713610c80ccf5b7390f7b445b0eb75 (diff) | |
download | dexon-sol-tools-939e2c70c4a319ac150c874791bb9696adb6481a.tar.gz dexon-sol-tools-939e2c70c4a319ac150c874791bb9696adb6481a.tar.zst dexon-sol-tools-939e2c70c4a319ac150c874791bb9696adb6481a.zip |
Add headers to wallet and relayer index
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 12 | ||||
-rw-r--r-- | packages/website/ts/components/relayer_index/relayer_index.tsx | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index 6939d8905..507860ee6 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -68,6 +68,10 @@ const styles: Styles = { WebkitOverflowScrolling: 'touch', overflow: 'auto', }, + title: { + fontWeight: 'bold', + fontSize: 20, + }, }; export class Portal extends React.Component<PortalProps, PortalState> { @@ -154,7 +158,10 @@ export class Portal extends React.Component<PortalProps, PortalState> { /> <div id="portal" style={styles.body}> <div className="sm-flex flex-center"> - <div className="flex-last p3"> + <div className="flex-last px3"> + <div className="py3" style={styles.title}> + Your Account + </div> <Wallet userAddress={this.props.userAddress} networkId={this.props.networkId} @@ -172,6 +179,9 @@ export class Portal extends React.Component<PortalProps, PortalState> { /> </div> <div className="flex-auto px3" style={styles.scrollContainer}> + <div className="py3" style={styles.title}> + Explore 0x Ecosystem + </div> <RelayerIndex networkId={this.props.networkId} /> </div> </div> diff --git a/packages/website/ts/components/relayer_index/relayer_index.tsx b/packages/website/ts/components/relayer_index/relayer_index.tsx index e8775e1a5..c1ab4227a 100644 --- a/packages/website/ts/components/relayer_index/relayer_index.tsx +++ b/packages/website/ts/components/relayer_index/relayer_index.tsx @@ -57,7 +57,7 @@ export class RelayerIndex extends React.Component<RelayerIndexProps, RelayerInde const readyToRender = _.isUndefined(this.state.error) && !_.isUndefined(this.state.relayerInfos); if (readyToRender) { return ( - <div className="py3" style={styles.root}> + <div style={styles.root}> <GridList cellHeight={CELL_HEIGHT} cols={NUMBER_OF_COLUMNS} |