diff --git a/components/carnet/navigation.tsx b/components/carnet/navigation.tsx index d6ed16f4..3e770720 100644 --- a/components/carnet/navigation.tsx +++ b/components/carnet/navigation.tsx @@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react'; import { Search, BookOpen, Tag, Trash2, Star, Archive, X, Folder, FileText, Calendar, Heart, Users, LucideIcon, ChevronRight } from 'lucide-react'; +import { Card } from '@/components/ui/card'; interface NavigationProps { nextcloudFolders: string[]; @@ -163,31 +164,33 @@ export default function Navigation({ nextcloudFolders, onFolderSelect }: Navigat return (
- {/* Search */} -
-
- - PAGES + + {/* Search */} +
+
+ + PAGES +
+
+ setSearchQuery(e.target.value)} + placeholder="Recherche..." + className="w-full pl-8 pr-4 py-1.5 bg-white border border-carnet-border rounded-md text-sm text-carnet-text-primary placeholder-carnet-text-muted focus:outline-none focus:ring-1 focus:ring-primary" + /> + + {searchQuery && ( + + )} +
-
- setSearchQuery(e.target.value)} - placeholder="Recherche..." - className="w-full pl-8 pr-4 py-1.5 bg-white border border-carnet-border rounded-md text-sm text-carnet-text-primary placeholder-carnet-text-muted focus:outline-none focus:ring-1 focus:ring-primary" - /> - - {searchQuery && ( - - )} -
-
+ {/* Folders */}