feat: integrate mobile template with backend, add /mobile path routing and Todo dashboard

This commit is contained in:
Plena Finance Dev
2026-07-09 11:36:45 +05:30
parent 420b803cc0
commit 1a5028b8f3
20 changed files with 1021 additions and 0 deletions

20
mobile/app/_layout.tsx Normal file
View File

@@ -0,0 +1,20 @@
import { Stack } from 'expo-router';
import { StatusBar } from 'expo-status-bar';
import { GestureHandlerRootView } from 'react-native-gesture-handler';
import { Toaster } from 'sonner-native';
import { useFrameworkReady } from '@/hooks/useFrameworkReady';
export default function RootLayout() {
useFrameworkReady(); // Assuming this handles side effects
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<Stack screenOptions={{ headerShown: false }}>
<Stack.Screen name="(tabs)" />
<Stack.Screen name="+not-found" options={{ headerShown: false }} />
</Stack>
<StatusBar style="auto" />
<Toaster theme="light" />
</GestureHandlerRootView>
);
}