Skip to content

Commit 985d2fe

Browse files
committed
feat(ui): styled basic skeleton for all screen
1 parent b246459 commit 985d2fe

2 files changed

Lines changed: 19 additions & 21 deletions

File tree

frontend/screens/auth/PhoneScreen.tsx

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ export default function PhoneScreen() {
6767
</Text>
6868
</Pressable>
6969
<Pressable
70-
onPress={() => router.push('/(auth)/login')}
71-
style={styles.loginInstead}
72-
>
73-
<Text style={styles.loginText}>
74-
Already have an account? <Text style={styles.loginHighlight}>Login instead</Text>
75-
</Text>
76-
</Pressable>
77-
70+
onPress={() => router.push('/(auth)/login')}
71+
style={styles.loginInstead}
72+
>
73+
<Text style={styles.loginText}>
74+
Already have an account?{' '}
75+
<Text style={styles.loginHighlight}>Login instead</Text>
76+
</Text>
77+
</Pressable>
7878
</View>
7979
</View>
8080
</SafeAreaView>
@@ -148,18 +148,17 @@ const styles = StyleSheet.create({
148148
fontWeight: '600',
149149
},
150150
loginInstead: {
151-
marginTop: 20,
152-
alignItems: 'center',
153-
},
154-
155-
loginText: {
156-
fontSize: 14,
157-
color: '#555',
158-
},
151+
marginTop: 20,
152+
alignItems: 'center',
153+
},
159154

160-
loginHighlight: {
161-
color: '#000',
162-
fontWeight: '600',
163-
},
155+
loginText: {
156+
fontSize: 14,
157+
color: '#555',
158+
},
164159

160+
loginHighlight: {
161+
color: '#000',
162+
fontWeight: '600',
163+
},
165164
});

frontend/screens/profile/ProfileScreen.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { View, Text, StyleSheet, Pressable } from 'react-native';
33
export default function ProfileScreen() {
44
return (
55
<View style={styles.container}>
6-
76
<View style={styles.header}>
87
<Text style={styles.title}>Profile</Text>
98
</View>

0 commit comments

Comments
 (0)