From 1a8c2bf741337a63dc378f20e5f7ce27055b4f2d Mon Sep 17 00:00:00 2001 From: alma Date: Mon, 21 Apr 2025 10:15:09 +0200 Subject: [PATCH] Page rename --- components/carnet/navigation.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/components/carnet/navigation.tsx b/components/carnet/navigation.tsx index 6beb28f2..efeb29f9 100644 --- a/components/carnet/navigation.tsx +++ b/components/carnet/navigation.tsx @@ -8,7 +8,7 @@ interface NavigationProps { onFolderSelect: (folder: string) => void; } -type FolderType = 'Notes' | 'Diary' | 'Health' | 'Contacts'; +type FolderType = 'Bloc-notes' | 'Journal' | 'Carnet Santé' | 'Carnet d\'adresses'; interface FolderConfig { icon: LucideIcon; @@ -17,10 +17,10 @@ interface FolderConfig { // Define folder order and icons const FOLDER_CONFIG: Record = { - 'Notes': { icon: FileText, order: 1 }, - 'Diary': { icon: Calendar, order: 2 }, - 'Health': { icon: Heart, order: 3 }, - 'Contacts': { icon: Users, order: 4 } + 'Bloc-notes': { icon: FileText, order: 1 }, + 'Journal': { icon: Calendar, order: 2 }, + 'Carnet Santé': { icon: Heart, order: 3 }, + 'Carnet d\'adresses': { icon: Users, order: 4 } }; interface ContactFile { @@ -38,13 +38,13 @@ export default function Navigation({ nextcloudFolders, onFolderSelect }: Navigat const getFolderIcon = (folder: string) => { switch (folder) { - case 'Notes': + case 'Bloc-notes': return FileText; - case 'Diary': + case 'Journal': return Calendar; - case 'Health': + case 'Carnet Santé': return Heart; - case 'Contacts': + case 'Carnet d\'adresses': return Users; default: return FileText;