initial
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
// Landing / Login screen.
|
||||
//
|
||||
// Milestone 1 TODO:
|
||||
// - Show app logo + "Enter your email" field.
|
||||
// - On submit, call shared/auth requestMagicLink(email).
|
||||
// - Handle deep link return in app/_layout.tsx (or a dedicated auth callback route).
|
||||
|
||||
import { StyleSheet, Text, View } from 'react-native';
|
||||
|
||||
export default function Landing() {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.title}>ChatApp</Text>
|
||||
<Text style={styles.subtitle}>Login placeholder — magic link flow goes here.</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
backgroundColor: '#0b0b0f',
|
||||
padding: 24,
|
||||
},
|
||||
title: { color: '#fff', fontSize: 28, fontWeight: '600' },
|
||||
subtitle: { color: '#9ca3af', marginTop: 8, textAlign: 'center' },
|
||||
});
|
||||
Reference in New Issue
Block a user