feat: polish app (#669)
This commit is contained in:
@@ -17,12 +17,12 @@ export function ChequebookInfoCard() {
|
||||
<Card
|
||||
buttonProps={{
|
||||
iconType: ExchangeFunds,
|
||||
children: 'View chequebook',
|
||||
children: 'Manage chequebook',
|
||||
onClick: () => navigate(ROUTES.ACCOUNT_CHEQUEBOOK),
|
||||
}}
|
||||
icon={<ExchangeFunds />}
|
||||
title={`${chequebookBalance?.availableBalance.toSignificantDigits(4)} xBZZ`}
|
||||
subtitle="Current chequebook balance."
|
||||
subtitle="Network transfer balance."
|
||||
status="ok"
|
||||
/>
|
||||
)
|
||||
@@ -32,7 +32,7 @@ export function ChequebookInfoCard() {
|
||||
<Card
|
||||
buttonProps={{
|
||||
iconType: ExchangeFunds,
|
||||
children: 'View chequebook',
|
||||
children: 'Manage chequebook',
|
||||
onClick: () => navigate(ROUTES.ACCOUNT_CHEQUEBOOK),
|
||||
}}
|
||||
icon={<ExchangeFunds />}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Button } from '@material-ui/core'
|
||||
import { ReactElement, useContext } from 'react'
|
||||
import { ChainSync } from '../../components/ChainSync'
|
||||
import ExpandableListItem from '../../components/ExpandableListItem'
|
||||
import Map from '../../components/Map'
|
||||
import { BEE_DESKTOP_LATEST_RELEASE_PAGE } from '../../constants'
|
||||
@@ -19,11 +20,17 @@ export default function Status(): ReactElement {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'stretch', alignContent: 'stretch' }}>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'stretch',
|
||||
alignContent: 'stretch',
|
||||
gap: '8px',
|
||||
}}
|
||||
>
|
||||
<NodeInfoCard />
|
||||
<div style={{ width: '8px' }}></div>
|
||||
<WalletInfoCard />
|
||||
<div style={{ width: '8px' }}></div>
|
||||
<ChequebookInfoCard />
|
||||
</div>
|
||||
<div style={{ height: '16px' }} />
|
||||
@@ -31,6 +38,9 @@ export default function Status(): ReactElement {
|
||||
<div style={{ height: '2px' }} />
|
||||
<ExpandableListItem label="Connected peers" value={topology?.connected ?? '-'} />
|
||||
<ExpandableListItem label="Population" value={topology?.population ?? '-'} />
|
||||
<ExpandableListItem label="Depth" value={topology?.depth ?? '-'} />
|
||||
<ChainSync />
|
||||
|
||||
<div style={{ height: '16px' }} />
|
||||
{isDesktop && (
|
||||
<ExpandableListItem
|
||||
|
||||
Reference in New Issue
Block a user