1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/app/(pages)/index.tsx

30 lines
620 B
TypeScript

import { StatusBar } from "expo-status-bar"
import { StyleSheet, Text } from "react-native"
import { SafeAreaView } from "react-native-safe-area-context"
const HomePage: React.FC = () => {
return (
<SafeAreaView style={styles.container}>
<Text style={styles.title}>P61 Project</Text>
<StatusBar style="auto" />
</SafeAreaView>
)
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: "center",
justifyContent: "center",
},
title: {
fontFamily: "Canterbury",
fontSize: 36,
color: "#006CFF",
marginVertical: 20,
},
})
export default HomePage