This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
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