feat: Implement initial admin and mobile application UI, including styling, layouts, authentication, and legal page components.

This commit is contained in:
Timo Knuth
2026-03-03 16:54:11 +01:00
parent 59f3efaaed
commit b7d826e29c
15 changed files with 265 additions and 33 deletions

View File

@@ -4,6 +4,8 @@ import { Stack, SplashScreen } from 'expo-router'
import { useAuthStore } from '@/store/auth.store'
import { TRPCProvider } from '@/lib/trpc'
import { LoadingScreen } from '@/components/ui/LoadingScreen'
SplashScreen.preventAutoHideAsync()
export default function RootLayout() {
@@ -14,7 +16,7 @@ export default function RootLayout() {
initAuth().finally(() => SplashScreen.hideAsync())
}, [initAuth])
if (!isInitialized) return null
if (!isInitialized) return <LoadingScreen />
return (
<TRPCProvider>