7fd27d8dc2
- écrans auth/dashboard/journal/info/urgence/profil refondus sur le design system - AppBar institutionnel République Française sur tous les écrans - partie admin (utilisateurs, contenus, émotions) avec AdminGuard - entrée Espace administration dans le profil (admins uniquement) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
754 B
TypeScript
21 lines
754 B
TypeScript
import { Stack } from 'expo-router';
|
|
import { Colors } from '@/lib/colors';
|
|
import { FontWeight } from '@/lib/theme';
|
|
|
|
export default function JournalLayout() {
|
|
return (
|
|
<Stack
|
|
screenOptions={{
|
|
headerStyle: { backgroundColor: Colors.white },
|
|
headerTitleStyle: { fontWeight: FontWeight.bold, color: Colors.black },
|
|
headerTintColor: Colors.primary,
|
|
}}
|
|
>
|
|
<Stack.Screen name="index" options={{ headerShown: false }} />
|
|
<Stack.Screen name="reports" options={{ headerShown: false }} />
|
|
<Stack.Screen name="new" options={{ title: 'Nouvelle saisie', presentation: 'modal' }} />
|
|
<Stack.Screen name="edit" options={{ title: 'Modifier la saisie', presentation: 'modal' }} />
|
|
</Stack>
|
|
);
|
|
}
|