mirror of
https://github.com/hanzo-io/team.git
synced 2026-10-30 18:56:23 +00:00
26 lines
1009 B
TypeScript
26 lines
1009 B
TypeScript
import { Stack } from 'expo-router';
|
|
import { View } from 'react-native';
|
|
import { Text } from '@components/nativewindui/Text';
|
|
import AddSite from '@components/features/auth/AddSite';
|
|
import SitesList from '@components/features/auth/SitesList';
|
|
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
import CommonErrorBoundary from '@components/common/CommonErrorBoundary';
|
|
|
|
export default function LandingScreen() {
|
|
|
|
return (
|
|
<>
|
|
<Stack.Screen options={{ title: 'Sites', headerShown: false }} />
|
|
<SafeAreaView className='flex-1 bg-background'>
|
|
<View className='flex-1 justify-center h-screen pt-24 px-6 gap-3 bg-background'>
|
|
<Text className='text-5xl font-cal-sans text-foreground'>raven</Text>
|
|
<View className='h-2' />
|
|
<SitesList />
|
|
<AddSite />
|
|
</View>
|
|
</SafeAreaView>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export const ErrorBoundary = CommonErrorBoundary |