diff --git a/src/app/libraries/[libraryId]/ClientLibraryPage.tsx b/src/app/libraries/[libraryId]/ClientLibraryPage.tsx index b0c8a85..92655a3 100644 --- a/src/app/libraries/[libraryId]/ClientLibraryPage.tsx +++ b/src/app/libraries/[libraryId]/ClientLibraryPage.tsx @@ -151,15 +151,43 @@ export function ClientLibraryPage({ if (loading) { return ( -
- - + {/* Section header avec titre + actions */} +
+
+ +
+ + +
+
-
+ + {/* Filters */} +
+
+
+ +
+
+ + + +
+
+
+ + {/* Grid */} +
{Array.from({ length: effectivePageSize }).map((_, i) => ( - + ))}
+ + {/* Pagination */} +
+ + +
); } diff --git a/src/app/libraries/[libraryId]/loading.tsx b/src/app/libraries/[libraryId]/loading.tsx deleted file mode 100644 index 949662a..0000000 --- a/src/app/libraries/[libraryId]/loading.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { OptimizedSkeleton } from "@/components/skeletons/OptimizedSkeletons"; - -export default function LibraryLoading() { - return ( -
- {/* Header avec titre + compteur + refresh */} -
- -
- - -
-
- - {/* Filters section */} -
-
-
-
- -
-
- - - -
-
-
- - {/* Grid */} -
- {Array.from({ length: 20 }).map((_, i) => ( - - ))} -
- - {/* Pagination */} -
- - -
-
-
- ); -} - diff --git a/src/styles/globals.css b/src/styles/globals.css index ab98bc4..e7a0370 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -68,7 +68,7 @@ body { --secondary: 217.2 32.6% 17.5%; --secondary-foreground: 210 40% 98%; - --muted: 217.2 32.6% 17.5%; + --muted: 217.2 32.6% 25%; --muted-foreground: 215 20.2% 65.1%; --accent: 217.2 32.6% 17.5%;