diff --git a/components/home.js b/components/home.js index 8f794f4..73e9591 100644 --- a/components/home.js +++ b/components/home.js @@ -14,6 +14,19 @@ import styles from '../styles' import AppText, { AppTextLight } from './app-text' import nothingChanged from '../db/db-unchanged' +const HomeButton = ({ backgroundColor, children }) => { + return ( + + + {children} + + + ) +} + export default class Home extends Component { constructor(props) { super(props) @@ -92,14 +105,11 @@ export default class Home extends Component { { this.state.showMore && {cycleDayMoreText} } - - - {labels.editToday} - - + + + {labels.editToday} + + } - - - {labels.trackPeriod} - - + + + {labels.trackPeriod} + + this.props.navigate('Chart')} style={styles.homeIconElement} > - + + + + {this.state.phase ? this.state.phase.toString() @@ -153,14 +163,10 @@ export default class Home extends Component { {this.state.statusText} } - - - {labels.checkFertility} - - + + + {labels.checkFertility} + diff --git a/styles/index.js b/styles/index.js index 59360e6..05489a5 100644 --- a/styles/index.js +++ b/styles/index.js @@ -100,13 +100,17 @@ export default StyleSheet.create({ marginBottom: 10, }, wrapperCycle: { - width: 70, - height: 75 + width: 80, + height: 77 }, wrapperDrop: { + width: 81, + height: 85, + marginTop: 20 + }, + wrapperCircle: { width: 80, height: 80, - marginTop: 20 }, homeCircle: { borderRadius: 100,