diff --git a/App.tsx b/App.tsx index 6eb8b73..d8fa01c 100644 --- a/App.tsx +++ b/App.tsx @@ -2,10 +2,10 @@ import { StatusBar } from 'react-native'; import { useFonts, Roboto_400Regular, Roboto_700Bold } from '@expo-google-fonts/roboto'; import { GluestackUIProvider } from '@gluestack-ui/themed'; -import { Loading } from '@components/Loading'; - import { config } from './config/gluestack-ui.config'; -import { SignIn } from '@screens/SignIn'; + +import { Loading } from '@components/Loading'; +import { Routes } from '@routes/index'; export default function App() { const [fontsLoaded] = useFonts({ @@ -16,7 +16,7 @@ export default function App() { return ( {fontsLoaded ? ( - + ) : ( )} diff --git a/src/routes/auth.routes.tsx b/src/routes/auth.routes.tsx index 0431efc..484c5ef 100644 --- a/src/routes/auth.routes.tsx +++ b/src/routes/auth.routes.tsx @@ -14,7 +14,7 @@ const { Navigator, Screen } = createNativeStackNavigator(); export function AuthRoutes() { return ( - + diff --git a/src/routes/index.tsx b/src/routes/index.tsx new file mode 100644 index 0000000..41f25d1 --- /dev/null +++ b/src/routes/index.tsx @@ -0,0 +1,12 @@ +import { NavigationContainer } from "@react-navigation/native"; + +import { AuthRoutes } from "./auth.routes"; + +export function Routes() { + return ( + + + + ) +} +