diff --git a/app/[locale]/error.tsx b/app/[locale]/error.tsx index 263741341..3e0fbb304 100644 --- a/app/[locale]/error.tsx +++ b/app/[locale]/error.tsx @@ -5,7 +5,7 @@ import { useTranslations } from 'next-intl'; import { getAppServices } from '@/lib/services/create-services'; import { Button, Heading } from '@/components/ui'; import { Terminal, Activity, AlertTriangle, RefreshCw, Home, ShieldAlert } from 'lucide-react'; -import { motion } from 'framer-motion'; +import { m } from 'framer-motion'; export default function Error({ error, @@ -65,7 +65,7 @@ export default function Error({
{/* The "Broken" Machine Visual */}
- - - +
- +
diff --git a/app/[locale]/not-found.tsx b/app/[locale]/not-found.tsx index 4557bf857..a4d78aca0 100644 --- a/app/[locale]/not-found.tsx +++ b/app/[locale]/not-found.tsx @@ -4,7 +4,7 @@ import { useEffect } from 'react'; import { useTranslations } from 'next-intl'; import { Button, Heading } from '@/components/ui'; import { Terminal, Search, Home, Mail, Activity, Cpu } from 'lucide-react'; -import { motion } from 'framer-motion'; +import { m } from 'framer-motion'; import ClientNotFoundTracker from '@/components/analytics/ClientNotFoundTracker'; export default function NotFound() { @@ -46,7 +46,7 @@ export default function NotFound() {
{/* 404 Visual */}
- - - +
- +
diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index c17b420c9..56fd15d4f 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -13,7 +13,7 @@ const HomeCompetenceBentoGrid = nextDynamic(() => import('@/components/blocks/Co const HomeReferencesSlider = nextDynamic(() => import('@/components/blocks/ReferencesSlider').then(mod => mod.ReferencesSlider)); const FaqBlock = nextDynamic(() => import('@/components/blocks/FaqBlock').then(mod => mod.FaqBlock)); const CertificatesBlock = nextDynamic(() => import('@/components/blocks/CertificatesBlock').then(mod => mod.CertificatesBlock)); -const HeroSection = nextDynamic(() => import('@/components/blocks/HeroSection').then(mod => mod.HeroSection)); +import { HeroSection } from '@/components/blocks/HeroSection'; import JsonLd from '@/components/JsonLd'; import { Button } from '@/components/ui/Button'; diff --git a/app/[locale]/template.tsx b/app/[locale]/template.tsx index 4d690b91a..3a19653a4 100644 --- a/app/[locale]/template.tsx +++ b/app/[locale]/template.tsx @@ -1,10 +1,10 @@ 'use client'; -import { motion } from 'framer-motion'; +import { m } from 'framer-motion'; export default function Template({ children }: { children: React.ReactNode }) { return ( - {children} - + ); } diff --git a/package.json b/package.json index 3ffc7378f..172074eb5 100644 --- a/package.json +++ b/package.json @@ -138,7 +138,7 @@ "prepare": "husky", "preinstall": "npx only-allow pnpm" }, - "version": "2.2.47", + "version": "2.2.48", "pnpm": { "onlyBuiltDependencies": [ "@parcel/watcher",