summaryrefslogtreecommitdiffstats
path: root/src/app/(auth)
diff options
context:
space:
mode:
authorAlberto Duarte Delgado <alberto@albertoduarte.com>2026-04-21 12:22:35 +0100
committerAlberto Duarte Delgado <alberto@albertoduarte.com>2026-04-21 12:22:35 +0100
commitc685ee8dd304b53c54b3661c2dc96f470af25737 (patch)
tree914e00f27263292a9d611d4c3ac08828d2151a16 /src/app/(auth)
parentbe90a5f202f80bb423c6e0aaf1c4d5feca668f01 (diff)
feat(offices): restaurar filtro de favoritos fixes #14
Diffstat (limited to 'src/app/(auth)')
-rw-r--r--src/app/(auth)/_layout.tsx2
-rw-r--r--src/app/(auth)/login.tsx21
-rw-r--r--src/app/(auth)/register.tsx21
3 files changed, 43 insertions, 1 deletions
diff --git a/src/app/(auth)/_layout.tsx b/src/app/(auth)/_layout.tsx
index 1fa69af..14383a2 100644
--- a/src/app/(auth)/_layout.tsx
+++ b/src/app/(auth)/_layout.tsx
@@ -20,7 +20,7 @@ export default function AuthLayout() {
}
if (user) {
- return <Redirect href="/(protected)/home" />;
+ return <Redirect href="/home" />;
}
return <Stack screenOptions={{ headerShown: false }} />;
diff --git a/src/app/(auth)/login.tsx b/src/app/(auth)/login.tsx
index 8dbac8b..9a3dfe0 100644
--- a/src/app/(auth)/login.tsx
+++ b/src/app/(auth)/login.tsx
@@ -185,6 +185,27 @@ const styles = StyleSheet.create({
color: colors.text,
},
+ inputWrapper: {
+ flexDirection: 'row',
+ alignItems: 'center',
+ borderWidth: 1,
+ borderColor: colors.border,
+ borderRadius: radius.md,
+ backgroundColor: colors.background,
+ },
+
+ inputWithIcon: {
+ flex: 1,
+ paddingHorizontal: spacing.lg,
+ paddingVertical: spacing.md,
+ color: colors.text,
+ },
+
+ iconButton: {
+ paddingHorizontal: spacing.lg,
+ paddingVertical: spacing.md,
+ },
+
// texto de recuperar contraseƱa
forgotPassword: {
fontSize: typography.sm,
diff --git a/src/app/(auth)/register.tsx b/src/app/(auth)/register.tsx
index 902c752..7040189 100644
--- a/src/app/(auth)/register.tsx
+++ b/src/app/(auth)/register.tsx
@@ -235,6 +235,27 @@ const styles = StyleSheet.create({
color: colors.text,
},
+ inputWrapper: {
+ flexDirection: 'row',
+ alignItems: 'center',
+ borderWidth: 1,
+ borderColor: colors.border,
+ borderRadius: radius.md,
+ backgroundColor: colors.background,
+ },
+
+ inputWithIcon: {
+ flex: 1,
+ paddingHorizontal: spacing.lg,
+ paddingVertical: spacing.md,
+ color: colors.text,
+ },
+
+ iconButton: {
+ paddingHorizontal: spacing.lg,
+ paddingVertical: spacing.md,
+ },
+
// boton principal
button: {
backgroundColor: colors.primary,