4f54340e89
Backend: - table audits réellement alimentée via trait Auditable (observers Eloquent) sur Utilisateur, SaisieTracker, Feed, Emotion ; mot de passe jamais loggé - 4 nouveaux tests (19/19 au total) Frontend web: - en-tête/pied République Française ajoutés aux pages connexion/inscription - bouton variant danger réellement rouge (tokens erreur DSFR) Mobile: - ~30 libellés ré-accentués (Intensité, Succès, Déconnexion, Répartition...) - Colors.secondary = rouge Marianne #E1000F (différenciation cartes/icônes) - vrai camembert SVG des rapports (react-native-svg) Docs: plans oraux mis à jour (audits actif, 29 tests, stockage JWT en Q/R) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
63 lines
1.7 KiB
TypeScript
63 lines
1.7 KiB
TypeScript
import { Tabs } from 'expo-router';
|
|
import { Ionicons } from '@expo/vector-icons';
|
|
import { Colors } from '@/lib/colors';
|
|
|
|
export default function TabLayout() {
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
tabBarActiveTintColor: Colors.primary,
|
|
tabBarInactiveTintColor: Colors.gray[400],
|
|
tabBarStyle: {
|
|
backgroundColor: Colors.white,
|
|
borderTopColor: Colors.gray[200],
|
|
paddingBottom: 8,
|
|
paddingTop: 8,
|
|
height: 65,
|
|
},
|
|
headerStyle: { backgroundColor: Colors.white },
|
|
headerTitleStyle: { fontWeight: '700', color: Colors.black },
|
|
}}
|
|
>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
title: 'Accueil',
|
|
headerShown: false,
|
|
tabBarIcon: ({ color, size }) => <Ionicons name="home" size={size} color={color} />,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="journal"
|
|
options={{
|
|
title: 'Journal',
|
|
headerShown: false,
|
|
tabBarIcon: ({ color, size }) => <Ionicons name="book" size={size} color={color} />,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="info"
|
|
options={{
|
|
title: 'Infos',
|
|
headerShown: false,
|
|
tabBarIcon: ({ color, size }) => <Ionicons name="information-circle" size={size} color={color} />,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="urgence"
|
|
options={{
|
|
title: 'Urgence',
|
|
tabBarIcon: ({ color, size }) => <Ionicons name="call" size={size} color={color} />,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="profile"
|
|
options={{
|
|
title: 'Profil',
|
|
tabBarIcon: ({ color, size }) => <Ionicons name="person" size={size} color={color} />,
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|