diff --git a/README.md b/README.md index 48dd63f..6091e11 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,18 @@ In the output, you'll find options to open the app in a You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction). + +## Screen + +```mermaid + +Login --> Accuil +Accuil --> Profil +Accuil -> + +``` + + ## Get a fresh project When you're ready, run: diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx index 54e11d0..aeb4f8c 100644 --- a/app/(tabs)/_layout.tsx +++ b/app/(tabs)/_layout.tsx @@ -1,16 +1,22 @@ -import { Tabs } from 'expo-router'; +import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; +import { } from 'expo-router'; import React from 'react'; + import { HapticTab } from '@/components/haptic-tab'; import { IconSymbol } from '@/components/ui/icon-symbol'; import { Colors } from '@/constants/theme'; import { useColorScheme } from '@/hooks/use-color-scheme'; +import TabTwoScreen from './explore'; +import HomeScreen from './index'; + +const Tabs = createBottomTabNavigator(); export default function TabLayout() { const colorScheme = useColorScheme(); return ( - , @@ -29,7 +36,9 @@ export default function TabLayout() { title: 'Explore', tabBarIcon: ({ color }) => , }} - /> - + > + {() => } + + ); } diff --git a/app/(tabs)/login.tsx b/app/(tabs)/login.tsx new file mode 100644 index 0000000..e69de29