feat: update Projects component with framer-motion variants and improve animations

refactor: modify layout to use ClientOnly and BackgroundBlobsClient components

fix: correct import statement for ActivityFeed in the main page

fix: enhance sitemap fetching logic with error handling and mock support

refactor: convert BackgroundBlobs to default export for consistency

refactor: simplify ErrorBoundary component and improve error handling UI

chore: update framer-motion to version 12.24.10 in package.json and package-lock.json

test: add minimal Prisma Client mock for testing purposes

feat: create BackgroundBlobsClient for dynamic import of BackgroundBlobs

feat: implement ClientOnly component to handle client-side rendering

feat: add custom error handling components for better user experience
This commit is contained in:
2026-01-08 01:39:17 +01:00
parent c5efd28383
commit e2c2585468
27 changed files with 730 additions and 942 deletions

20
app/global-error.tsx Normal file
View File

@@ -0,0 +1,20 @@
"use client";
export default function GlobalError({
error,
reset,
}: {
error: Error & { digest?: string };
reset: () => void;
}) {
return (
<html>
<body>
<div className="flex flex-col items-center justify-center h-screen gap-4">
<h2>Critical System Error</h2>
<button onClick={() => reset()}>Restart App</button>
</div>
</body>
</html>
);
}