summaryrefslogtreecommitdiffstats
path: root/src/app/(protected)/home.tsx
diff options
context:
space:
mode:
authorAlberto Duarte Delgado <alberto@albertoduarte.com>2026-03-30 15:55:32 +0100
committerAlberto Duarte Delgado <alberto@albertoduarte.com>2026-03-30 15:55:32 +0100
commit31584b4e5a3a551e2ceb15281a38677c39c46e12 (patch)
treeeae47ea7351aa47f25244b42d8d11b69ee9c9d4e /src/app/(protected)/home.tsx
parent6aede83b39f1050b7528b243278a85e5623856be (diff)
Offices logic
Diffstat (limited to 'src/app/(protected)/home.tsx')
-rw-r--r--src/app/(protected)/home.tsx50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/app/(protected)/home.tsx b/src/app/(protected)/home.tsx
deleted file mode 100644
index 76a5bda..0000000
--- a/src/app/(protected)/home.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import { Pressable, StyleSheet, Text, View } from 'react-native';
-import { useAuthSession } from '@/providers/AuthProvider';
-
-export default function HomeScreen() {
- const { user, logout } = useAuthSession();
-
- return (
- <View style={styles.container}>
- <Text style={styles.title}>Inicio</Text>
- <Text style={styles.subtitle}>
- Bienvenido{user?.displayName ? `, ${user.displayName}` : ''}
- </Text>
- <Text style={styles.email}>{user?.email}</Text>
-
- <Pressable style={styles.button} onPress={logout}>
- <Text style={styles.buttonText}>Cerrar sesión</Text>
- </Pressable>
- </View>
- );
-}
-
-const styles = StyleSheet.create({
- container: {
- flex: 1,
- justifyContent: 'center',
- padding: 24,
- gap: 12,
- },
- title: {
- fontSize: 28,
- fontWeight: '700',
- },
- subtitle: {
- fontSize: 18,
- },
- email: {
- color: '#555',
- marginBottom: 20,
- },
- button: {
- backgroundColor: '#c62828',
- paddingVertical: 14,
- borderRadius: 10,
- alignItems: 'center',
- },
- buttonText: {
- color: '#fff',
- fontWeight: '600',
- },
-});