-
- Mes Sessions
+
+ SWOT
/
{session.title}
diff --git a/src/app/sessions/page.tsx b/src/app/sessions/page.tsx
index 2369f7a..e77b157 100644
--- a/src/app/sessions/page.tsx
+++ b/src/app/sessions/page.tsx
@@ -1,10 +1,30 @@
+import { Suspense } from 'react';
import Link from 'next/link';
import { auth } from '@/lib/auth';
import { getSessionsByUserId } from '@/services/sessions';
import { getMotivatorSessionsByUserId } from '@/services/moving-motivators';
-import { Card, CardContent, Badge, Button } from '@/components/ui';
+import { Card, Button } from '@/components/ui';
import { WorkshopTabs } from './WorkshopTabs';
+function WorkshopTabsSkeleton() {
+ return (
+
+ {/* Tabs skeleton */}
+
+ {[...Array(4)].map((_, i) => (
+
+ ))}
+
+ {/* Cards skeleton */}
+
+ {[...Array(6)].map((_, i) => (
+
+ ))}
+
+
+ );
+}
+
export default async function SessionsPage() {
const session = await auth();
@@ -88,10 +108,12 @@ export default async function SessionsPage() {