diff --git a/squarenotsquare/src/screens/Home.js b/squarenotsquare/src/screens/Home.js index 9991e18..ba59372 100644 --- a/squarenotsquare/src/screens/Home.js +++ b/squarenotsquare/src/screens/Home.js @@ -2,13 +2,14 @@ import React from "react"; import { Text, View } from "react-native"; import { useState } from "react"; import { styles } from './styles/AppStyles'; +import { TouchableOpacity } from "react-native-gesture-handler"; function Home(props){ return ( - + Square {' not '} @@ -18,10 +19,17 @@ function Home(props){ - - - Loading... - + + + + Start + + + + + High Scores + + ) diff --git a/squarenotsquare/src/screens/styles/AppStyles.js b/squarenotsquare/src/screens/styles/AppStyles.js index e0b39bb..9ca9ad0 100644 --- a/squarenotsquare/src/screens/styles/AppStyles.js +++ b/squarenotsquare/src/screens/styles/AppStyles.js @@ -76,6 +76,10 @@ export const styles = StyleSheet.create({ backgroundColor: Colors.material.green400 }, + darkGreen: { + backgroundColor: Colors.material.green400dark + }, + splashLogo: { width: Metrics.images.splashLogo.width, height: Metrics.images.splashLogo.height @@ -83,5 +87,11 @@ export const styles = StyleSheet.create({ smallMargin: { margin: Metrics.margins.default + }, + + menuButton: { + borderRadius: Metrics.buttons.borderRadius, + width: Metrics.buttons.menuButton.width, + height: Metrics.buttons.menuButton.height } }) \ No newline at end of file diff --git a/squarenotsquare/src/themes/Metrics.js b/squarenotsquare/src/themes/Metrics.js index c7c08d1..3b9e926 100644 --- a/squarenotsquare/src/themes/Metrics.js +++ b/squarenotsquare/src/themes/Metrics.js @@ -42,6 +42,14 @@ class AppMetrics { this.margins = { default: this.normalize(5) } + + this.buttons = { + borderRadius: 10, + menuButton: { + height: this.normalize(30), + width: this.screenWidth * 0.7 + } + } } normalize(size){