Skip to content

Commit 37e01e9

Browse files
committed
make login screen more friendly :)
1 parent 0a6bc60 commit 37e01e9

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

packages/auth/src/screens/SignInScreen.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
import React from 'react';
22
import {StyleSheet, View} from 'react-native';
3-
import {Button} from 'react-native-paper';
3+
import {Button, MD3Colors, Text} from 'react-native-paper';
44
import {useAuth} from '../contexts/AuthContext';
55

66
const SignInScreen = () => {
77
const {signIn} = useAuth();
88

99
return (
1010
<View style={styles.container}>
11+
<Text variant="headlineMedium" style={styles.welcomeHeadline}>Welcome!</Text>
12+
<Text style={styles.welcomeText} variant="bodyLarge">
13+
This is a dummy login screen. Just press the button and have a look
14+
around this super app 🚀
15+
</Text>
1116
<Button mode="contained" onPress={signIn}>
1217
Login
1318
</Button>
@@ -22,6 +27,13 @@ const styles = StyleSheet.create({
2227
justifyContent: 'center',
2328
alignItems: 'center',
2429
},
30+
welcomeHeadline: {
31+
color: MD3Colors.primary20,
32+
},
33+
welcomeText: {
34+
padding: 16,
35+
paddingBottom: 32,
36+
},
2537
});
2638

2739
export default SignInScreen;

0 commit comments

Comments
 (0)