mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
modified UI
This commit is contained in:
parent
13ae71cb05
commit
8e29670852
2 changed files with 23 additions and 5 deletions
|
|
@ -9,6 +9,23 @@
|
||||||
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
|
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Greeting {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.Transactions {
|
.Transactions {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 1rem;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.BlockButton {
|
||||||
|
background-color: darkorange;
|
||||||
|
border-color: darkorange;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Blocks {
|
||||||
|
display: inline-block;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,15 @@ import { Link } from 'react-router-dom'
|
||||||
|
|
||||||
const home = props => {
|
const home = props => {
|
||||||
|
|
||||||
|
const combinedClasses = ["btn", "btn-primary", classes.BlockButton]
|
||||||
return (
|
return (
|
||||||
<div className={classes.Home}>
|
<div className={classes.Home}>
|
||||||
<span>THIS IS A WIP</span>
|
<span className={classes.Greeting}>THIS IS A WIP</span>
|
||||||
<div className={classes.Transactions}>
|
<div className={classes.Transactions}>
|
||||||
<Link to="/transactions"><button>Transactions</button></Link>
|
<Link to="/transactions"><button className="btn btn-primary">Transactions</button></Link>
|
||||||
</div>
|
</div>
|
||||||
<div className={classes.Transactions}>
|
<div className={classes.Blocks}>
|
||||||
<Link to="/blocks"><button>Blocks</button></Link>
|
<Link to="/blocks"><button className={combinedClasses.join(" ")}>Blocks</button></Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue