Jack Mallers
7 years ago
6 changed files with 91 additions and 5 deletions
@ -0,0 +1,34 @@ |
|||
import React, { Component } from 'react' |
|||
import PropTypes from 'prop-types' |
|||
import CurrencyIcon from 'components/CurrencyIcon' |
|||
import styles from './StepFour.scss' |
|||
|
|||
class StepFour extends Component { |
|||
render() { |
|||
const { node_key, local_amt, push_amt } = this.props |
|||
|
|||
return ( |
|||
<div className={styles.container}> |
|||
<div className={styles.nodekey}> |
|||
<h4>Node key</h4> |
|||
<h2>{node_key}</h2> |
|||
</div> |
|||
|
|||
<div className={styles.amounts}> |
|||
<div className={styles.localamt}> |
|||
<h4>Local Amount</h4> |
|||
<h3>{local_amt}</h3> |
|||
</div> |
|||
<div className={styles.pushamt}> |
|||
<h4>Push Amount</h4> |
|||
<h3>{push_amt}</h3> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
) |
|||
} |
|||
} |
|||
|
|||
StepFour.propTypes = {} |
|||
|
|||
export default StepFour |
@ -0,0 +1,36 @@ |
|||
@import '../../variables.scss'; |
|||
|
|||
.container { |
|||
padding: 50px; |
|||
|
|||
h4 { |
|||
text-transform: uppercase; |
|||
font-size: 14px; |
|||
margin-bottom: 10px; |
|||
} |
|||
|
|||
h3 { |
|||
text-align: center; |
|||
color: $main; |
|||
font-size: 50px; |
|||
} |
|||
} |
|||
|
|||
.nodekey { |
|||
margin-bottom: 50px; |
|||
padding: 20px; |
|||
border-bottom: 1px solid $main; |
|||
|
|||
h2 { |
|||
font-size: 12px; |
|||
font-weight: bold; |
|||
} |
|||
} |
|||
|
|||
.amounts { |
|||
display: flex; |
|||
flex-direction: row; |
|||
justify-content: space-around; |
|||
margin-bottom: 50px; |
|||
padding: 20px; |
|||
} |
Loading…
Reference in new issue