import React from 'react'; import { View, Text, StyleSheet, TouchableOpacity, } from 'react-native'; import { useRouter } from 'expo-router'; import { Colors } from '../../constants/Colors'; import Header from '../../components/navigation/Header'; export default function NotFoundScreen() { const router = useRouter(); return (
😕 404 The page you're looking for doesn't exist. router.back()} > Go Back router.replace('/(tabs)/home')} > Go to Home ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: Colors.background, }, content: { flex: 1, justifyContent: 'center', alignItems: 'center', padding: 32, }, emoji: { fontSize: 64, marginBottom: 24, }, title: { fontSize: 48, fontWeight: 'bold', color: Colors.text, marginBottom: 16, }, message: { fontSize: 16, color: Colors.textSecondary, textAlign: 'center', marginBottom: 32, }, button: { backgroundColor: Colors.accent, borderRadius: 8, padding: 16, alignItems: 'center', width: '100%', marginBottom: 12, }, buttonText: { color: Colors.text, fontSize: 16, fontWeight: '600', }, secondaryButton: { backgroundColor: Colors.surface, borderWidth: 1, borderColor: Colors.border, }, secondaryButtonText: { color: Colors.text, }, });