Initial
This commit is contained in:
30
reactnative/app/index.js
Normal file
30
reactnative/app/index.js
Normal file
@@ -0,0 +1,30 @@
|
||||
import {StyleSheet,View, Text, Pressable} from 'react-native'
|
||||
import {Link} from "expo-router";
|
||||
|
||||
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text>Home</Text>
|
||||
<Link href="/time" asChild>
|
||||
<Pressable>
|
||||
<Text>Zeiten</Text>
|
||||
</Pressable>
|
||||
</Link>
|
||||
<Link href="/projects">Projekte</Link>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: '#fff',
|
||||
alignItems: "center",
|
||||
justifyContent: "center"
|
||||
}
|
||||
})
|
||||
|
||||
export default Home;
|
||||
Reference in New Issue
Block a user