Ramble-FE / app / +not-found.tsx
+not-found.tsx
Raw
import Constants from "expo-constants";
import Head from "expo-router/head";
import { Text, View } from "react-native";

export default function NotFound() {
    const appName = Constants.expoConfig?.name || 'App';

    return (
        <View
            style={{
                flex: 1,
                justifyContent: "center",
                alignItems: "center",
            }}
        >
            <Head>
                <title>{appName} - 404 Not Found</title>
            </Head>
            <Text>404 - Page Not Found</Text>
        </View>
    );
}