Files
pick-lunch/starter-pages-_404.tsx

40 lines
889 B
TypeScript

import { StyleSheet, Text, View } from 'react-native';
import { SafeAreaView } from '@granite-js/native/react-native-safe-area-context';
export default function NotFoundPage() {
return (
<SafeAreaView style={styles.safeArea}>
<View style={styles.container}>
<Text style={styles.title}>Page not found</Text>
<Text style={styles.description}>
.
</Text>
</View>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
safeArea: {
flex: 1,
backgroundColor: '#F4F7FB',
},
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
paddingHorizontal: 24,
},
title: {
color: '#111827',
fontSize: 24,
fontWeight: '700',
marginBottom: 8,
},
description: {
color: '#4B5563',
fontSize: 15,
textAlign: 'center',
},
});