diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-04-24 13:17:26 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-04-24 13:17:26 +0800 |
commit | 567768c66a596173942ee92e804a59005ef1af95 (patch) | |
tree | b5da79c1300d6c6f33d0883d9dab964c840269ab /packages/website | |
parent | deaa5f3211d75e81dd7e0820686a5f6a9b26f9d4 (diff) | |
download | dexon-sol-tools-567768c66a596173942ee92e804a59005ef1af95.tar.gz dexon-sol-tools-567768c66a596173942ee92e804a59005ef1af95.tar.zst dexon-sol-tools-567768c66a596173942ee92e804a59005ef1af95.zip |
Add headers to wallet and relayer index
Diffstat (limited to 'packages/website')
-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 ba0db7c47..50760c32d 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} |