Skip to content

Commit b246459

Browse files
committed
feat(ui): styled basic skeloton for all screen
1 parent cad8a7b commit b246459

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

frontend/screens/auth/PhoneScreen.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ export default function PhoneScreen() {
6666
{loading ? 'Sending OTP...' : 'Continue'}
6767
</Text>
6868
</Pressable>
69+
<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+
6978
</View>
7079
</View>
7180
</SafeAreaView>
@@ -138,4 +147,19 @@ const styles = StyleSheet.create({
138147
fontSize: 16,
139148
fontWeight: '600',
140149
},
150+
loginInstead: {
151+
marginTop: 20,
152+
alignItems: 'center',
153+
},
154+
155+
loginText: {
156+
fontSize: 14,
157+
color: '#555',
158+
},
159+
160+
loginHighlight: {
161+
color: '#000',
162+
fontWeight: '600',
163+
},
164+
141165
});

frontend/screens/profile/ProfileScreen.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ import { View, Text, StyleSheet, Pressable } from 'react-native';
33
export default function ProfileScreen() {
44
return (
55
<View style={styles.container}>
6-
{/* Header */}
6+
77
<View style={styles.header}>
88
<Text style={styles.title}>Profile</Text>
99
</View>
1010

11-
{/* User info */}
1211
<View style={styles.userCard}>
1312
<View style={styles.avatar} />
1413
<View>
@@ -17,7 +16,6 @@ export default function ProfileScreen() {
1716
</View>
1817
</View>
1918

20-
{/* Actions */}
2119
<View style={styles.section}>
2220
<Pressable style={styles.row}>
2321
<Text style={styles.rowText}>Edit Profile</Text>

0 commit comments

Comments
 (0)