bonjour -> ouvriers

This commit is contained in:
trochas
2025-12-11 16:32:53 +01:00
parent 89c50827f8
commit 2be434e2cf
10 changed files with 90 additions and 81 deletions

View File

@@ -7,11 +7,13 @@ 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 BonjourScreen from './bonjourFL';
import AddChantier from './addChantier';
import GestionOuvrier from './gestion_ouvrier';
import ListMateriel from './gestionnaire_ressource';
import Home from './home';
import MapScreen from './mapScreen';
import AntDesign from '@expo/vector-icons/AntDesign';
const Tabs = createBottomTabNavigator();
@@ -48,10 +50,10 @@ export default function TabLayout() {
}}
/>
<Tabs.Screen
name="bonjourFL"
component={BonjourScreen}
name="gestionnaire_ouvrier"
component={GestionOuvrier}
options={{
title: 'Bonjour',
title: 'Ouvriers',
tabBarIcon: ({ color }) => <IconSymbol size={28} name="person.fill" color={color} />,
}}
/>
@@ -65,13 +67,11 @@ export default function TabLayout() {
>
</Tabs.Screen>
<Tabs.Screen
name="ajouterChantier"
component={ListMateriel}
name="addChantier"
component={AddChantier}
options={{
title: 'Ajouter',
tabBarIcon: ({ color }) => (
<AntDesign name="plus" size={24} color="black" />
),
tabBarIcon: ({ color }) => (<AntDesign name="plus" size={28} color={color} />),
}}
/>