mirror of
https://github.com/SrIzan10/featheroom.git
synced 2026-06-06 00:56:49 +00:00
23 lines
586 B
TypeScript
23 lines
586 B
TypeScript
import { Link, Stack } from 'expo-router'
|
|
import React from 'react'
|
|
import { Surface, Text } from 'react-native-paper'
|
|
|
|
import Locales from '@/lib/locales'
|
|
import { styles } from '@/lib/ui'
|
|
|
|
const NotFound = () => (
|
|
<Surface style={styles.screen}>
|
|
<Stack.Screen options={{ title: Locales.t('titleNotFound') }} />
|
|
|
|
<Text variant="displayLarge">{Locales.t('titleNotFound')}</Text>
|
|
|
|
<Text variant="bodyLarge">{Locales.t('screen404')}</Text>
|
|
|
|
<Link href="/">
|
|
<Text variant="bodyLarge">{Locales.t('goHome')}</Text>
|
|
</Link>
|
|
</Surface>
|
|
)
|
|
|
|
export default NotFound
|