summaryrefslogtreecommitdiff
path: root/apps/mobile/app/(auth)/_layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mobile/app/(auth)/_layout.tsx')
-rw-r--r--apps/mobile/app/(auth)/_layout.tsx31
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/mobile/app/(auth)/_layout.tsx b/apps/mobile/app/(auth)/_layout.tsx
new file mode 100644
index 0000000..1def062
--- /dev/null
+++ b/apps/mobile/app/(auth)/_layout.tsx
@@ -0,0 +1,31 @@
+import { Stack } from 'expo-router';
+import { useColorScheme } from 'react-native';
+import { Colors } from '../../constants/Colors';
+
+/**
+ * Auth group layout
+ * Provides stack navigation for authentication screens
+ */
+export default function AuthLayout() {
+ const colorScheme = useColorScheme() ?? 'dark';
+ const colors = Colors[colorScheme];
+
+ return (
+ <Stack
+ screenOptions={{
+ headerShown: false,
+ contentStyle: {
+ backgroundColor: colors.background,
+ },
+ animation: 'fade',
+ }}
+ >
+ <Stack.Screen
+ name="login"
+ options={{
+ title: 'Sign In',
+ }}
+ />
+ </Stack>
+ );
+}