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

View File

@@ -1,7 +1,7 @@
"use client";
import { useState, useEffect } from "react";
import { motion } from "framer-motion";
import { motion, Variants } from "framer-motion";
import {
ExternalLink,
Github,
@@ -12,22 +12,19 @@ import {
import Link from "next/link";
import Image from "next/image";
// Smooth animation configuration
const smoothTransition = {
duration: 0.8,
ease: [0.25, 0.1, 0.25, 1],
};
const fadeInUp = {
const fadeInUp: Variants = {
hidden: { opacity: 0, y: 40 },
visible: {
opacity: 1,
y: 0,
transition: smoothTransition,
transition: {
duration: 0.8,
ease: [0.25, 0.1, 0.25, 1],
},
},
};
const staggerContainer = {
const staggerContainer: Variants = {
hidden: { opacity: 0 },
visible: {
opacity: 1,