mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
replace all stylesheets with tailwind classes
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
import { Link, Stack } from 'expo-router';
|
||||
import { View } from 'react-native';
|
||||
|
||||
import { BoldText, RegularText } from '../components/ui/Text';
|
||||
import { StyledText, StyledView } from '../components/ui/Styled';
|
||||
|
||||
export default function NotFoundScreen() {
|
||||
return (
|
||||
<>
|
||||
<Stack.Screen options={{ title: 'Oops!' }} />
|
||||
<View className="flex-1 items-center justify-center p-5">
|
||||
<BoldText className="text-lg font-bold">
|
||||
<StyledView className="flex-1 items-center justify-center p-5">
|
||||
<StyledText className="text-lg font-bold">
|
||||
This screen doesn't exist.
|
||||
</BoldText>
|
||||
</StyledText>
|
||||
|
||||
<Link href="/" className="mt-4 py-4">
|
||||
<RegularText className="text-sm text-sky-500">
|
||||
<StyledText className="text-sm text-sky-500">
|
||||
Go to home screen!
|
||||
</RegularText>
|
||||
</StyledText>
|
||||
</Link>
|
||||
</View>
|
||||
</StyledView>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user