diff options
| author | soryu <soryu@soryu.co> | 2026-01-18 02:58:27 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-18 02:58:27 +0000 |
| commit | fcf9e70d54bd737d2dea848d25314120f37db503 (patch) | |
| tree | bc304a9e153485f7686830614b2ddae4d4ff182e /apps/mobile/app/(auth)/_layout.tsx | |
| parent | f84a7f2d820f6f432be2b1d78d6bf833b5b19380 (diff) | |
| download | soryu-fcf9e70d54bd737d2dea848d25314120f37db503.tar.gz soryu-fcf9e70d54bd737d2dea848d25314120f37db503.zip | |
[WIP] Heartbeat checkpoint - 2026-01-18 02:58:27 UTC
Diffstat (limited to 'apps/mobile/app/(auth)/_layout.tsx')
| -rw-r--r-- | apps/mobile/app/(auth)/_layout.tsx | 31 |
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> + ); +} |
