import { Link } from 'expo-router'; import { Pressable, StyleSheet, Text, View } from 'react-native'; import { useAuthSession } from '@/providers/AuthProvider'; export default function HomeScreen() { const { user } = useAuthSession(); return ( Inicio Bienvenido{user?.displayName ? `, ${user.displayName}` : ''} {user?.email} Ver espacios Mis reservas Ir a perfil ); } const styles = StyleSheet.create({ container: { flex: 1, padding: 16, justifyContent: 'center', gap: 12, }, title: { fontSize: 30, fontWeight: '700', }, subtitle: { fontSize: 18, }, email: { color: '#666', marginBottom: 20, }, actions: { gap: 12, }, button: { backgroundColor: '#1f6feb', paddingVertical: 14, borderRadius: 10, alignItems: 'center', }, secondaryButton: { backgroundColor: '#555', paddingVertical: 14, borderRadius: 10, alignItems: 'center', }, buttonText: { color: '#fff', fontWeight: '600', }, });