summaryrefslogtreecommitdiffstats
path: root/modules/Home.js
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-04-01 17:44:58 +0200
committerMaksymilian Jopek <maks@jopek.eu>2023-04-01 17:51:16 +0200
commiteb25480919c73af5c02771c6124494f415f7a063 (patch)
tree8ede26ac1764ce115894fa7b375d2a617bd9d33a /modules/Home.js
parentbb1eb5012dfee08024c0dbfe071af8c28f8cace6 (diff)
downloadgeo-app-eb25480919c73af5c02771c6124494f415f7a063.tar.gz
geo-app-eb25480919c73af5c02771c6124494f415f7a063.tar.zst
geo-app-eb25480919c73af5c02771c6124494f415f7a063.zip
Working appHEADmaster
Diffstat (limited to 'modules/Home.js')
-rw-r--r--modules/Home.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/Home.js b/modules/Home.js
new file mode 100644
index 0000000..aec9bf6
--- /dev/null
+++ b/modules/Home.js
@@ -0,0 +1,37 @@
+import * as React from 'react';
+import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
+
+export default function Home(props) {
+ return (
+ <View style={styles.cont}>
+ <TouchableOpacity style={styles.btn} onPress={() => props.navigation.navigate("main")}><Text style={styles.h1}>Geo App</Text></TouchableOpacity>
+ <Text style={styles.span}>Find and save your position</Text>
+ <Text style={styles.span}>Use map</Text>
+ </View>
+ )
+}
+
+const styles = StyleSheet.create({
+ cont: {
+ flexDirection: "column",
+ marginTop: 10,
+ paddingTop: 10,
+ backgroundColor: "#3D54BB",
+ justifyContent: "center",
+ alignItems: "center",
+ height: "100%",
+ },
+ btn: {
+ margin: 15,
+ },
+ h1: {
+ color: "white",
+ fontSize: 60,
+ fontWeight: "bold",
+ },
+ span: {
+ color: "white",
+ fontSize: 22,
+ }
+})
+