basic camera functionality as well as framework for express nodejs backend
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
import { Link, Stack } from 'expo-router';
|
||||
import { StyleSheet } from 'react-native';
|
||||
|
||||
import { ThemedText } from '@/components/ThemedText';
|
||||
import { ThemedView } from '@/components/ThemedView';
|
||||
import { StyleSheet, View } from 'react-native';
|
||||
|
||||
export default function NotFoundScreen() {
|
||||
return (
|
||||
<>
|
||||
<Stack.Screen options={{ title: 'Oops!' }} />
|
||||
<ThemedView style={styles.container}>
|
||||
<ThemedText type="title">This screen does not exist.</ThemedText>
|
||||
<Link href="/" style={styles.link}>
|
||||
<ThemedText type="link">Go to home screen!</ThemedText>
|
||||
<Stack.Screen options={{ headerShown: false }} />
|
||||
<View style={styles.container}>
|
||||
<Link href="./" style={styles.button}>
|
||||
Go back to Home screen!
|
||||
</Link>
|
||||
</ThemedView>
|
||||
</View>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -21,12 +17,14 @@ export default function NotFoundScreen() {
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
alignItems: 'center',
|
||||
backgroundColor: '#25292e',
|
||||
justifyContent: 'center',
|
||||
padding: 20,
|
||||
alignItems: 'center',
|
||||
},
|
||||
link: {
|
||||
marginTop: 15,
|
||||
paddingVertical: 15,
|
||||
|
||||
button: {
|
||||
fontSize: 20,
|
||||
textDecorationLine: 'underline',
|
||||
color: '#fff',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user