| 1 | import { Link, Stack } from "expo-router"; |
| 2 | import { CircleHelp } from "lucide-react-native"; |
| 3 | |
| 4 | import { Empty, Screen, Text } from "@/components/ui"; |
| 5 | |
| 6 | export default function NotFound() { |
| 7 | return ( |
| 8 | <Screen safe> |
| 9 | <Stack.Screen options={{ headerShown: false }} /> |
| 10 | <Empty |
| 11 | icon={CircleHelp} |
| 12 | title="Nothing here" |
| 13 | body="The app has no screen for this link." |
| 14 | action={ |
| 15 | <Link href="/" replace> |
| 16 | <Text tone="accent">Go to Chat</Text> |
| 17 | </Link> |
| 18 | } |
| 19 | /> |
| 20 | </Screen> |
| 21 | ); |
| 22 | } |