mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 11:41:23 +02:00
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
24 lines
583 B
TypeScript
24 lines
583 B
TypeScript
import { Link, Stack } from 'expo-router';
|
|
import { Text } from 'react-native';
|
|
|
|
import { Container } from '~/components/Container';
|
|
|
|
export default function NotFoundScreen() {
|
|
return (
|
|
<>
|
|
<Stack.Screen options={{ title: 'Oops!' }} />
|
|
<Container>
|
|
<Text className={styles.title}>This screen doesn't exist.</Text>
|
|
<Link href="/" className={styles.link}>
|
|
<Text className={styles.linkText}>Go to home screen!</Text>
|
|
</Link>
|
|
</Container>
|
|
</>
|
|
);
|
|
}
|
|
|
|
const styles = {
|
|
title: `text-xl font-bold`,
|
|
link: `mt-4 pt-4`,
|
|
linkText: `text-base text-[#2e78b7]`,
|
|
};
|